From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Oam-00078z-PJ for qemu-devel@nongnu.org; Thu, 09 Jan 2014 18:00:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1OaY-0007OM-Rf for qemu-devel@nongnu.org; Thu, 09 Jan 2014 18:00:48 -0500 Received: from mail-ea0-x231.google.com ([2a00:1450:4013:c01::231]:34927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1OaY-0007OI-KP for qemu-devel@nongnu.org; Thu, 09 Jan 2014 18:00:34 -0500 Received: by mail-ea0-f177.google.com with SMTP id n15so1757444ead.36 for ; Thu, 09 Jan 2014 15:00:33 -0800 (PST) Received: from 127.0.0.1 (host-81-190-220-234.wroclaw.mm.pl. [81.190.220.234]) by mx.google.com with ESMTPSA id h3sm9597641eem.15.2014.01.09.15.00.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 15:00:32 -0800 (PST) Message-ID: <52CF2A0F.1060305@gmail.com> Date: Fri, 10 Jan 2014 00:00:31 +0100 From: Piotr Karbowski MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Enabling vhost-net cause insane high memory usage. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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.