: NUMA: add host binding
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | NUMA: change existing NUMA guest code to use new bitmap implementationcpus.c hw/ monitor.c +2 more | +73 | 0 replies | |
| 2/4 | NUMA: add Linux libnuma detectionconfigure | +33 | 0 replies | |
| 3/4 | NUMA: parse new host dependent command line optionssysemu.h vl.c | +33 | 0 replies | |
| 4/4 | NUMA: realize NUMA memory pinninghw/ | +58 | 8 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4]: NUMA: add host binding
Hi,
the following 4 patches add NUMA host binding to qemu(-kvm). They allow to specify NUMA policies to be applied to each of the (separately specified) guest NUMA nodes. It mimics numactl's syntax, allowing "membind", "preferred" and "interleave" as possible policies. An example is:
$ qemu -smp 4 ... -numa node,cpus=0,mem=1024M \ -numa node,cpus=1-2,mem=2048M -numa node,cpus=3,mem=1024M \ -numa host,nodeid=0,membind=0 -numa host,nodeid=1,interleave=0-1 \ -numa host,nodeid=2,preferred=!0 The complete syntax is: -numa host,nodeid=<n>,\ (membind|preferred|interleave)=[+!]<hostnode>[-<hostnode>] The '+' denotes CPUSET relative nodes, '!' means negation (see numactl(8)). As it can be easier done from outside of QEMU, I completely left out vCPU binding, AFAIK management applications do this today already.
This version is based on the new generic bitmap code submitted with patch 11/15 of the VNC update by Corentin Chary on Aug 11th:
http://lists.gnu.org/archive/html/qemu-devel/2010-08/msg00517.html
So it requires this patch to build (but not to apply).
Please comment!
Regards,
Andre.
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany