On 02.05.2012 06:28, Cun Zhang wrote:
> Subject:It seems that memory leak in kvm with Windows XP guest very seriously
> Package: qemu-kvm
> Version: 1:1.0+dfsg-11
> Severity: normal
> 
> Dear Maintainer,
> 
> After I upgrade the kernel to 3.2.0, the WinXP guest in the kvm VM
> become so slow, and I found memory leak seems happen. When the guest
> start, it just need only less then 300M memory. However with serveral
> operating to  start/close softwares, 2G memory is used out in the
> guest. Momery isn't freed when all softwares are closed.

Interesting.  You say that the problem is related to the kernel
upgrade, yet you're filling the bug against qemu-kvm.


> I start guest OS with the following commands:
> 
> kvm -m 2048 -smp 2 -soundhw ac97 -hda /media/sda5/WindowsXP.ovl -rtc
> base=localtime,clock=host -net nic,vlan=0 -net user,vlan=0 -vga std -vnc
> :3 -usbdevice tablet &

You assigned 2Gb memory to your guest, and you complain that the guest
uses 2Gb memory.  I don't see the logic here.

Why do you think guest should free memory back to the HOST - if guest
has 2Gb at its disposal and don't even KNOW that it is running in some
virtual environment?  It just uses whatever it "thinks" it physically
has, where's the problem?

> More information can be provided if you give me several detailed debug
> suggestion.

Yes please.  The main question is: which behavour do you consider a leak,
which behavour you expect and why.

Thanks,

/mjt



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to