From: Dario Faggioli <dario.faggioli@citrix.com>
To: Jim Fehlig <jfehlig@suse.com>, Juergen Gross <jgross@suse.com>,
Ian Jackson <ian.jackson@eu.citrix.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
Wei Liu <wei.liu2@citrix.com>
Subject: Re: memory hotplug for domUs
Date: Wed, 25 Jan 2017 14:02:02 +0100 [thread overview]
Message-ID: <1485349322.32103.111.camel@citrix.com> (raw)
In-Reply-To: <1fdd8185-4270-c1ea-0893-c8d7dd7fae41@suse.com>
[-- Attachment #1.1: Type: text/plain, Size: 2471 bytes --]
On Tue, 2017-01-24 at 16:03 -0700, Jim Fehlig wrote:
> On 01/20/2017 09:06 AM, Juergen Gross wrote:
> > On 20/01/17 16:54, Ian Jackson wrote:
> > > Juergen Gross writes ("memory hotplug for domUs"):
> > > > We first thought to enhance "xl mem-set", but after some more
> > > > thinking
> > > > about it I'd rather add a new xl command, e.g. "mem-add" (we
> > > > could later
> > > > even add "mem-remove" to support memory unplug).
> > >
> > > Why ? Why would xl mem-set not automatically do the right thing
> > > ?
> >
> > How would you specify the numa node to add the memory to?
>
> And the host numa node providing the memory?
>
Exactly!
I've actually always been a lot confused by all these mem-max,
mem-set, set-mem-max, max-set-mem, static-set-mem-max, set-mem-static-
max, etc ( :-P ), so I'm not really comfortable giving advices.
However, I strongly agree on the fact that this new capability need to
be (v)NUMA aware (at least, potentially, for when we'll have complete
support for that in all the moving parts). Or we risk having to revisit
and potentially change again and re-document the behavior!
If a new command is not desirable, can't we add options and parameters
to `xl mem-set', and fallback to some well defined default if they're
not there ?
> > I think it would be clearer with new commands for hotplugging. I
> > don't feel very strong about this, so in case everyone else is fine
> > with handling everything via mem-set I won't object.
>
> If ACPI memory hotplug is indeed the goal, then I agree new commands
> should be
> used since it is quite different than ballooning.
>
Yeah, but again, the multiplexing can also happen inside of xl or
libxl, basing on parameters, etc.
I think the biggest issue here --as in, the thing we're most in lack of
right now-- is is to come up with a well defined and well documented
behavior, much rather than any technical aspect.
FWIW, I'm a bit two minded, as I agree with Juergen and Jim that adding
new commands may be cleaner, but I wonder whether having
_yet_another_mem_foobar_thing_ would not reveal too confusing and hard
to use from a user perspective...
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
next prev parent reply other threads:[~2017-01-25 13:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-20 9:26 memory hotplug for domUs Juergen Gross
2017-01-20 11:08 ` Andrew Cooper
2017-01-20 13:50 ` Konrad Rzeszutek Wilk
2017-01-20 14:19 ` Boris Ostrovsky
2017-01-20 14:27 ` Roger Pau Monné
2017-01-20 14:34 ` Juergen Gross
2017-01-20 14:36 ` Boris Ostrovsky
2017-01-20 15:54 ` Ian Jackson
2017-01-20 16:06 ` Juergen Gross
2017-01-20 16:37 ` Ian Jackson
2017-01-20 16:38 ` Juergen Gross
2017-01-24 23:03 ` Jim Fehlig
2017-01-25 13:02 ` Dario Faggioli [this message]
2017-02-03 10:04 ` Juergen Gross
2017-02-03 12:19 ` Ian Jackson
2017-02-03 13:16 ` Juergen Gross
2017-02-03 13:23 ` Ian Jackson
2017-02-03 13:29 ` 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=1485349322.32103.111.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jfehlig@suse.com \
--cc=jgross@suse.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.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 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.