qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [FYI] memory leak in 0.14.0rc1 ?


From: Torsten Förtsch
Subject: Re: [Qemu-devel] [FYI] memory leak in 0.14.0rc1 ?
Date: Tue, 15 Feb 2011 18:20:10 +0100
User-agent: KMail/1.13.5 (Linux/2.6.34.7-0.7-desktop; KDE/4.4.4; x86_64; ; )

On Tuesday, February 15, 2011 15:43:32 Stefan Hajnoczi wrote:
> > I have installed winxp and run the machine as "/usr/bin/qemu-kvm -name
> > xp.home -m 768 ...".
> 
> Are you able to try QEMU 0.14.0-rc2 from source?
> 
> $ git clone git://git.qemu.org/qemu.git
> $ git checkout v0.14.0-rc2
> $ ./configure --target-list=x86_64-softmmu --enable-io-thread
> --disable-strip --prefix=/usr
> $ make
> $ x86_64-softmmu/qemu-system-x86_64 -enable-kvm -m 768 -name xp.home ...

Now, the process size stays around 1300 Mb and RSS is very constant at 794 Mb.

But the VM is much slower. Although, according to "info kvm" kvm is enabled.

What options do I have to use to get optimal performance?

> Also, please post your full KVM command-line so we know what devices
> and features you have enabled.

x86_64-softmmu/qemu-system-x86_64 \
  -name xp.home -boot order=dc \
  -drive file=/.../xp.home/root.raw,if=virtio \
  -drive file=/.../config.cpio,if=floppy,index=1 \
  -m 768 \
  -usb \
  -rtc base=utc,clock=host \
  -vga std \
  -cpu host \
  -smp 2 \
  -enable-kvm \
  -balloon virtio \
  -vnc 127.0.0.1:15 \
  -monitor unix:/.../xp.home/.monitor,server,nowait \
  -serial unix:/.../xp.home/.ttyS0,server,nowait \
  -net nic,vlan=0,model=virtio,macaddr=E0:23:DA:00:00:05 \
  -net 
tap,vlan=0,name=ext,ifname=qe5,script=/.../qemu-ifup,downscript=/.../qemu-ifdown
 \
  -net nic,vlan=1,model=virtio,macaddr=F0:23:DA:00:00:05 \
  -net 
tap,vlan=1,name=int,ifname=qi5,script=/.../qemu-ifup,downscript=/.../qemu-ifdown
 \
  -rtc base=localtime \
  -usbdevice tablet

In the original command there was another option "boot=on" on the 1st drive.
And, the -daemonize option was given.

BTW, the monitor still says it's QEMU 0.13.92, not 0.14.

Torsten Förtsch



reply via email to

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