Received: from [140.186.70.92] (port=36327 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0MO2-0004rY-LQ for qemu-devel@nongnu.org; Mon, 27 Sep 2010 18:41:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0MNs-00039t-3k for qemu-devel@nongnu.org; Mon, 27 Sep 2010 18:41:21 -0400 Received: from adelie.canonical.com ([91.189.90.139]:46954) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0MNr-00039j-Ph for qemu-devel@nongnu.org; Mon, 27 Sep 2010 18:41:20 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1P0MNo-0003Te-Mu for ; Mon, 27 Sep 2010 23:41:17 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id E958A2E80ED for ; Mon, 27 Sep 2010 22:41:04 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 27 Sep 2010 22:32:47 -0000 From: Moshroum Sender: bounces@canonical.com References: <20100926200911.20945.84209.malonedeb@palladium.canonical.com> Message-Id: <20100927223247.21588.68064.launchpad@potassium.ubuntu.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 648356] Re: VirtFS possible memory leak in 9p virtio mapped Reply-To: Bug 648356 <648356@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Description changed: I use as client Debian squeeze i386 with a custom kernel: Linux (none) 2.6.35.5 #3 Thu Sep 23 18:36:02 UTC 2010 i686 GNU/Linux = And as host Debian squeeze amd64 Linux asd 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/L= inux = kvm version is: kvm-88-5908-gdd67374 = Started the client using: sudo /usr/local/kvm/bin/qemu-system-x86_64 -m 1024 -kernel linux-2.6.35.5= .qemu -drive file=3Droot.img,if=3Dvirtio -net nic,macaddr=3D02:ca:ff:ee:ba:= be,model=3Dvirtio,vlan=3D1 -net tap,ifname=3Dtap1,vlan=3D1,script=3Dno -vir= tfs local,path=3D/host,security_model=3Dmapped,mount_tag=3Dhost -nographic = - = I've done following inside the guest: = $ mount -t 9p -o trans=3Dvirtio host /mnt $ rm -f /mnt/test $ touch /mnt/test $ ls -l /mnt/test - $ while true ;do ls -l /host/test > /dev/null; done + $ while true ;do ls -l /mnt/test > /dev/null; done = Now I can see on my host system that the memory consumption starts at 90MB and after a minute it raises to 130MB. The extra memory consumption stops when I stop the while-loop. = $ while true ;do ls -l /tmp > /dev/null; done = Doesn't show that behaviour. -- = VirtFS possible memory leak in 9p virtio mapped https://bugs.launchpad.net/bugs/648356 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: I use as client Debian squeeze i386 with a custom kernel: Linux (none) 2.6.35.5 #3 Thu Sep 23 18:36:02 UTC 2010 i686 GNU/Linux And as host Debian squeeze amd64 Linux asd 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/Lin= ux kvm version is: kvm-88-5908-gdd67374 Started the client using: sudo /usr/local/kvm/bin/qemu-system-x86_64 -m 1024 -kernel linux-2.6.35.5.q= emu -drive file=3Droot.img,if=3Dvirtio -net nic,macaddr=3D02:ca:ff:ee:ba:be= ,model=3Dvirtio,vlan=3D1 -net tap,ifname=3Dtap1,vlan=3D1,script=3Dno -virtf= s local,path=3D/host,security_model=3Dmapped,mount_tag=3Dhost -nographic I've done following inside the guest: $ mount -t 9p -o trans=3Dvirtio host /mnt $ rm -f /mnt/test $ touch /mnt/test $ ls -l /mnt/test $ while true ;do ls -l /mnt/test > /dev/null; done Now I can see on my host system that the memory consumption starts at 90MB = and after a minute it raises to 130MB. The extra memory consumption stops = when I stop the while-loop. $ while true ;do ls -l /tmp > /dev/null; done Doesn't show that behaviour.