Q. How can I set the amount of memory reserved for the Hyper-V parent partition with Windows Server 2008 R2 SP1's dynamic memory?
August 3, 2010
A. There have always been some configurations to reserve a certain amount of memory for the parent partition, but the settings weren't always honored, leading to possible parent partition memory starvation. This memory shortage is especially a problem when you're running other applications in the parent partition (which you shouldn't do, but in some scenarios, such as running Server 2008 R2 on a laptop so you can demo, you probably need PowerPoint).
With dynamic memory, you now have a reliable way to ensure a certain amount of memory for the parent partition. The great news is that this value can be changed without requiring a reboot. If you need more memory for the parent, you can just change the value, and the memory manager will reclaim memory from dynamic memory-enabled virtual machines and allocate it to the parent. To set the values:
Start the registry editor (regedit.exe).
Move to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionVirtualization.
Select New, DWORD value from the Edit menu.
Set the name to MemoryReserve then double-click it. Set the base to decimal and set the value to the amount of memory that should be reserved (in MB).
Restart the Hyper-V Virtual Machine Management service (this is only needed once when you first create the value) using the Services (services.msc) management interface.
You can now change this value at any time to modify the memory reserved for the parent partition.
About the Author
You May Also Like