On 06/20/2013 10:18 PM, Russell Bryant wrote: > On 06/20/2013 10:36 AM, Giorgio Franceschi wrote: >> Hello, I created a blueprint for the implementation of: >> >> A tool for pinning automatically each running virtual CPU to a physical >> one in the most efficient way, balancing load across sockets/cores and >> maximizing cache sharing/minimizing cache misses. Ideally able to be run >> on-demand, as a periodic job, or be triggered by events on the host (vm >> spawn/destroy). >> >> Find it at https://blueprints.launchpad.net/nova/+spec/auto-cpu-pinning >> >> Any inputappreciated! > > I'm actually surprised to see a new tool for this kind of thing. > > Have you seen numad? And a related post by Dan Berrange (but on lower layers -- libvirt) which explains how to do vcpu pinning and control NUMA affinity -- http://berrange.com/posts/2010/02/12/controlling-guest-cpu-numa-affinity-in-libvirt-with-qemu-kvm-xen/ -- /kashyap