From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Dan Magenheimer <dan.magenheimer@oracle.com>,
mike.mcclurg@citrix.com, anil@recoil.org
Cc: Kurt Hackel <kurt.hackel@oracle.com>, xen-devel@lists.xen.org
Subject: Re: domain creation vs querying free memory (xend and xl)
Date: Thu, 27 Sep 2012 07:26:24 -0400 [thread overview]
Message-ID: <20120927112624.GA8576@phenom.dumpdata.com> (raw)
In-Reply-To: <53b8c758-2675-42a7-b63f-4f9ad0006d84@default>
On Wed, Sep 26, 2012 at 02:17:06PM -0700, Dan Magenheimer wrote:
> I was asked a question that seems like it should be obvious
> but it doesn't seem to be, at least in xm-land. I'll look
> into it further, as well as for xl, but I thought I'd ask
> first to see if there is a known answer or if this is a known
> problem:
>
> Suppose that xm/xl create is issued on a large-memory
> domain (PV or HVM or, future, PVH). It takes awhile
> for this domain to launch and during at least part of this
> time, the toolset hasn't yet requested all of the
> required memory from the hypervisor to complete the
> launch of the domain... or perhaps the toolset has,
> but the hypervisor is slow about calling the long sequence
> of page allocations (e.g. maybe because it is zeroing
> each page?).
>
> Then it is desired to launch a second large-memory domain.
> The tools can query Xen to see if there is sufficient RAM
> and there is, because the first launch has not yet
> allocated all the RAM assigned to it.
>
> But the second domain launch fails, possibly after
> several minutes because, actually, there isn't enough
> physical RAM for both.
>
> Does this make sense? Should the tools "reserve"
> maxmem as a "transaction" and/or ensure that "xm/xl
> free" calls account for the entire requested amount
> of RAM? Or maybe xl _does_ work this way?
So say "freeze" the amount of free memory. Lets CC the XCP folks
>
> Thanks for any comments or discussion!
>
> Dan
next prev parent reply other threads:[~2012-09-27 11:26 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-26 21:17 domain creation vs querying free memory (xend and xl) Dan Magenheimer
2012-09-27 11:26 ` Konrad Rzeszutek Wilk [this message]
2012-09-27 15:32 ` Dan Magenheimer
2012-09-27 15:24 ` George Shuklin
2012-09-28 16:08 ` Dario Faggioli
2012-10-02 18:17 ` Dan Magenheimer
2012-09-28 17:12 ` Ian Jackson
2012-10-01 20:03 ` Dan Magenheimer
2012-10-02 9:10 ` Tim Deegan
2012-10-02 9:47 ` Ian Campbell
2012-10-02 19:33 ` Dan Magenheimer
2012-10-02 20:16 ` Tim Deegan
2012-10-02 21:56 ` Dan Magenheimer
2012-10-04 10:06 ` Tim Deegan
2012-10-04 10:17 ` Ian Campbell
2012-10-04 13:20 ` Andres Lagar-Cavilla
2012-10-04 13:25 ` Ian Campbell
2012-10-04 16:54 ` Dan Magenheimer
2012-10-04 17:00 ` Andres Lagar-Cavilla
2012-10-05 9:44 ` Ian Campbell
2012-10-05 11:40 ` George Dunlap
2012-10-08 1:02 ` Dan Magenheimer
2012-10-16 11:49 ` George Dunlap
2012-10-16 17:51 ` Dan Magenheimer
2012-10-17 17:35 ` George Dunlap
2012-10-17 18:33 ` Andres Lagar-Cavilla
2012-10-17 19:46 ` Dan Magenheimer
2012-10-17 20:14 ` Andres Lagar-Cavilla
2012-10-17 22:07 ` Dan Magenheimer
2012-10-17 18:45 ` Dan Magenheimer
2012-10-17 17:35 ` George Dunlap
2012-10-04 13:33 ` Andres Lagar-Cavilla
2012-10-04 16:59 ` Dan Magenheimer
2012-10-04 17:08 ` Andres Lagar-Cavilla
2012-10-04 17:18 ` Dan Magenheimer
2012-10-04 17:30 ` Andres Lagar-Cavilla
2012-10-04 17:55 ` Dan Magenheimer
2012-10-05 14:25 ` Andres Lagar-Cavilla
2012-10-07 23:43 ` Dan Magenheimer
2012-10-04 16:36 ` Dan Magenheimer
2012-10-04 18:26 ` Olaf Hering
2012-10-04 19:38 ` Dan Magenheimer
2012-10-04 20:18 ` Olaf Hering
2012-10-04 20:35 ` Dan Magenheimer
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=20120927112624.GA8576@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=anil@recoil.org \
--cc=dan.magenheimer@oracle.com \
--cc=kurt.hackel@oracle.com \
--cc=mike.mcclurg@citrix.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).