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

Re: [Xen-users] Dom0 CPU?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Dom0 CPU?
From: Ernst Bachmann <e.bachmann@xxxxxxxx>
Date: Wed, 22 Feb 2006 23:56:11 +0100
Delivery-date: Wed, 22 Feb 2006 22:52:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <dtipaf$j48$1@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: xebec mediafactory GmbH
References: <dtipaf$j48$1@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
On Wednesday 22 February 2006 23:41, Shaun wrote:
> The manual states the following
>
> `If you are running IO intensive tasks, its typically better to dedicate
> either a hyperthread or whole core to running domain 0, and hence pin other
> domains so that they can't use CPU 0`
>
[...]
> So first question is, how can i get dom0 to stop using all 4 procs and to
> only use 1?  Second whats the best way to have guests use the rest of the
> cpu?  Do i need to write a script that runs through each guest settting it
> manually to 1, 2, or 3?

/etc/xen/xend-config.sxp:
..
# In SMP system, dom0 will use dom0-cpus # of CPUS
# If dom0-cpus = 0, dom0 will take all cpus available
(dom0-cpus 1)
..

in /etc/xen/somedomain
..
# Which CPU to start domain on?
cpus = "2,3,1"   # leave to Xen to pick

# Number of Virtual CPUS to use, default is 1
vcpus = 3
..

/etc/xen/someother
..
cpus="1,2,3"
..




> Another question, i started up 20 guests and all guests uses cpu 1 or 3,
> none of them used 0 or 2.  Why?

-- 
xebec mediafactory GmbH | Siemensstrasse 1 | 93055 Regensburg | Germany
 
phone: +49.941.56814-123 | fax: +49.941.56814-299
email: e.bachmann@xxxxxxxx | internet: http://www.xebec.de

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