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: Thu, 15 Jun 2006 11:16:20 -0500 [thread overview]
Message-ID: <20060615161620.GF1694@us.ibm.com> (raw)
In-Reply-To: <B05D2E415E8CC94897BB44233D14EE6804218BEA@USTR-EXCH5.na.uis.unisys.com>
* Carb, Brian A <Brian.Carb@unisys.com> [2006-06-15 10:12]:
> Thanks Ryan,
>
> We're still seeing this problem as of changeset 10333 (which I believe
> includes that patch).
Yeah, that was a long shot.
>
> It seems as if the "vcpus" value as shown by "xm list --long 0" command
> is getting set to 8, even when we boot dom0 with 16procs. In fact, vcpus
> is still set to 8 even if we boot hyperthreaded to a 32x. Since the
> release of procs with vcpu-set seems to key off this value, we can never
> release more than 7.
the vcpus value for dom0 should be the number of vcpus the domain is
configured to use; usually in the conf file. Domain0 is different since
it has no conf file being built by xen instead of Xend. In this case,
vcpus value is derived from max_vcpu_id, which is the highest vcpu
that as been initialized. For dom0, this value should be the
number of cpus xen enabled during boot.
vcpu-set uses the vcpu_avail variable which is initialized from the
vcpus variable, which, as mentioned able is determined by max_vcpu_id.
e.g. max_vcpu_id=7, vcpus = 8, vcpu_avail = (1 << 8)-1, or 0xff
I'd start fresh by clearing out xenstore:
rm /var/lib/xenstored/tdb
And rebooting.
It should never be the case where vcpus for dom0 is < online vcpus as
that means you are running vcpus that haven't been initialized
(max_vcpu_id indicates the max vcpu that has been allocated to run in
the domain). It would be interesting if you can track what steps you
took to get the machine/xenstore into this state and file a bug.
--
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-15 16:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-15 15:11 Unable to set dom0 vcpu to 1 Carb, Brian A
2006-06-15 16:16 ` Ryan Harper [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-06-12 15:43 Carb, Brian A
2006-06-12 15:50 ` Ryan Harper
2006-06-08 21:20 Apparao, Padmashree K
2006-06-12 19:06 ` Pablo Montesinos
2006-06-08 21:15 Subrahmanian, Raj
2006-06-08 21:03 Apparao, Padmashree K
2006-06-08 20:11 Carb, Brian A
2006-06-12 15:11 ` 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=20060615161620.GF1694@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.