From: Juergen Gross <juergen.gross@ts.fujitsu.com>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: George Dunlap <dunlapg@umich.edu>,
xen-devel@lists.xensource.com, zhigang.x.wang@oracle.com,
Tim Deegan <Tim.Deegan@citrix.com>,
Keir Fraser <Keir.Fraser@eu.citrix.com>
Subject: Re: Cpu pools discussion
Date: Wed, 29 Jul 2009 07:47:46 +0200 [thread overview]
Message-ID: <4A6FE282.60403@ts.fujitsu.com> (raw)
In-Reply-To: <4c912ce4-270a-49c5-80a2-dc975949c3bb@default>
Dan Magenheimer wrote:
> Sorry for the late join...
>
> I wonder if cpu pools helps with the following problem:
>
> Some large software company that shall remain nameless
> continues to license their high value applications
> on a per-pcpu basis rather than on a per-vcpu basis.
> As a result, VMs running these applications must be
> restricted to specific pcpu's which are "licensed" to
> run the software.
>
> Currently this is done with pinning, but pinning
> does restrict the flexibility of a multi-vcpu VM.
> Affinity seems like it should help, but affinity
> doesn't restrict the VM from running on a non-affinitive
> pcpu (does it?)
>
> For example, assume you have an 8 vcpu VM and it
> must be restricted to a 2 pcpu license on a
> 4 pcpu server. Ideally, you'd like any of the 8
> vcpus to be assigned to either pcpu at any time
> so you don't want to pin, for example, even
> vcpu's to pcpu#0 and odd vcpu's to pcpu#1.
> And, if all vcpus are idle, you'd like pcpu#0
> and pcpu#1 to be free to run other VMs.
>
> Can this be done with cpu pools (easier than / more
> flexibly than / and not at all ) with current pinning
> and affinity?
Pools will restrict the assigned domains to the assigned pcpus.
This can be done by affinity masks as well.
But pools won't allow domains of pool B to run on idle pcpus of pool A.
>
> Also in a data center, does cpu pools make it possible/
> easier for tools to pre-assign a subset of processors
> on ALL servers in the data center to serve a certain
> licensed class of VMs? For example, perhaps one
> would like to upgrade some of the machines in one's
> virtual data center from dual-core to quad-core but
> not pay for additional per-pcpu app licenses (i.e.
> the additional pcpus will be used for other non-licensed
> VMs). Tools could assign two pcpus on each server
> to be part of the "DB pool" thus restricting execution
> (and license fees) but still allowing easy migration.
>
> Can this be done with cpu pools (easier than / more
> flexibly than / and not at all ) with current pinning
> and affinity?
This is easy doable with pools.
We are doing this for our BS2000 system.
>
> If the answer to these questions is yes, than I
> suspect one large software company might be very
> interested in cpu pools.
Is one "yes" enough? :-)
Juergen
--
Juergen Gross Principal Developer Operating Systems
TSP ES&S SWE OS6 Telephone: +49 (0) 89 636 47950
Fujitsu Technolgy Solutions e-mail: juergen.gross@ts.fujitsu.com
Otto-Hahn-Ring 6 Internet: ts.fujitsu.com
D-81739 Muenchen Company details: ts.fujitsu.com/imprint.html
next prev parent reply other threads:[~2009-07-29 5:47 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-27 15:20 Cpu pools discussion George Dunlap
2009-07-27 15:50 ` Keir Fraser
2009-07-28 0:41 ` Zhigang Wang
2009-07-28 9:19 ` Tim Deegan
2009-07-28 10:15 ` Juergen Gross
2009-07-28 12:50 ` George Dunlap
2009-07-28 13:07 ` Tim Deegan
2009-07-28 13:24 ` Juergen Gross
2009-07-28 13:31 ` Tim Deegan
2009-07-28 13:39 ` Juergen Gross
2009-07-28 13:47 ` George Dunlap
2009-07-28 13:57 ` Juergen Gross
2009-07-28 15:29 ` Dan Magenheimer
2009-07-28 15:49 ` Keir Fraser
2009-07-28 16:26 ` George Dunlap
2009-07-29 0:29 ` Zhigang Wang
2009-07-29 5:47 ` Juergen Gross [this message]
2009-07-28 13:41 ` George Dunlap
2009-07-28 13:55 ` Keir Fraser
2009-07-29 6:14 ` Juergen Gross
2009-07-29 7:39 ` Keir Fraser
2009-07-29 8:52 ` Juergen Gross
2009-07-29 9:35 ` Keir Fraser
2009-07-29 11:06 ` Juergen Gross
2009-07-29 12:28 ` Keir Fraser
2009-07-29 12:33 ` Juergen Gross
2009-07-29 13:00 ` Keir Fraser
2009-07-30 5:46 ` Juergen Gross
2009-07-30 8:30 ` Keir Fraser
2009-07-30 8:58 ` Juergen Gross
2009-07-30 12:51 ` Juergen Gross
2009-07-30 13:18 ` Keir Fraser
2009-07-31 5:25 ` Juergen Gross
2009-07-28 5:40 ` Juergen Gross
2009-07-28 9:09 ` Keir Fraser
2009-07-28 10:19 ` Juergen Gross
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=4A6FE282.60403@ts.fujitsu.com \
--to=juergen.gross@ts.fujitsu.com \
--cc=Keir.Fraser@eu.citrix.com \
--cc=Tim.Deegan@citrix.com \
--cc=dan.magenheimer@oracle.com \
--cc=dunlapg@umich.edu \
--cc=xen-devel@lists.xensource.com \
--cc=zhigang.x.wang@oracle.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.