Ryan Harper
2006-Aug-14 16:56 UTC
[Xen-devel] [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. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel