From: "Nick Couchman" <Nick.Couchman@seakr.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>,
"Mr. Teo En Ming (Zhang Enming)" <space.time.universe@gmail.com>,
pasik@iki.fi
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"xen-users@lists.xensource.com" <xen-users@lists.xensource.com>,
Robert Dunkley <Robert@saq.co.uk>
Subject: Re: Re: [Xen-users] Max. PV and HVM Guests
Date: Mon, 09 Nov 2009 08:29:48 -0700 [thread overview]
Message-ID: <4AF7D2FC020000990002A811@collaborate.seakr.com> (raw)
In-Reply-To: <C71DE335.199BB%keir.fraser@eu.citrix.com>
Thanks for the information! Looks like I'll be adjusting some boot-time options on my Xen servers. I have seen a couple of issues now and then with either migration or starting a domU, but it happens once every few months at the most, and usually I blame the migration issues on a fault network connection or something like that. I'll have to try out limiting my dom0s to 1 or 2 GB of RAM and see if those issues go away!
Thanks!
-Nick
>>> On 2009/11/09 at 08:18, Keir Fraser <keir.fraser@eu.citrix.com> wrote:
> On 09/11/2009 15:06, "Nick Couchman" <Nick.Couchman@seakr.com> wrote:
>
>> Really? I thought current conventional wisdom was to allow Xen to
>> self-manage memory in both dom0 and domUs, and not to manually adjust
>> this? I run several Xen systems with anywhere from 8 to 24 GB of RAM
>> and 20 to 30 domUs on some of these systems and have *never* specified
>> the dom0 memory at boot time - the Xen ballooning has always functioned
>> perfectly fine, and never crashed my dom0. Furthermore, while I'm not
>> Linux developer and so not familiar with how Linux calculates buffering
>> and caching, I do know that my Linux systems dynamically manage buffers
>> and caches, and when memory is reduced or some application requires a
>> larger amount of physical memory, Linux reduces the amount of data in
>> buffers and caches.
>
> If you are not using dom0 as a general-purpose OS then it is a very good
> idea to specify dom0's memory allowance via dom0_mem= and disable
> auto-ballooning in the xend-config.sxp. There are a few reasons for this,
> the most compelling being that Linux will have a metadata overhead for
> tracking memory usage, and this will be a fraction (say a percent or so) of
> its initial memory allocation. So, that overhead may be just 2% of 24GB,
> say, but then if dom0 gets ballooned down to 1GB it'll be more like 50%!
> Clearly you are limited in how far you can balloon down without risking the
> OOM killer in dom0.
>
> Apart from that, the auto-ballooner has been implicated in various quirky
> bugs in the past -- failing domain creations and migrations for the most
> part -- so it's nice to turn it off if you can, as that's one less thing to
> fail. And if dom0 is single-purpose you should be able to work out how much
> memory it needs for that purpose and statically allocate it. Using
> auto-ballooner is actually perverse in this scenario, in that dom0 gets the
> least memory when it needs it the most (because it presumably has highest
> load when servicing the most VMs, but in that case auto-ballooner has stolen
> lots of memory from dom0).
>
> My 2c!
>
> -- Keir
--------
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.
next prev parent reply other threads:[~2009-11-09 15:29 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 15:06 Re: [Xen-users] Max. PV and HVM Guests Nick Couchman
2009-11-09 15:17 ` [Xen-devel] " Pasi Kärkkäinen
2009-11-09 15:24 ` Keir Fraser
2009-11-09 15:27 ` Re: [Xen-users] " Pasi Kärkkäinen
2009-11-09 15:39 ` Dan Magenheimer
2009-11-09 15:18 ` [Xen-devel] " Keir Fraser
2009-11-09 15:29 ` Nick Couchman [this message]
2009-11-09 15:41 ` Mr. Teo En Ming (Zhang Enming)
-- strict thread matches above, loose matches on Subject: below --
2009-11-08 11:45 Mr. Teo En Ming (Zhang Enming)
2009-11-08 13:01 ` Moi meme
2009-11-09 8:17 ` [Xen-users] " Robert Dunkley
2009-11-09 10:52 ` Mr. Teo En Ming (Zhang Enming)
2009-11-09 11:54 ` [Xen-devel] " Pasi Kärkkäinen
2009-11-09 12:01 ` Re: [Xen-users] " Mr. Teo En Ming (Zhang Enming)
2009-11-09 12:05 ` Pasi Kärkkäinen
2009-11-09 12:14 ` Mr. Teo En Ming (Zhang Enming)
2009-11-09 12:18 ` Pasi Kärkkäinen
2009-11-09 13:10 ` Mr. Teo En Ming (Zhang Enming)
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=4AF7D2FC020000990002A811@collaborate.seakr.com \
--to=nick.couchman@seakr.com \
--cc=Robert@saq.co.uk \
--cc=keir.fraser@eu.citrix.com \
--cc=pasik@iki.fi \
--cc=space.time.universe@gmail.com \
--cc=xen-devel@lists.xensource.com \
--cc=xen-users@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.