hi all,
I need to run docker containers on my pc (work) but also like to have maximum performance for playing games. It seems that just by having the hypervisor running (no container, no wsl) the cpu performance is about -10% (e.g. cpu-z benchmark).
reproducible by running the following commands, restart, benchmark:
* bcdedit /set hypervisorlaunchtype off -> cpu-z single core score ~920
* bcdedit /set hypervisorlaunchtype auto -> cpu-z single core score ~855
problem is, that with "bcdedit /set hypervisorlaunchtype off" docker won't start.
I thought it had something to do with virtualization based security (vbs) but using various commands to disable that (and checkinging in System Information - "Virtualization-based security": Running, Enabled but not running, ...) does not change the results (keys in HKEY_LOCAL_MACHINE/SystemCurrentControlSetControlDeviceGuard; gpedit - EnableVirtualizationBasedSecurity).
Also, changing the hypervisor scheduler type does not change anything (classic, core, root -> root was default)
It is of course not really important, probably won't notice a difference but I just don't like it (I try to optimize for peformance wherever possible).
Question: Any idea about how to not loose ~10% performance but be able to run docker containers?
I need to run docker containers on my pc (work) but also like to have maximum performance for playing games. It seems that just by having the hypervisor running (no container, no wsl) the cpu performance is about -10% (e.g. cpu-z benchmark).
reproducible by running the following commands, restart, benchmark:
* bcdedit /set hypervisorlaunchtype off -> cpu-z single core score ~920
* bcdedit /set hypervisorlaunchtype auto -> cpu-z single core score ~855
problem is, that with "bcdedit /set hypervisorlaunchtype off" docker won't start.
I thought it had something to do with virtualization based security (vbs) but using various commands to disable that (and checkinging in System Information - "Virtualization-based security": Running, Enabled but not running, ...) does not change the results (keys in HKEY_LOCAL_MACHINE/SystemCurrentControlSetControlDeviceGuard; gpedit - EnableVirtualizationBasedSecurity).
Also, changing the hypervisor scheduler type does not change anything (classic, core, root -> root was default)
It is of course not really important, probably won't notice a difference but I just don't like it (I try to optimize for peformance wherever possible).
Question: Any idea about how to not loose ~10% performance but be able to run docker containers?
- Windows Build/Version
- 26100.268
My Computer
System One
-
- OS
- w11
- Computer type
- PC/Desktop