xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Sarah Newman <srn@prgmr.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Jan Beulich <JBeulich@suse.com>,
	LarsKurth <lars.kurth@citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: Can't always start 32 bit domains after 64 bit domains
Date: Sun, 27 Nov 2016 02:14:11 +0100	[thread overview]
Message-ID: <1480209251.2712.252.camel@citrix.com> (raw)
In-Reply-To: <1479850819.2712.53.camel@citrix.com>


[-- Attachment #1.1: Type: text/plain, Size: 1925 bytes --]

On Tue, 2016-11-22 at 22:40 +0100, Dario Faggioli wrote:
> On Tue, 2016-11-22 at 11:37 -0800, Sarah Newman wrote:
> > If you're saying not specifying "cpus=..." will keep libxl from
> > interfering with the Xens default allocation policy, then Xens
> > default allocation
> > policy no longer starts from the top of memory for 64 bit PV
> > domains,
> > at least for 4.6.3. Maybe it's starting from the top of memory per
> > node.
> > 
> No, I'm saying that _not_ specifying cpus= will trigger libxl
> interference. _Do_ specifying it, will either limit or disable it,
> depending on how you specify it.
> 
> That's all I'm saying.
> 
And let me just add that, the automatic NUMA placement algorithm is
very flexible and extendible.

As I said, I didn't pay much attention at this 32 bit guests memory
issue when doing it (neither did anyone reviewing the code), and I'm
sorry if this is causing troubles.

But, really, if we want to feed a constraint, or a preference about
this inside the algorithm, we can do that without much hassle, and I'm
happy to help with that.

For instance (and I'm really just thinking out loud here), let's assume
that we know memory on NUMA node 0 is what 32 bit guests need: we can
instruct the placement algorithm to either disfavour or ignore node 1
when placing a 64 bit guest.

Or something like that...

If you think this could be interesting, let's talk about it. As soon as
I'll fully understand the constraint, and we'll have agreed on an
interface (e.g., a xl.conf flag?) and on the best course of action
(e.g., disfavour vs. forbid), I can write the code myself. :-)

Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2016-11-27  1:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3423fa13-18bd-ff7b-f44a-af015eda2eb7@prgmr.com>
2016-11-19 21:22 ` Can't always start 32 bit domains after 64 bit domains Sarah Newman
2016-11-21  8:20   ` Jan Beulich
2016-11-21  9:45     ` Sarah Newman
2016-11-21 10:05       ` Jan Beulich
2016-11-21 13:21         ` Andrew Cooper
2016-11-21 19:37           ` Sarah Newman
2016-11-21 21:06             ` Sarah Newman
2016-11-22 18:46               ` Dario Faggioli
2016-11-22 19:37                 ` Sarah Newman
2016-11-22 21:40                   ` Dario Faggioli
2016-11-27  1:14                     ` Dario Faggioli [this message]
2016-11-27  2:46                       ` Sarah Newman
2016-11-22 18:37             ` Dario Faggioli

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=1480209251.2712.252.camel@citrix.com \
    --to=dario.faggioli@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=lars.kurth@citrix.com \
    --cc=srn@prgmr.com \
    --cc=xen-devel@lists.xen.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).