From: Ryan Harper <ryanh@us.ibm.com>
To: Sam Gill <samg@seven4sky.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] xen, tools/python/xen: pincpu support, vcpus, add vcpu to cpu map
Date: Thu, 14 Apr 2005 12:51:41 -0500 [thread overview]
Message-ID: <20050414175141.GJ27571@us.ibm.com> (raw)
In-Reply-To: <425EA997.8060409@seven4sky.com>
* Sam Gill <samg@seven4sky.com> [2005-04-14 12:31]:
> tool that just shows
> you how many cpus you have to work with. (also a debugging tool, to see
Yeah, I think we should add something that better shows the available
resources. Currently the total number of Physical CPUs a system has
isn't really available in an obvious location.
> such as "xm pincpu-show" and "xm pincpu-show-details" for a more verbose
> listing
What would these look like?
> Then the next step would be creating some helper functions "xm
> pincpu-add" so you could add a cpu to
> a domain, or "xm pincpu-move" to move a cpu from one domain to another.
> In addition you could have
> "xm pincpu-lock"/"xm pincpu-unlock" which would only allow one single
> domain to access that cpu.
I think the mapping that Ian mentioned was needed for load-balancing
would achieve that, but we certainly could create an interface wrapper,
like lock/unlock that was translated into the correct mapping command.
> I am just thinking that maybe if you detail (if you have already not
> done so) what you want the end result to
> be, than it might be easier to figure out how to implement the lower
> level functions more efficiently.
No, this is good things to be talking about. The goal of this patch was
to allow us to pin VCPUs mainly so we can test space-sharing versus
time-sharing of VCPUs. That is, if we have a 4-way SMP box, with two
domUs, each with four VCPUs, what is the perf difference between domUs each
getting 2 physical cpus to run their 4 VCPUs versus domUs having access
to all 4 physical cpus on which to run their 4 VCPUs.
--
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:[~2005-04-14 17:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1DM7eW-0002zR-9S@host-192-168-0-1-bcn-london>
2005-04-14 17:34 ` [PATCH] xen, tools/python/xen: pincpu support, vcpus, add vcpu to cpu map Sam Gill
2005-04-14 17:51 ` Ryan Harper [this message]
2005-04-14 17:55 ` Mark Williamson
2005-04-14 18:40 ` Sam Gill
2005-04-14 19:23 Ian Pratt
2005-04-14 19:33 ` Andrew Theurer
-- strict thread matches above, loose matches on Subject: below --
2005-04-14 19:00 Ian Pratt
2005-04-14 19:07 ` Andrew Theurer
2005-04-14 18:28 [PATCH] xen, tools/python/xen: pincpu support " Ian Pratt
2005-04-14 16:57 Ian Pratt
2005-04-14 17:41 ` Ryan Harper
2005-04-14 15:49 Ian Pratt
2005-04-14 16:24 ` Ryan Harper
2005-04-14 15:29 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=20050414175141.GJ27571@us.ibm.com \
--to=ryanh@us.ibm.com \
--cc=samg@seven4sky.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.