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

Re: [Xen-devel] Setting dom0-cpus to 0 doesn't use all cpus asdocumented

To: "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
Subject: Re: [Xen-devel] Setting dom0-cpus to 0 doesn't use all cpus asdocumented
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Tue, 9 May 2006 11:04:14 -0500
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, Xen-devel@xxxxxxxxxxxxxxxxxxx, "Krysan, Susan" <KRYSANS@xxxxxxxxxx>, "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>, "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>, "Vessey, Bruce A" <Bruce.Vessey@xxxxxxxxxx>
Delivery-date: Tue, 09 May 2006 09:04:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <B05D2E415E8CC94897BB44233D14EE6803EC099E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <B05D2E415E8CC94897BB44233D14EE6803EC099E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
* Carb, Brian A <Brian.Carb@xxxxxxxxxx> [2006-05-09 10:58]:
> We discovered this when running the xm-test suite. One of the tests
> (01_enforce_dom0_cpus) changes the number of cpus by editing the
> xend-config.sxp file and restarting xend. Should this test be updated to
> use the method Ian suggested, to vary the number of cpus, rather than
> restarting xend?

As Ian said, it is for setting the value when xend starts which is what
the test is about.  However, the test should bring dom0 vcpus to the
max and then test enforcement down to 1 rather than assuming that dom0's
current value can be reduced.  Or, bail on the test if the current value
of dom0's online vcpus isn't > 2.

-- 
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