Skip to content

xl: allow for node-wise specification of vcpu pinning

Dario Faggioli xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xl: update the manpage about "cpus=" and NUMA node-affinitydocs/man/xl.cfg.pod.5+15 -70 replies
2/5libxl: introduce libxl_node_to_cpumaptools/libxl/libxl_utils.c tools/libxl/libxl_utils.h+25 -00 replies
3/5xl: allow for node-wise specification of vcpu pinningdocs/man/xl.cfg.pod.5 tools/libxl/xl_cmdimpl.c+121 -440 replies
4/5xl: implement and enable dryrun mode for `xl vcpu-pin'tools/libxl/xl_cmdimpl.c tools/libxl/xl_cmdtable.c+36 -120 replies
5/5xl: test script for the cpumap parser (for vCPU pinning)tools/libxl/check-xl-vcpupin-parse tools/libxl/check-xl-vcpupin-parse.data-example+347 -00 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchIan Jackson
1/5A-b
2/5A-b
3/5
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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
[email protected]
http://lists.xen.org/xen-devel