[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Qemu and heavily increased RSS usage
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] Qemu and heavily increased RSS usage |
Date: |
Fri, 24 Jun 2016 10:58:28 +0100 |
On 24 June 2016 at 10:37, Stefan Hajnoczi <address@hidden> wrote:
> On Wed, Jun 22, 2016 at 09:56:06PM +0100, Peter Maydell wrote:
>> On 22 June 2016 at 20:55, Peter Lieven <address@hidden> wrote:
>> > What makes the coroutine pool memory intensive is the stack size of 1MB per
>> > coroutine. Is it really necessary to have such a big stack?
>>
>> That reminds me that I was wondering if we should allocate
>> our coroutine stacks with MAP_GROWSDOWN (though if we're
>> not actually using 1MB of stack then it's only going to
>> be eating virtual memory, not necessarily real memory.)
>
> Yes, MAP_GROWSDOWN will not reduce RSS.
Right, but then the 1MB of stack as currently allocated isn't
going to be affecting RSS either I would have thought (except
transiently, since we zero it on allocation which will
bring it into the RSS until it falls back out again
because we don't touch it after that).
thanks
-- PMM
- [Qemu-devel] Qemu and heavily increased RSS usage, Peter Lieven, 2016/06/21
- Re: [Qemu-devel] Qemu and heavily increased RSS usage, Dr. David Alan Gilbert, 2016/06/21
- Re: [Qemu-devel] Qemu and heavily increased RSS usage, Peter Lieven, 2016/06/21
- Re: [Qemu-devel] Qemu and heavily increased RSS usage, Stefan Hajnoczi, 2016/06/22
- Re: [Qemu-devel] Qemu and heavily increased RSS usage, Peter Lieven, 2016/06/22
- Re: [Qemu-devel] Qemu and heavily increased RSS usage, Peter Maydell, 2016/06/22
- Re: [Qemu-devel] Qemu and heavily increased RSS usage, Stefan Hajnoczi, 2016/06/24
- Re: [Qemu-devel] Qemu and heavily increased RSS usage, Peter Lieven, 2016/06/24
- Re: [Qemu-devel] Qemu and heavily increased RSS usage, Dr. David Alan Gilbert, 2016/06/24
- Re: [Qemu-devel] Qemu and heavily increased RSS usage,
Peter Maydell <=
- Re: [Qemu-devel] Qemu and heavily increased RSS usage, Peter Lieven, 2016/06/24
- Re: [Qemu-devel] Qemu and heavily increased RSS usage, Stefan Hajnoczi, 2016/06/27
- Re: [Qemu-devel] Qemu and heavily increased RSS usage, Peter Lieven, 2016/06/27
Re: [Qemu-devel] Qemu and heavily increased RSS usage, Peter Lieven, 2016/06/23
Re: [Qemu-devel] Qemu and heavily increased RSS usage, Peter Lieven, 2016/06/23
Re: [Qemu-devel] Qemu and heavily increased RSS usage, Paolo Bonzini, 2016/06/23
Re: [Qemu-devel] Qemu and heavily increased RSS usage, Peter Lieven, 2016/06/23