[Top][All Lists]

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

Re: [Qemu-devel] [Question] Qemu's Heap Becomes Very Large and Never Red

From: Zhong Yang
Subject: Re: [Qemu-devel] [Question] Qemu's Heap Becomes Very Large and Never Reduce Down
Date: Thu, 16 Nov 2017 09:43:46 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Nov 15, 2017 at 02:18:55PM +0100, Paolo Bonzini wrote:
> On 15/11/2017 04:14, Xulei (Stone) wrote:
> > Hi, guys
> > 
> > I met a strange problem, with qemu 2.8.1:
> > qemu consumes too many heap memory after several operations and can not
> > release them anymore: 
> > hot pulg/unplug disk & net, vnc connect/disconnect, guestOS reboot, etc.
> Try with newer QEMU; until recently we used a lot of memory at startup,
> but it was improved in 2.11.
> However, I think Anthony also had a patch adding a malloc_trim call in
> the RCU thread, which improved memory usage.  Anthony, do you know if
> this is still necessary in 2.11?
  Hello Paolo,

  Last time, when you traveled in BeiJing, we talked about this malloc_trim() 
  solution in RH office. At that time, you asked me to send this patch to 
  I can try this patch in the newest Qemu version if you regard this solution is

  I also want to look for other more better solution, but there are some 
  tasks interrupt me.

  In fact, Anthony also have some other solutions for heap memory deduction in
  our intel ClearContainer.

  Yang Zhong
> Thanks,
> Paolo

reply via email to

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