|
|
|
|
|
by sm_ts
1666 days ago
|
|
I've maintained a QEMU fork with pinning support, and even coauthored a research paper on the Linux pinning performance topic, and the results have been... underwhelming; "sadly" the Linux kernel does a pretty good job at scheduling :) I advise pinning users to carefully measure the supposed performance improvement, as there is a tangible risk of spending time on imaginary gains. |
|
With no pinning they'd randomly go into the milliseconds -- with pinning it would stay in the micro second range!
The result of this is games (and likely audio) performing much more favorably.
How much of this is cache coherency/in-fighting, scheduling, or simply host usage; I couldn't tell you. I was just happy to have my VM 'feel' native.
There will always be a benefit with pinning vCPUs on the same NUMA nodes as their devices (VFIO or even SR-IOV). This is becoming increasingly important on hypervisors