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

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

On Tue, Aug 2, 2011 at 15:50, Alexander Graf <agraf@xxxxxxx> wrote:
> On 08/01/2011 09:26 PM, Anthony PERARD wrote:
>> 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.
> Not sure I understand. What are those 75MB?

I did the calculation like that:
 - I make sure that the MapCache was full.
 - I did the difference between the value in mapcache->max_mcache_size
and the size of the used address space by the QEMU process.

Anthony PERARD

Xen-devel mailing list



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