Monday, March 14, 2011

Exchange 2010 en Dynamic Memory

Dynamic Memory is een nieuwe feature van Hyper-V, nieuw sinds Service Pack 1 voor Windows Server 2008 R2. Dynamic Memory zorgt er voor dat je een virtuele machine een kleinere hoeveelheid startgeheugen kunt geven, waarna Hyper-V er voor zorgt dat een VM die het nodig heeft wat meer geheugen toegewezen krijgt. Door het beheer verder aan Hyper-V over te laten kan het geheugen efficiĆ«nter verdeeld worden waardoor je meer VM’s op de server kunt draaien.

Klinkt goed, of niet? Als je het aan mij vraagt wel, ik zie dat het voor veel workloads mogelijk is om (veel) minder geheugen te gebruiken. Maar werkt het ook voor Exchange? Het werkt wel, al zul je bij de mailbox rol al snel zien dat hij graag de maximale hoeveelheid geheugen zal willen gebruiken om gegevens in te cachen. Maar belangrijker is dat het niet aanbevolen wordt door Microsoft. Zie voor meer informatie de Exchange 2010 System Requirements onder het kopje Hardware Virtualization:

Exchange Server Memory Requirements and Recommendations

Some hypervisors have the ability to oversubscribe or dynamically adjust the amount of memory available to a specific guest machine based on the perceived utilization of memory in the guest machine as compared to the needs of other guest machines managed by the same hypervisor. This technology makes sense for workloads in which memory is needed for brief periods of time and then can be surrendered for other uses. However, it doesn't make sense for workloads that are designed to use memory on an ongoing basis. Exchange, like many server applications with optimizations for performance that involve caching of data in memory, is susceptible to poor system performance and an unacceptable client experience if it doesn't have full control over the memory allocated to the physical or virtual machine on which it is running.

Many of the performance gains in recent versions of Exchange, especially those related to reduction in I/O, are based on highly efficient usage of large amounts of memory. When that memory is no longer available, the expected performance of the system can't be achieved. For this reason, memory oversubscription or dynamic adjustment of virtual machine memory should be disabled for production Exchange servers.

En passant wordt ook nog even ‘die andere hypervisor’ aangestipt, ook VMware heeft een aantal technieken in huis om geheugen weg te halen bij VM’s die het even niet nodig heeft. Ook die moet je dus niet inschakelen voor een VM met Exchange Server.

No comments: