From: Ryan Harper <ryanh@us.ibm.com>
To: "Carb, Brian A" <Brian.Carb@unisys.com>
Cc: xen-devel@lists.xensource.com, "McAfee,
Tommie M" <Tommie.McAfee@unisys.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>
Subject: Re: Unable to set dom0 vcpu to 1
Date: Mon, 12 Jun 2006 10:11:53 -0500 [thread overview]
Message-ID: <20060612151153.GA1694@us.ibm.com> (raw)
In-Reply-To: <B05D2E415E8CC94897BB44233D14EE6804188810@USTR-EXCH5.na.uis.unisys.com>
* Carb, Brian A <Brian.Carb@unisys.com> [2006-06-08 15:13]:
> > Running xen-unstable changeset 10269 on a Unisys ES7000/one, x86_64,
> > 16 procs, 16 GB RAM under SLES 10 RC1.
> >
> > At startup, dom0-cpus is set to 0 (the default) in the xend-config.sxp
> > file, and dom0 uses all 16 cpus. 'xm top' shows 16 procs, 'xm list'
> > shows dom0 using 16 cpus, and 'xm vcpu-list' shows 16 cpus assigned to
> > dom0.
> >
> > When we try to reduce the procs for dom0 to 1 using 'xm vcpu-set 0 1',
> > the number of procs, as shown by /proc/cpuinfo, reduces to 9. 'xm
> > list' shows dom0 using 9 procs, and 'xm vcpu-list' shows that procs
> > 1-7 have been released, while procs 0 and 8 through 15 are still
> > assigned. Nothing is shown on the serial port.
> >
> > Can anyone shed some light on why the rest of the procs might not be
> > released? Thanks.
On large smp boxes, it takes some time to unplug all of the processors as any
processes that are running on those cpus have to be migrated to another cpu.
On a 32-way, it took 15 seconds to go from 32 to 1. As I ran xm list, you can
see the number of active vcpus reduce over time.
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 21 r----- 4494.6
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 19 r----- 4495.4
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 17 r----- 4496.2
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 16 r----- 4496.8
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 16 r----- 4497.4
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 15 r----- 4497.6
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 14 r----- 4498.1
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 13 r----- 4498.6
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 12 r----- 4499.2
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 12 r----- 4499.4
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 10 r----- 4500.3
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 10 r----- 4500.7
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 9 r----- 4501.0
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 8 r----- 4501.5
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 7 r----- 4502.0
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 6 r----- 4502.5
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 4 r----- 4503.4
[root@x460-3 ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 507 1 r----- 4504.4
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253 T/L: 678-9253
ryanh@us.ibm.com
next prev parent reply other threads:[~2006-06-12 15:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-08 20:11 Unable to set dom0 vcpu to 1 Carb, Brian A
2006-06-12 15:11 ` Ryan Harper [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-06-08 21:03 Apparao, Padmashree K
2006-06-08 21:15 Subrahmanian, Raj
2006-06-08 21:20 Apparao, Padmashree K
2006-06-12 19:06 ` Pablo Montesinos
2006-06-12 15:43 Carb, Brian A
2006-06-12 15:50 ` Ryan Harper
2006-06-15 15:11 Carb, Brian A
2006-06-15 16:16 ` 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=20060612151153.GA1694@us.ibm.com \
--to=ryanh@us.ibm.com \
--cc=Brian.Carb@unisys.com \
--cc=Bruce.Vessey@unisys.com \
--cc=KRYSANS@unisys.com \
--cc=Tommie.McAfee@unisys.com \
--cc=aravindh.puthiyaparambil@unisys.com \
--cc=raj.subrahmanian@unisys.com \
--cc=xen-devel@lists.xensource.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.