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] out of memory with xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] out of memory with xen
From: Maarten Vanraes <maarten@xxxxx>
Date: Wed, 27 Jun 2007 14:27:51 +0200
Cc: Arie Goldfeld <arik.goldfeld@xxxxxxxxx>, "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Delivery-date: Wed, 27 Jun 2007 05:26:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B02561EA2@xxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <907625E08839C4409CE5768403633E0B02561EA2@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.4
well if that is so, how can i free the cache?

I've read that an Out Of Memory kernel event should try to free as much cache 
as possible...

Sincerely,

Maarten

Op woensdag 27 juni 2007 11:36, schreef Petersson, Mats:
> > -----Original Message-----
> > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> > Maarten Vanraes
> > Sent: 27 June 2007 10:28
> > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > Cc: Arie Goldfeld
> > Subject: Re: [Xen-users] out of memory with xen
> >
> > wont the caching require more memory anyway, and won't it
> > start to swap and
> > ultimately start to kill processes?
>
> No, because the caches are used from "free memory", so if you don't
> start out with much memory, the cache won't grow so large. Essentially,
> the principle is that if you have some memory that isn't being used for
> "anything", it can be used as cache.
>
> --
> Mats
>
> > Sincerely,
> >
> > Op woensdag 27 juni 2007 10:04, schreef Arie Goldfeld:
> > > You could use dom0_mem grub parameter to restrict the size
> >
> > of RAM dom0
> >
> > > occupies; it looks somethings like this:
> > >
> > > kernel /xen.gz dom0_mem=400000
> > >
> > > On 6/27/07, Maarten Vanraes <maarten@xxxxx> wrote:
> > > > our xen server has 8GB RAM.
> > > >
> > > > dom0 is not doing anything, but has cached about 4.9GB of
> >
> > the ram, which
> >
> > > > results in failure to create new hosts.
> > > >
> > > > i'm using file based storage, and i've read in the
> >
> > mailing list archive
> >
> > > > about
> > > > the problem being /dev/loop being used internally in xen.
> > > >
> > > > is there a way to flush this cache? is there already a fix for the
> > > > extreme caching of these devices?
> > > >
> > > > I see that lvm is a possible workaround, but i'd rather
> >
> > not do this right
> >
> > > > now.
> > > > Plus it is not so easy to convert 500GB into lvm...
> > > >
> > > > any solutions yet?
> > > >
> > > > Sincerely,
> > > > --
> > > > Maarten Vanraes
> > > > BA NV: IT & Security
> > > >
> > > > _______________________________________________
> > > > Xen-users mailing list
> > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > http://lists.xensource.com/xen-users
> >
> > --
> > Maarten Vanraes
> > BA NV: IT & Security
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
Maarten Vanraes
BA NV: IT & Security

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