Hyper-V Program Manager
After installing the service pack 1 beta on Windows Server 2008 R2 you will see that virtual machines have a new setting for memory. The Memory priority:
This setting is part of the new dynamic memory feature. And there is a lot to learn about it.
The first thing to know is that this setting does not have any real effect if there is enough memory available on the physical computer. With enough memory available in the physical computer – all virtual machines can get the amount of memory that they want. However, when there is not enough memory available in the physical computer, Hyper-V needs to decide who gets the memory and who does not. And this is where the memory priority comes in to play.
Specifically there are three effects:
There is some extra information to know about this third point.
The first is that – yes – Hyper-V will take memory away from already running virtual machines in order to let a new virtual machine start. That is unless the new virtual machine has a very low memory priority. The second is that this “startup effect” of memory priority also applies to virtual machines that do not have dynamic memory enabled.
This is to say that if you have a mixture of virtual machines with and without dynamic memory enabled – the memory priority setting on the virtual machines without dynamic memory enabled will affect how much memory is removed from the dynamic memory enabled virtual machines when you try to start the virtual machines without dynamic memory enabled.
I am trying to generate data for following performance counter sets
1. Hyper-V Dynamic Memory Bouncer
2. and Hyper-V Dynamic memory VM
Event after following below steps, data remains 0 for all counters in above counter sets.
Ideally it should have shown changed data as VM should have occupied more memory dynamically.
1. Created 2 VM on Hyper-V machine and configured dynamic memory feature as
Min RAM - 512 MB and Max RAM 1 GB and memory priority is set to high.
2. Installed windows 2008 OS on both virtual machines and installed integrated services.
3. Started both vms
4. Ran another application (.net and java application) consuming high memory on virtual machine
Has anyone faced the issue?
Have you updated the integration services inside the virtual machines? (needs to be done after installing SP1 in the parent)