[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] RAM issue



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.