From: "Dan Magenheimer" <dan.magenheimer@oracle.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>,
Ian Pratt <Ian.Pratt@eu.citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: RE: "cpus" config parameter broken?
Date: Thu, 10 Jan 2008 11:38:28 -0700 [thread overview]
Message-ID: <20080110113828859.00000003216@djm-pc> (raw)
In-Reply-To: <C3AACE33.11EBA%Keir.Fraser@cl.cam.ac.uk>
As a logical consequence:
- the v->cpu_affinity mask should never have bits set for
processors that don't exist on the current physical system
(although all bits set == "any" is probably an OK exception)
- the modulo behavior currently implemented in "xm vcpu-pin"
and the config file "cpus" parameter should be removed, and
- if cpu values are specified by "xm vcpu-pin" or "cpus"
beyond the number of physical cpus, the xm command should
fail.
Agreed?
> -----Original Message-----
> From: Keir Fraser [mailto:Keir.Fraser@cl.cam.ac.uk]
> Sent: Wednesday, January 09, 2008 12:17 PM
> To: dan.magenheimer@oracle.com; Ian Pratt;
> xen-devel@lists.xensource.com
> Subject: Re: [Xen-devel] "cpus" config parameter broken?
>
>
> On 9/1/08 18:40, "Dan Magenheimer" <dan.magenheimer@oracle.com> wrote:
>
> > My opinion: CPU affinity/restriction should NOT be preserved
> > across migration. Or if it is, it should only be preserved
> > when the source and target have the same number of pcpus
> > (thus allowing save/restore to work OK). Or maybe it should
> > only be preserved for save/restore and not for migration.
> >>>>>>>>>>>> Comments? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> I agree with that. Unless save/restore is on the same machine
> (identified in
> some way) or at least has identical CPU topology as far as we can see.
> Otherwise some higher-level entity needs to be smart enough
> to work out
> affinity during restore and issue the correct 'xm' commands
> (or equivalent).
>
> -- Keir
>
>
>
next prev parent reply other threads:[~2008-01-10 18:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 1:09 "cpus" config parameter broken? Dan Magenheimer
2008-01-08 1:57 ` Ian Pratt
2008-01-09 18:40 ` Dan Magenheimer
2008-01-09 19:17 ` Keir Fraser
2008-01-10 18:38 ` Dan Magenheimer [this message]
2008-01-10 20:50 ` Keir Fraser
2008-01-10 21:10 ` Dan Magenheimer
2008-01-10 21:57 ` Keir Fraser
2008-01-10 22:40 ` Dan Magenheimer
2008-01-10 22:46 ` Keir Fraser
2008-01-10 22:53 ` Dan Magenheimer
2008-01-10 22:55 ` Keir Fraser
2008-01-10 23:46 ` Dan Magenheimer
2008-01-10 23:53 ` Keir Fraser
2008-01-11 0:43 ` Dan Magenheimer
2008-01-11 0:53 ` Keir Fraser
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=20080110113828859.00000003216@djm-pc \
--to=dan.magenheimer@oracle.com \
--cc=Ian.Pratt@eu.citrix.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--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.