2 ms·
VM does not mean extra CPU usage. Since there is no emulation involved (assuming VT-x is supported) you should be getting native or mostly native performance...
by cpuguy83 7y ago
VM does not mean extra CPU usage. Since there is no emulation involved (assuming VT-x is supported) you should be getting native or mostly native performance.... not to say that WSL2 will be better on CPU usage, however I don't think one should assume that it will be worse.
This is opposed to WSL1 which is emulation and has extra layers to go through.
- viraptor 7y agoUnless they completely stripped all background tasks, there's still a few wakeup calls from the VM. I didn't mean the execution overhead from emulation. For example hyperkit.docker not running any container does ~90 wakeups/s on my machine. This comes mainly from just keeping the VM alive. This also prevents deeper sleep for CPUs.