Re: [libvirt] [PATCH 07/17] Add qemuProcessSetHypervisorAffinites and set hypervisor threads affinities

2012-08-07 Thread Hu Tao
On Mon, Aug 06, 2012 at 05:09:04PM -0600, Eric Blake wrote: > On 08/03/2012 12:36 AM, Hu Tao wrote: > > From: Tang Chen > > > > Hypervisor threads should also be pinned by sched_setaffinity(), just > > the same as vcpu threads. > > Indeed, this fallback makes sense when cpuset cgroup is not pres

Re: [libvirt] [PATCH 07/17] Add qemuProcessSetHypervisorAffinites and set hypervisor threads affinities

2012-08-06 Thread Eric Blake
On 08/03/2012 12:36 AM, Hu Tao wrote: > From: Tang Chen > > Hypervisor threads should also be pinned by sched_setaffinity(), just > the same as vcpu threads. Indeed, this fallback makes sense when cpuset cgroup is not present. Same question as earlier in the series - is affinity necessary when

[libvirt] [PATCH 07/17] Add qemuProcessSetHypervisorAffinites and set hypervisor threads affinities

2012-08-02 Thread Hu Tao
From: Tang Chen Hypervisor threads should also be pinned by sched_setaffinity(), just the same as vcpu threads. Signed-off-by: Tang Chen Signed-off-by: Hu Tao --- src/qemu/qemu_process.c | 54 +++ 1 file changed, 54 insertions(+) diff --git a/src