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 :)<p>I advise pinning users to carefully measure the supposed performance improvement, as there is a tangible risk of spending time on imaginary gains.
Kubernetes makes CPU pinning rather simple. Just need to meet conditions to reach Guaranteed QoS. <a href="https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/" rel="nofollow">https://kubernetes.io/docs/tasks/administer-cluster/cpu-mana...</a><p>We are running lots of Erlang on k8s and CPU pinning improves performance of Erlang schedulers tremendously.
Tangental, but does anyone know of a Windows utility for automatically pinning processes?<p>I like to keep up with several cryptocurrency prices on Coinbase, but the Coinbase Pro pages consume a pretty significant amount of CPU time. I'd love to be able to just shove all of those processes to a single CPU thread to reduce the impact on overall system performance.<p>I suppose it wouldn't be too hard to write a Python script that does this automatically...scan Window titles to look for "Coinbase Pro", find the owning PID, then call SetAffinity...
This class looks great. I noticed the course page states:<p>>"This class overlaps significantly with CS392 ``Systems Programming'' -- if you have taken this class, please talk to me in person before trying to register for CS631."[1]<p>Does anyone know if the videos for CS392 might also be online? I tried to some basic URL substitutions however I came up empty.<p>[1] <a href="https://stevens.netmeister.org/631/" rel="nofollow">https://stevens.netmeister.org/631/</a>
CPU pinning is pretty useful for virtual machines, i.e. I've used it myself to improve performance on a VFIO setup, by limiting which cores where qemu runs on and thus improving cache locality.<p><a href="https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#CPU_pinning" rel="nofollow">https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#CP...</a><p>What are other real-world uses of CPU pinning?