Re: [libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Martin Kletzander
On 10/24/2012 03:41 PM, Osier Yang wrote: > On 2012年10月24日 21:36, Martin Kletzander wrote: >> On 10/24/2012 03:29 PM, Osier Yang wrote: >>> On 2012年10月24日 21:17, Martin Kletzander wrote: On 10/24/2012 12:00 PM, Osier Yang wrote: > When the cpu placement model is "auto", it sets the affinit

Re: [libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Osier Yang
On 2012年10月24日 21:36, Martin Kletzander wrote: On 10/24/2012 03:29 PM, Osier Yang wrote: On 2012年10月24日 21:17, Martin Kletzander wrote: On 10/24/2012 12:00 PM, Osier Yang wrote: When the cpu placement model is "auto", it sets the affinity for domain process with the advisory nodeset from numad

Re: [libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Martin Kletzander
On 10/24/2012 03:29 PM, Osier Yang wrote: > On 2012年10月24日 21:17, Martin Kletzander wrote: >> On 10/24/2012 12:00 PM, Osier Yang wrote: >>> When the cpu placement model is "auto", it sets the affinity for >>> domain process with the advisory nodeset from numad, however, >>> creating cgroup for the

Re: [libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Osier Yang
On 2012年10月24日 21:17, Martin Kletzander wrote: On 10/24/2012 12:00 PM, Osier Yang wrote: When the cpu placement model is "auto", it sets the affinity for domain process with the advisory nodeset from numad, however, creating cgroup for the domain process (called emulator thread in some contexts)

Re: [libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Martin Kletzander
On 10/24/2012 12:00 PM, Osier Yang wrote: > When the cpu placement model is "auto", it sets the affinity for > domain process with the advisory nodeset from numad, however, > creating cgroup for the domain process (called emulator thread > in some contexts) later overrides that with pinning it to a

[libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Osier Yang
When the cpu placement model is "auto", it sets the affinity for domain process with the advisory nodeset from numad, however, creating cgroup for the domain process (called emulator thread in some contexts) later overrides that with pinning it to all available pCPUs. How to reproduce: * Config