How to Enable Processor Resource Controls in Hyper-V

How to Enable Processor Resource Controls in Hyper-V

 

4. What are Hyper-V hypervisor scheduler types?

Starting with Windows Server 2016, the Hyper-V hypervisor supports several modes of scheduler logic, which determine how the hypervisor schedules virtual processors on the underlying logical processors. These scheduler types are:

  • The classic scheduler provides a fair share, preemptive round- robin scheduling model for guest virtual processors.
  • The core scheduler offers a strong security boundary for guest workload isolation, and reduced performance variability for workloads inside of VMs that are running on an SMT-enabled virtualization host.
  • The root scheduler cedes control of work scheduling to the root partition. The NT scheduler in the root partition’s OS instance manages all aspects of scheduling work to system LPs.

5. Determine your current Hyper-V Hypervisor Scheduler Type

Execute the command below.

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

6. Enable processor resource controls in Hyper-V by setting Scheduler Type to Core or Classic.

  • Open a Command Prompt as Administrator and execute the command below.
C:\Windows\System32\bcdedit.exe /set hypervisorschedulertype Core

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(80)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2021-10-14 Will HTML Encoding prevent all kinds of XSS attacks?
2019-10-14 Understanding Action Filters (C#) 可以用来做权限检查
2019-10-14 糖果缤纷乐攻略
2019-10-14 DNGuard HVM Unpacker(3.71 trial support and x64 fixed)
2019-10-14 git branch
2015-10-14 C#中this在构造函数时的使用
2015-10-14 Monitor vs WaitHandle
点击右上角即可分享
微信分享提示