KVM: 0.930 other: 0.895 boot: 0.874 instruction: 0.872 graphic: 0.870 device: 0.863 assembly: 0.858 vnc: 0.847 semantic: 0.843 socket: 0.840 network: 0.836 mistranslation: 0.787 9p virtual file system on qemu slow Hi, The 9p virtual file system is slow. Several examples below: --------------------------------------------------------- Host for the first time: $ time ls bam.unsorted/ ........................... real 0m0.084s user 0m0.000s sys 0m0.028s -------------------------------------------------- Host second and following: real 0m0.009s user 0m0.000s sys 0m0.008s ------------------------------------------------------ VM for the first time: $ time ls bam.unsorted/ ................................ real 0m23.141s user 0m0.064s sys 0m2.156s ------------------------------------------------------ VM for the second time real 0m3.643s user 0m0.024s sys 0m0.424s ---------------------------------------------------- Copy on host: $ time cp 5173T.root.bak test.tmp real 0m30.346s user 0m0.004s sys 0m5.324s $ ls -lahs test.tmp 2.7G -rw------- 1 oneadmin cloud 2.7G Mar 26 21:47 test.tmp --------------------------------------------------- $ copy on VM for the same file time cp 5173T.root.bak test.tmp real 5m46.978s user 0m0.352s sys 1m38.962s Thanks for taking the time to report this bug. Which release are you currently using? Is this performance a regression over past releases? Would it be possible for you to test with upstream qemu to see whether performance has improved? Hi Serge, Here are info: max@s0:/var/lib/one/var$ uname -a Linux s0 3.2.0-20-generic #33-Ubuntu SMP Tue Mar 27 16:42:26 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux max@s0:/var/lib/one/var$ kvm --version QEMU emulator version 1.0 (qemu-kvm-devel), Copyright (c) 2003-2008 Fabrice Bellard ps aux| grep kvm | grep one-52 oneadmin 62687 28.9 0.3 25283292 839204 ? Sl 01:31 2:22 /usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 20040 -smp 60,sockets=60,cores=1,threads=1 -name one-52 -uuid 30c77a47-85c4-65dd-6c21-9d9b3e66cabe -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/one-52.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -drive file=/var/lib/one/var//52/images/disk.0,if=none,id=drive-virtio-disk0,format=raw,cache=writeback -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive file=/var/lib/one/var//52/images/disk.1,if=none,id=drive-virtio-disk4,format=raw,cache=writeback -device virtio-blk-pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk4,id=virtio-disk4 -fsdev local,security_model=mapped,id=fsdev-fs0,path=/tank/biouml-shared -device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=VirtFS,bus=pci.0,addr=0x3 -netdev tap,fd=21,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=02:00:c0:a8:02:1e,bus=pci.0,addr=0x4 -usb -device usb-mouse,id=input0 -vnc 0.0.0.0:52 -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -cpu host Thanks. I'm posting a new package based on today's git head of upstream at ppa:ubuntu-virt/ppa. When (and if) that builds, is it possible for you to try with that version? Then we will know whether to file this bug upstream, or find and cherrypick the fixes. Hi Serge, syslogs on host completely clean for all my 3 bugs. No messages at all regarding any errors. I just added this repository. I can basically update now daily as I have to reboot server daily to make kvm working. I installed qemu version: 1.0+noroms-20120220-0ubuntu1. Quoting max (