• O
    numad: Convert node list to cpumap before setting affinity · ccf80e36
    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 losses.
    
    Also because numad will balance the affinity dynamically,
    reflecting the cpuset from numad back doesn't make much
    sense then, and it may just could produce confusion for
    the users. Thus the better way is not to reflect it back
    to XML. And in this case, it's better to ignore the cpuset
    when parsing XML.
    
    The codes to update the cpuset is removed in this patch
    incidentally, and there will be a follow up patch to ignore
    the manually specified "cpuset" if "placement" is "auto",
    and document will be updated too.
    ccf80e36
qemu_process.c 133.0 KB