Monday, February 10, 2020

VMMEM.EXE High CPU Useage with Hyper-V

If you're using Hyper-V and finding that VMMEM is using a lot of CPU on your host you might want to swich scheduler type from root to core or classic. To find out what you're currently using run the following in power shell:
Get-WinEvent -FilterHashTable @{ProviderName="Microsoft-Windows-Hyper-V-Hypervisor"; ID=2} -MaxEvents 1

1 = Classic scheduler, SMT disabled
2 = Classic scheduler
3 = Core scheduler
4 = Root scheduler
To switch run the following in an elevated command prompt:
bcdedit /set hypervisorschedulertype type
Where type is one of:
Classic
Core
Root
It seems classic is probably best for most of us.