Re: [libvirt] [PATCH 1/3] numad: Convert node list to cpumap before setting affinity

2012-04-16 Thread Daniel Veillard
On Wed, Apr 11, 2012 at 10:40:32PM +0800, Osier Yang wrote: Instead of returning a CPUs list, numad returns NUMA node list instead, this patch is to convert the node list to cpumap before affinity setting. Otherwise, the domain processes will be pinned only to CPU[$numa_cell_num], which will

Re: [libvirt] [PATCH 1/3] numad: Convert node list to cpumap before setting affinity

2012-04-16 Thread Osier Yang
On 2012年04月16日 15:45, Daniel Veillard wrote: On Wed, Apr 11, 2012 at 10:40:32PM +0800, Osier Yang wrote: Instead of returning a CPUs list, numad returns NUMA node list instead, this patch is to convert the node list to cpumap before affinity setting. Otherwise, the domain processes will be

[libvirt] [PATCH 1/3] numad: Convert node list to cpumap before setting affinity

2012-04-11 Thread Osier Yang
Instead of returning a CPUs list, numad returns NUMA node list instead, this patch is to convert the node list to cpumap before affinity setting. Otherwise, the domain processes will be pinned only to CPU[$numa_cell_num], which will cause significiant performance losing. Also because numad will