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

2011-08-04 Thread Anthony PERARD
On Tue, Aug 2, 2011 at 15:50, Alexander Graf 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. >>

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

2011-08-02 Thread Stefano Stabellini
On Mon, 1 Aug 2011, 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_si

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

2011-08-02 Thread Alexander Graf
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 +

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

2011-08-01 Thread Anthony PERARD
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 m