WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 0/3] support multiple cpumasks in cpus parm

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 0/3] support multiple cpumasks in cpus parm
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Mon, 14 Aug 2006 11:56:47 -0500
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Delivery-date: Mon, 14 Aug 2006 09:57:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
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@xxxxxxxxxx

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 0/3] support multiple cpumasks in cpus parm, Ryan Harper <=