xen-devel
Re: [Xen-devel] [PATCH] xen, tools/python/xen: pincpu support, vcpus, ad
* Sam Gill <samg@xxxxxxxxxxxxx> [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@xxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
Previous by Date: |
Re: [Xen-devel] Diskless boot at cambridge, Kip Macy |
Next by Date: |
Re: [Xen-devel] address space reorganization, Rik van Riel |
Previous by Thread: |
Re: [Xen-devel] [PATCH] xen, tools/python/xen: pincpu support, vcpus, add vcpu to cpu map, Sam Gill |
Next by Thread: |
Re: [Xen-devel] [PATCH] xen, tools/python/xen: pincpu support, vcpus, add vcpu to cpu map, Mark Williamson |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|