From: Olaf Hering <olaf@aepfle.de>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] RFC: initial libxl support for xenpaging
Date: Fri, 17 Feb 2012 15:25:05 +0100 [thread overview]
Message-ID: <20120217142505.GA10523@aepfle.de> (raw)
In-Reply-To: <1329486241.3131.81.camel@zakaz.uk.xensource.com>
On Fri, Feb 17, Ian Campbell wrote:
> On Thu, 2012-02-16 at 07:47 +0000, Olaf Hering wrote:
> > # HG changeset patch
> > # User Olaf Hering <olaf@aepfle.de>
> > # Date 1329378376 -3600
> > # Node ID d368cf36d66c1e8df60bd0a4868c171b6a929edc
> > # Parent bf0a7c205687857a8f8d3bd3841654ed61828193
> > RFC: initial libxl support for xenpaging
> >
> > After the previous discussion about integration of xenpaging into xl/libxl it
> > was not clear to me wether my proposal as a whole or only parts of it were
> > rejected. So here is my current understanding of the comments I received.
> >
> > Add initial support to libxl to start xenpaging for a HVM guest.
> > These are the considerations:
> > - a knob in domU.cfg is needed to start xenpaging
> > - xenpaging needs a target in KiB in "memory/target-tot_pages"
> > -> the knob should be the target value in MiB: mem_target_paging=NUM
> > if the value is 0, xenpaging is not started
>
> Wasn't the plan that the knob exported by xl should be a boolean and
> that libxl should have the full value in its API, or am I
> misremembering?
That was not clear to me, thats why I'm asking again.
> IOW at the libxl layer we have the full semantics available to callers
> but at the xl layer we only expose one "target memory" value to users
> which we expect the guest to use ballooning to reach but which we
> "enforce" with paging if they don't comply.
So if I understand that right there should be a new boolean, like
xenpaging=yes/no?
In the .cfg it can be either like this, which appears to mean the pager
is started but has no target (or target is N itself):
memory=N
xenpaging=yes
Or it could be like this (in which case the pager currently cant start
due to lack of PoD support):
memory=N
maxmem=N+X
xenpaging=yes
In both cases "xl mem-set" will adjust both ballooning and paging values?
Should there be xl commands to adjust just ballooning and/or paging?
Regarding the tuning knobs, right now I can only think of the policy mru
size and the number of evicts before checking for new events.
So you propose to have something like "xl xenpaging domid knob value"?
Olaf
next prev parent reply other threads:[~2012-02-17 14:25 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-16 7:47 [PATCH] RFC: initial libxl support for xenpaging Olaf Hering
2012-02-17 13:44 ` Ian Campbell
2012-02-17 14:25 ` Olaf Hering [this message]
2012-02-17 14:58 ` Ian Campbell
2012-02-17 15:24 ` Olaf Hering
2012-02-17 15:33 ` Ian Campbell
2012-02-17 15:43 ` Olaf Hering
2012-02-17 15:54 ` Ian Campbell
2012-02-17 16:03 ` Olaf Hering
2012-02-17 16:43 ` Ian Campbell
2012-02-20 10:44 ` George Dunlap
2012-02-20 11:12 ` Olaf Hering
2012-02-20 14:48 ` George Dunlap
2012-02-20 15:19 ` Olaf Hering
2012-02-20 16:06 ` George Dunlap
2012-02-20 15:38 ` Olaf Hering
2012-02-20 16:04 ` George Dunlap
2012-02-21 9:59 ` Ian Campbell
2012-02-21 11:27 ` Olaf Hering
2012-02-21 11:34 ` Ian Campbell
2012-02-21 12:21 ` Olaf Hering
2012-02-21 12:20 ` George Dunlap
2012-02-23 10:42 ` Ian Campbell
2012-02-23 12:18 ` George Dunlap
2012-02-23 16:22 ` Andres Lagar-Cavilla
2012-02-23 17:30 ` George Dunlap
2012-02-24 10:11 ` Ian Campbell
2012-02-24 15:38 ` Olaf Hering
2012-02-24 16:39 ` Ian Campbell
2012-02-24 22:19 ` Olaf Hering
2012-02-24 17:12 ` Andres Lagar-Cavilla
2012-02-27 9:44 ` Ian Campbell
2012-02-27 14:45 ` Andres Lagar-Cavilla
2012-02-28 13:05 ` George Dunlap
2012-02-28 15:25 ` Andres Lagar-Cavilla
[not found] ` <CAFLBxZapKUVaiz4e-VwGTwj0a0FOPij5hXrRkevrTC6brtug4Q@mail.gmail.com>
2012-02-28 17:03 ` Fwd: " George Dunlap
2012-03-06 23:07 ` Andres Lagar-Cavilla
[not found] ` <CAFLBxZavBR0c_p1E9NpfkNzhrN-LCbtV=kPRwFZ3VFFMKPBNKg@mail.gmail.com>
2012-02-28 17:02 ` Fwd: " George Dunlap
2012-02-28 17:12 ` Ian Campbell
2012-02-21 9:05 ` Ian Campbell
[not found] <mailman.3929.1329497068.1471.xen-devel@lists.xensource.com>
2012-02-17 16:55 ` Andres Lagar-Cavilla
2012-02-17 17:03 ` Ian Campbell
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=20120217142505.GA10523@aepfle.de \
--to=olaf@aepfle.de \
--cc=Ian.Campbell@citrix.com \
--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.