All of lore.kernel.org
 help / color / mirror / Atom feed
* Setting dom0-cpus to 0 doesn't use all cpus as documented
@ 2006-05-09 14:56 Carb, Brian A
  2006-05-09 15:07 ` Christopher G. Stach II
  0 siblings, 1 reply; 3+ messages in thread
From: Carb, Brian A @ 2006-05-09 14:56 UTC (permalink / raw)
  To: Xen-devel
  Cc: Subrahmanian, Raj, Krysan, Susan, Vessey, Bruce A,
	Puthiyaparambil, Aravindh, Carb, Brian A

Hello, 

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?

brian carb
unisys cmp technology lab
malvern, pa
brian.carb@unisys.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Setting dom0-cpus to 0 doesn't use all cpus as documented
  2006-05-09 14:56 Setting dom0-cpus to 0 doesn't use all cpus as documented Carb, Brian A
@ 2006-05-09 15:07 ` Christopher G. Stach II
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher G. Stach II @ 2006-05-09 15:07 UTC (permalink / raw)
  To: Carb, Brian A
  Cc: Puthiyaparambil, Aravindh, Xen-devel, Krysan, Susan,
	Subrahmanian, Raj, Vessey, Bruce A

Carb, Brian A wrote:
> 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?

Try (dom0-cpus "").  I believe that's what I was using before I
dedicated one to dom0.  The comment should probably be updated, though.

-- 
Christopher G. Stach II

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Setting dom0-cpus to 0 doesn't use all cpus as documented
@ 2006-05-09 15:51 Carb, Brian A
  0 siblings, 0 replies; 3+ messages in thread
From: Carb, Brian A @ 2006-05-09 15:51 UTC (permalink / raw)
  To: Christopher G. Stach II
  Cc: Puthiyaparambil, Aravindh, Xen-devel, Krysan, Susan,
	Subrahmanian, Raj, Vessey, Bruce A

Setting dom0-cpus to "" does not work either.  

brian carb (610-648-2437 or N2 385-2437)
unisys cmp technology lab
malvern, pa
brian.carb@unisys.com

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers. 

-----Original Message-----
From: Christopher G. Stach II [mailto:cgs@ldsys.net] 
Sent: Tuesday, May 09, 2006 11:07 AM
To: Carb, Brian A
Cc: Xen-devel@lists.xensource.com; Subrahmanian, Raj; Krysan, Susan;
Vessey, Bruce A; Puthiyaparambil, Aravindh
Subject: Re: [Xen-devel] Setting dom0-cpus to 0 doesn't use all cpus as
documented

Carb, Brian A wrote:
> 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?

Try (dom0-cpus "").  I believe that's what I was using before I
dedicated one to dom0.  The comment should probably be updated, though.

--
Christopher G. Stach II

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-09 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-09 14:56 Setting dom0-cpus to 0 doesn't use all cpus as documented Carb, Brian A
2006-05-09 15:07 ` Christopher G. Stach II
  -- strict thread matches above, loose matches on Subject: below --
2006-05-09 15:51 Carb, Brian A

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.