From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Re: [Xen-users] Max. PV and HVM Guests Date: Mon, 9 Nov 2009 17:27:42 +0200 Message-ID: <20091109152742.GO16033@reaktio.net> References: <20091109151750.GN16033@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Robert Dunkley , "xen-devel@lists.xensource.com" , "Mr. Teo En Ming (Zhang Enming)" , "xen-users@lists.xensource.com" , Nick Couchman List-Id: xen-devel@lists.xenproject.org On Mon, Nov 09, 2009 at 03:24:59PM +0000, Keir Fraser wrote: > On 09/11/2009 15:17, "Pasi K=E4rkk=E4inen" wrote: >=20 > >> Furthermore, while I'm not > >> Linux developer and so not familiar with how Linux calculates buffer= ing > >> and caching, I do know that my Linux systems dynamically manage buff= ers > >> and caches, and when memory is reduced or some application requires = a > >> larger amount of physical memory, Linux reduces the amount of data i= n > >> buffers and caches. > >>=20 > >=20 > > Yeah, it has to do with sizing the network buffers, caches etc.. > >=20 > > It shouldn't _crash_, so Teo is seeing some bug I believe. But it has > > always been "best practice" to limit dom0 memory - and prevent weird > > things happening later (like "memory squeeze in netback driver"). >=20 > The issue is not really kernel data like network buffers and buffer cac= he. > It is kernel memory metadata -- primarily the per-page info structure t= hat > the kernel maintains. The metadata doesn't get shrunk with memory size = when > ballooning out, hence it increases as a proportion of memory still assi= gned > to the domain. That really is significant when aggressively ballooning = down > a large-memory domain. >=20 Ok, thanks. That makes sense.=20 -- Pasi