Skip to content

support multiple cpumasks in cpus parm

Ryan Harper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xm-test: have getVcpuInfo return more info+0 -00 replies
2/3xend: Add multiple cpumasks support+0 -03 replies
3/3tools/xm-test: add cpus parm test in create bucket+0 -08 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] support multiple cpumasks in cpus parm

Currently the cpus xm config option allows specify which physical cpus a domains' vcpus' utilize. However, the current mechanism restricts the vcpus' cpumasks to one bit only. This prevents the credit scheduler from doing any balancing. This set of patches adds support for specifying multiple cpumasks in the cpus parameter. I've also created a new testcase for the cpus parameter which required some minor cleanup in XmTestLib for extracting information from xm vcpu-list.

01_fixup_xmtest_getvcpuinfo.patch changes getVcpuInfo to provide full dictionary of vcpu-list output. Adds vcpu_to_cpu function which provides what getVcpuInfo used to provide. Changes tests to use vcpu_to_cpu and getVcpuInfo where needed.

02_add_multiple_cpumask_support.patch adds support for specifying multiple cpumasks in the cpus parameter.

03_add_create_cpus_parameter_testcase.patch adds a testcase for testing the cpus parameter.

Patches apply against changeset: 11076:f328519053f5
Tested on x86_64, xm-test shows no regressions.

Signature · 5 lines
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
[email protected]