Performance and stability problems after Windows Update
Posted: 2. Sep 2022, 13:39
My VirtualBox has been working properly for nearly one a half years running an Ubuntu guest on top of a Windows 11 host.
Suddenly it stopped working after an automatic Windows update last Monday. I couldn't event start the machine. I upgraded to the latest version (6.1.36) and the I could manage to boot, but the performance was really degraded with constant "hangs". I tried with "not so recent" versions to see if there was some time of recent "regression", but switching back to 6.1.30, the problem persisted.
After doing (lot of) tests I found that the problem was due to my Energy Plan Settings. In "Windows Start" -> "Edit power plan" -> "Change advanced power settings" -> "Processor Power Management" -> "Maximum processor state" -> "Plugged in" the value 90% was set. (I changed it a few weeks ago since I notice much lower CPU usage than using just 100%). When I restore it to 100% and then on my VM setup I limit CPU usage to 90% (with KVM ) everything looks to be working properly again and also the CPU thermal behavior becomes "normal".
Not sure whether this is a Windows, Intel CPU or Virtual Box problem. I'm tuning an Intel i7-10850H CPU with 16.0GB of RAM and Windows 11 Enterprise (Version 21H2, OS build 22000.856).
I guess this problem can affect many people not using the default Windows Power Plan setting.
Suddenly it stopped working after an automatic Windows update last Monday. I couldn't event start the machine. I upgraded to the latest version (6.1.36) and the I could manage to boot, but the performance was really degraded with constant "hangs". I tried with "not so recent" versions to see if there was some time of recent "regression", but switching back to 6.1.30, the problem persisted.
After doing (lot of) tests I found that the problem was due to my Energy Plan Settings. In "Windows Start" -> "Edit power plan" -> "Change advanced power settings" -> "Processor Power Management" -> "Maximum processor state" -> "Plugged in" the value 90% was set. (I changed it a few weeks ago since I notice much lower CPU usage than using just 100%). When I restore it to 100% and then on my VM setup I limit CPU usage to 90% (with KVM ) everything looks to be working properly again and also the CPU thermal behavior becomes "normal".
Not sure whether this is a Windows, Intel CPU or Virtual Box problem. I'm tuning an Intel i7-10850H CPU with 16.0GB of RAM and Windows 11 Enterprise (Version 21H2, OS build 22000.856).
I guess this problem can affect many people not using the default Windows Power Plan setting.
If you see the little dear, it means Windows has enabled Hyper-V, which could cause degraded VM operation. See