qemu-devel
[Top][All Lists]
Advanced

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

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


From: Anthony PERARD
Subject: Re: [Qemu-devel] [PATCH] xen-mapcache: Fix rlimit set size.
Date: Thu, 4 Aug 2011 14:33:44 +0100

On Tue, Aug 2, 2011 at 15:50, Alexander Graf <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]