From: Andrew Theurer <habanero@us.ibm.com>
To: xen-devel@lists.sourceforge.net
Subject: Re: SMP guest support in unstable tree.
Date: Wed, 05 Jan 2005 09:06:10 -0600 [thread overview]
Message-ID: <41DC0262.9070703@us.ibm.com> (raw)
In-Reply-To: <20050105142331.GO8251@cl.cam.ac.uk>
Christian Limpach wrote:
>On Tue, Jan 04, 2005 at 10:41:57AM -0600, Andrew Theurer wrote:
>
>
>>Do you think there would be any room for "dedicated" cpus in a domain,
>>like a one-to-one mapping of physical cpu to domain cpu? I am asking
>>because I think there would be situations where (a) one would want to
>>discretely divide a large system, in particular one with numa
>>characteristics where one could dedicate cpus and memory close to each
>>other and
>>
>>
>
>We have a one-to-one mapping (pinning) of virtual cpus to physical cpus --
>if you don't allocate multiple virtual cpus to the same physical cpu, then
>the physical cpu becomes implicitly dedicated to that domain.
>
>
OK, great, this is essentially the option I wanted, thanks!
>This mapping can be changed dynamically, at least at the Xen level -- the
>tools don't have support for changing the mapping of SMP guests yet. We
>also don't support enforcing allocation policies yet.
>
>
>
>>(b) perhaps in this one to one mapping, there might be less
>>overhead of managing cpus in a domain, vs (assuming) some sort of
>>timesharing of a physical cpu to many domains, and even more than one
>>virtual cpu in just one domain.
>>
>>
>
>I don't think there's significant overhead if there's only a single
>virtual cpu pinned to one physical cpu so I wouldn't expect a noticeable
>performance advantage if we handled this case differently.
>
>
Hopefully soon I can get some performance tests going and we can see if
there's any issues here. My other concern would be on larger (multi
numa-node) systems, even with one to one mapping, that the hardware
topology (numa) information does not make it to the SMP guest -it would
be nice to take advantage of the numa work developed in the linux kernel
over that last 2 years. I am not sure exactly what impact this could be.
>>Anyway, I am mostly curious at this point. This is just what I have
>>seen in the ppc/power5 world, a choice of dedicated cpus (however, if
>>they are idle that cpu can be "shared" if desired) or virtual cpus (up
>>to 64 I think) backed by N physical cpus.
>>
>>
>
>I think we need load balancing software and we also need to get
>measurements to see what's the cost of moving virtual cpus between
>physical cpus (or hyperthreads) and what impact service domains have
>on the scheduling and load balancing decisions.
>
>
Agreed, thanks for the info.
-Andrew Theurer
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
next prev parent reply other threads:[~2005-01-05 15:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-15 23:25 SMP guest support in unstable tree Christian Limpach
2004-12-16 15:32 ` John L Griffin
2005-01-04 16:41 ` Andrew Theurer
2005-01-05 14:23 ` Christian Limpach
2005-01-05 15:06 ` Andrew Theurer [this message]
2005-01-05 16:13 ` Christian Limpach
2005-01-06 0:19 ` Adam Heath
-- strict thread matches above, loose matches on Subject: below --
2004-12-15 23:50 James Harper
2004-12-15 23:59 ` Christian Limpach
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=41DC0262.9070703@us.ibm.com \
--to=habanero@us.ibm.com \
--cc=xen-devel@lists.sourceforge.net \
/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.