Hyper-V is not configured to enable processor resource controls

Vote 0 Votes

Hyper-V 裡的 CPU 若出現此紅字
Hyper-V 未設定為啟用處理器資源控制 (Hyper-V is not configured to enable processor resource controls)

是因為 Windows 10 1803 版開始,預設會在用戶端系統上使用根排程器(root scheduler)
矛盾的是在「管理 Hyper-v 虛擬程式排程器類型」有提到
目前不建議將根排程器與伺服器上的 Hyper-v 搭配使用,因為它的效能特性尚未具備完整的特性和微調,

解決方式,將 scheduler type 設回 Classic
bcdedit /set hypervisorschedulertype Classic

用 PowerShell 下指令確認
Get-WinEvent -FilterHashTable @{ProviderName="Microsoft-Windows-Hyper-V-Hypervisor"; ID=2} -MaxEvents 1

ProviderName: Microsoft-Windows-Hyper-V-Hypervisor
TimeCreated Id LevelDisplayName Message
----------- -- ---------------- -------
2020/4/9 下午 10:22:55 2 資訊 Hypervisor scheduler type is 0x2.

看到 0x1 或 0x2 就是成功切回傳統模式

1 = Classic scheduler, SMT disabled
2 = Classic scheduler
3 = Core scheduler
4 = Root scheduler

About this Entry

This page contains a single entry by Pank published on April 9, 2020 11:38 PM.

GCE f1-micro vs e2-micro was the previous entry in this blog.

WSL 2 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives