WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] RAM issue

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] RAM issue
From: Mikael Fridh <mikael.fridh@xxxxxxxxx>
Date: Tue, 7 Oct 2008 10:03:46 +0200
Delivery-date: Tue, 07 Oct 2008 01:04:29 -0700
Dkim-signature: v=0.5; a=rsa-sha256; c=simple/simple; d=uu.se; s=centralsmtp; t=1223366627; bh=adoCooGFty/4O3pr7QbwlnONWnJKONnmkL5 ddm+HXCo=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent:X-Virus-Scanned; b=ryvDCaelkx+FWy4aFe1t++YB EwO03ZQAxgQICNuePdfz0J6i4bS4wF2c2MPTtxJOnKpXzFsqX8NKas0F+nJOiUOL4NQ kOK7c9reyNAe7bXrYM+z5+cv45WYDmD6Hqboukf8o7W9lnN3bd+huIglvmNXUcaEhLi /6Vq2b/H7g78M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0C049911-CF47-4190-A054-61E9A4E0C4D7@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <b2d4ab9d0810031124y60c7f34bie6e016a3e056d06e@xxxxxxxxxxxxxx> <43ea8d070810031129n4a6e0891h612a796ddaf64f3b@xxxxxxxxxxxxxx> <b2d4ab9d0810060324u646090afk6b1e60f7c9073683@xxxxxxxxxxxxxx> <b2d4ab9d0810061034u69f2083dif4bc3611f34c65db@xxxxxxxxxxxxxx> <20081006101554.2xhb1zxi4kkso8ow@xxxxxxxxxxxxxx> <b2d4ab9d0810061119h318027d6g884ed8d2d7e17020@xxxxxxxxxxxxxx> <20081006103206.12nfg495ccgossgw@xxxxxxxxxxxxxx> <0C049911-CF47-4190-A054-61E9A4E0C4D7@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
On Mon, Oct 06, 2008 at 08:57:54PM +0200, Pim van Riezen wrote:
>
> On Oct 6, 2008, at 20:32 , jonr@xxxxxxxxxx wrote:
>> 256MB     256*1024=262144
>> 512MB     512*1024=524288
>> 9GB       9216*1024=9437184  ;)
>>
>> kernel /boot/xen-3.2gz dom0_mem=524288
>
> dom0_mem=512M works just fine.

All this dom0 memory is usually used for cache.
Do a free(1) to see how much is currently cached:
> # free -m
> total       used       free     shared    buffers cached
>   512        468         43          0          2 117

Read the proc(5) man page, search for "drop_caches" and you might be
able to free up some memory:

> # sync
> # echo 1 > /proc/sys/vm/drop_caches 
> # free -m
> total       used       free     shared    buffers cached
>   512        370        141          0          0 21

I know, not much difference here, but before I set dom0_mem to 512M I
used this particular trick to free a few gigs of kernel cache for new
domUs.

--
Fridh

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>