All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Harper <ryanh@us.ibm.com>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: Xen-devel@lists.xensource.com, "Krysan,
	Susan" <KRYSANS@unisys.com>,
	"Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@unisys.com>,
	"Subrahmanian, Raj" <raj.subrahmanian@unisys.com>,
	"Vessey, Bruce A" <Bruce.Vessey@unisys.com>,
	"Carb, Brian A" <Brian.Carb@unisys.com>
Subject: Re: Setting dom0-cpus to 0 doesn't use all cpus asdocumented
Date: Tue, 9 May 2006 10:44:45 -0500	[thread overview]
Message-ID: <20060509154445.GG28945@us.ibm.com> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA63B@liverpoolst.ad.cl.cam.ac.uk>

* Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> [2006-05-09 10:07]:
> > The comments for dom0-cpus in the xend-config.sxp file 
> > indicate that setting this value to 0 in an SMP system will 
> > cause dom0 to use all the available CPUs. However, it appears 
> > as if setting this value to 0 does not change the number of 
> > CPUs at all.
> > 
> > I'm running SLES10 Beta 11 and xen-unstable changeset 9960 on 
> > a Unisys ES7000 with 32 CPUs and 32GB memory. In 
> > xend-config.sxp, dom0-cpus is set to 0. When xen dom0 boots, 
> > it is using all 32 procs (as reported by 'grep processor 
> > /proc/cpuinfo | wc -l').
> > 
> > If I edit the xend-config.sxp file, change the value of 
> > dom0-cpus to 1, and restart xend, dom0 correctly uses 1 CPUs. 
> > If I then change dom0-cpus to 0 and restart xend, dom0 still 
> > uses 1 cpu. The only way to have dom0 use 32 cpus again is to 
> > either set the value of dom0-cpus to 32, or reboot xen.
> > 
> > Has anyone else seen this behavior?
> 
> You can just use the normal xm commands to vary the number of CPUs.
> Restarting xend is a rather brutal way of trying to achieve the same
> thing...

Is it worth keeping dom0-cpus then?


-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@us.ibm.com

  reply	other threads:[~2006-05-09 15:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-09 15:05 Setting dom0-cpus to 0 doesn't use all cpus asdocumented Ian Pratt
2006-05-09 15:44 ` Ryan Harper [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-05-09 15:52 Ian Pratt
2006-05-09 16:01 ` Jan Beulich
2006-05-09 15:57 Carb, Brian A
2006-05-09 16:04 ` Ryan Harper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060509154445.GG28945@us.ibm.com \
    --to=ryanh@us.ibm.com \
    --cc=Brian.Carb@unisys.com \
    --cc=Bruce.Vessey@unisys.com \
    --cc=KRYSANS@unisys.com \
    --cc=Xen-devel@lists.xensource.com \
    --cc=aravindh.puthiyaparambil@unisys.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=raj.subrahmanian@unisys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.