Thoughts on CPU flags for windows 11 guest.

chrcoluk

Renowned Member
Oct 7, 2018
275
70
68
47
So I somehow got about 20-40% depending on type of load in performance extra CPU throughput with following flags set. This is on top of default host flags.

flags +invtsc;+topoext;+host-cache-info;-hypervisor

It seems for the performance boost HyperV should be left enabled in bcdedit.

The host CPU is a AMD 5600G, and all optional flags in the UI are on default.

There is one issue, all chromium web browsers have instability, the main process doesnt crash, but random stack break's instead on rendering processes, even spamming f12 for dev tools will cause crashes.

If I remove the -hypervisor flag, the crashes go away, likewise if I disable HyperV in bcdedit, the crashes go away. But these also both lose the performance boost, like as removing any of the custom flags removes the performance boost, its quite a delicate combination of flags.

The flags in this thread yield a gain of about 10% without instability, I dont care for live migrations. So I will probably leave at that given, there seems no way forward on the bigger gain, but I welcome any thoughts on discoveries in regards to CPU flags and performance in Windows guests.

 
  • Like
Reactions: Johannes S
I should have found this thread first, it has the discussion needed, and the registry fix works well, to get same performance without instability.