While the information around Windows Server 2008 R2 SP1 is well publicized and known, I thought I would provide some relevant links to learn more about what Dynamic Memory is and to see it in action.

Vijay Demos Dynamic Memory in Hyper-V on Windows Server 2008 R2 SP1
One of the very cool new features coming in Windows Server 2008 R2 SP1 is dynamic memory provisioning for virtual machines. In this interview, Vijay Tewari explains how this model works, and gave me a demo of it in action.

Janique Carbone: Using Dynamic Memory in Hyper-V R2 SP1


Tuning Windows 2008 R2 SP1 dynamic memory for best performance
Here are some highlights from this blog post:

Tuning dynamic memory for best performance
If you enable dynamic memory on a virtual machine and are not satisfied with the performance that you receive from the virtual machine, there are multiple configuration changes that you can make to potentially improve performance:

  • Increase the size of the page file inside the guest operating system.
    A larger page file inside the virtual machine allows larger amounts of memory to be added to the running virtual machine if it is needed suddenly.  It also lets the virtual machine run better when the availability of physical memory is limited.
  • Increase the memory buffer configured for the virtual machine.
    Increasing the memory buffer will result in more memory being assigned to the virtual machine when compared to the amount of memory actually needed by the applications and services running inside the virtual machine.  This extra memory can then be used for file caching purposes, and may help with the performance of IO intensive applications and services.
  • Increase the initial memory for the virtual machine.
    Some applications assign fixed amounts of memory based on the amount of memory available when the application first starts.  These applications will perform better with higher values for the initial memory.
    Alternatively, if you are seeing poor performance due to too much memory being removed from the virtual machine, increasing the initial memory value can also alleviate this problem.
    It should be noted that by increasing the initial memory value, the overall flexibility and effectiveness of dynamic memory is reduced.

Msvm_MemorySettingData Class
Represents the configured state of the memory for a virtual system and is a good reference resource.