qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Piotr Karbowski <piotr.karbowski@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Enabling vhost-net cause insane high memory usage.
Date: Fri, 10 Jan 2014 00:00:31 +0100	[thread overview]
Message-ID: <52CF2A0F.1060305@gmail.com> (raw)

Hello,

kernel 3.12.5, qemu-1.7.0.

With vhost=on, qemu shortly after start uses all its assigned memory (2G 
for example), without vhost-net enabled it does not go to more than 200 
MB on my idling test virtual machine. 100% reproducable. I think its not 
how it should be.

Full command:
/usr/bin/qemu-system-x86_64 -machine accel=kvm -name _debian -usb 
-machine accel=kvm -cpu host,level=9 -smp cpus=2 -vga std -monitor 
unix://home/piotr/src/vmninja/sockets/_debian.monitor.socket,server,nowait 
-vnc unix://home/piotr/src/vmninja/sockets/_debian.vnc.socket -m 2048 
-boot order=d,menu=on -drive if=ide,index=2,media=cdrom,id=virtcd 
-netdev tap,id=if0,helper=/usr/libexec/qemu-bridge-helper --br=lebridge0 
-device virtio-net-pci,netdev=if0,mac=de:ee:b3:9e:a3:d5,romfile= -drive 
file=/home/piotr/virt/kvm/_debian.raw,if=virtio,cache=writeback

-- Piotr.

             reply	other threads:[~2014-01-09 23:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-09 23:00 Piotr Karbowski [this message]
2014-01-15  2:41 ` [Qemu-devel] Enabling vhost-net cause insane high memory usage Stefan Hajnoczi
2014-01-15 10:03 ` Michael S. Tsirkin
2014-01-15 21:36   ` Piotr Karbowski
2014-01-15 21:44     ` Piotr Karbowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52CF2A0F.1060305@gmail.com \
    --to=piotr.karbowski@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).