[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Dom0 CPU?



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.