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-devel

Re: [Xen-devel] [PATCH] xen-mapcache: Fix rlimit set size.

To: <anthony.perard@xxxxxxxxxx>,<qemu-devel@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xen-mapcache: Fix rlimit set size.
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Tue, 02 Aug 2011 01:53:21 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, agraf@xxxxxxx, stefano.stabellini@xxxxxxxxxxxxx
Delivery-date: Mon, 01 Aug 2011 17:54:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Anthony PERARD 08/01/11 9:27 PM >>> 
>Previously, the address space soft limit was set mcache_max_size. So, 
>before the mcache_max_size was reached by the mapcache, QEMU was killed 
>for overuse of the virtual address space.
>
>This patch fix that by setting the soft limit to mcache_max_size + 80MB. 
>I observed that QEMU use 75MB more than max_mcache_size after several 
>empirical tests. 

Rather fragile going forward I would say. I there any reason not to set
the limit to infinity?

Jan

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