[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0/5] xl: allow for node-wise specification of vcpu pinning



Hi all,

Take 3 of this series. It allows for specifying vcpu pinning taking NUMA nodes
into account. IOW, something like this:

Â* "nodes:0-3": all pCPUs of nodes 0,1,2,3;
Â* "nodes:0-3,^node:2": all pCPUS of nodes 0,1,3;
Â* "1,nodes:1-2,^6": pCPU 1 plus all pCPUs of nodes 1,2
ÂÂ but not pCPU 6;

All comments that v2 got have been addressed. In particular, the test script
has been rearranged and enhanced to match the requested behavior (generate a
test vector file and then read it).

Thanks and Regards,
Dario

---
 '* = Acked

Dario Faggioli (5):
    * xl: update the manpage about "cpus=" and NUMA node-affinity
    * libxl: introduce libxl_node_to_cpumap
      xl: allow for node-wise specification of vcpu pinning
    * xl: implement and enable dryrun mode for `xl vcpu-pin'
      xl: test script for the cpumap parser (for vCPU pinning)


 docs/man/xl.cfg.pod.5                           |   42 +++
 tools/libxl/check-xl-vcpupin-parse              |  294 +++++++++++++++++++++++
 tools/libxl/check-xl-vcpupin-parse.data-example |   53 ++++
 tools/libxl/libxl_utils.c                       |   22 ++
 tools/libxl/libxl_utils.h                       |    3 
 tools/libxl/xl_cmdimpl.c                        |  191 +++++++++++----
 tools/libxl/xl_cmdtable.c                       |    2 
 7 files changed, 544 insertions(+), 63 deletions(-)
 create mode 100755 tools/libxl/check-xl-vcpupin-parse
 create mode 100644 tools/libxl/check-xl-vcpupin-parse.data-example

--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.