From mboxrd@z Thu Jan 1 00:00:00 1970 From: "SourceForge.net" Subject: [ kvm-Bugs-1998355 ] IO Performance Date: Sun, 22 Jun 2008 01:18:28 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: noreply@sourceforge.net Return-path: Received: from ch3.sourceforge.net ([216.34.181.60]:51544 "EHLO b55xhf1.ch3.sourceforge.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752551AbYFVBSa (ORCPT ); Sat, 21 Jun 2008 21:18:30 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Bugs item #1998355, was opened at 2008-06-20 00:11 Message generated for change (Comment added) made by bjrosen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1998355&group_id=180599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Joshua Rosen (bjrosen) Assigned to: Nobody/Anonymous (nobody) Summary: IO Performance Initial Comment: Is there any way of mapping a host's directory into a KVM VM similar to VMware's Shared Folder feature? I've been benchmarking the performance of NCVerilog under various VMs. The performance of KVM when using a virtual disk is excellent, in fact it's better than VMware Server or VMware Workstation, however if you use an NFS mounted host directory the performance is unspeakably awful. An NFS mounted directory under VMware Server 2.0 (Beta 2) is also slow but it's still significantly better than KVM. Using a Shared Folder with VMware Workstation eliminates the IO bottleneck, the performance there is about the same as accessing a virtual disk. The system that I did these benchmarks on is a 3GHz Core2 with 8G of RAM. VMware was running under CentOS5.1 with a 2.6.23.7 kernel. KVM is running on Fedora 9 with a 2.6.25.xx kernel. The Verilog simulation times for my test suite are as follows, Native 06:34 VM Server 2, virtual disk 08:05 VM Server 2, NFS 18:37 VM Workstation, shared folder 08:14 KVM, Virtual disk 07:42 KVM, NFS 38:36 ---------------------------------------------------------------------- >Comment By: Joshua Rosen (bjrosen) Date: 2008-06-22 01:18 Message: Logged In: YES user_id=39829 Originator: YES How do I use virtio-net instead of virtio-blk? I've been launching the VM using virt-manager which has no options. KVM doesn't have a MAN page so I have no idea about how to launch the VM using the CLI. Would you please give me specific step by step instructions. Thanks, ---------------------------------------------------------------------- Comment By: Joshua Rosen (bjrosen) Date: 2008-06-21 14:28 Message: Logged In: YES user_id=39829 Originator: YES How do I use virtio-net instead of virtio-blk? I've been launching the VM using virt-manager which has no options. KVM doesn't have a MAN page so I have no idea about how to launch the VM using the CLI. Would you please give me specific step by step instructions. Thanks, ---------------------------------------------------------------------- Comment By: Dor Laor (thekozmo) Date: 2008-06-21 13:45 Message: Logged In: YES user_id=2124464 Originator: NO If you don't boot from virtio-blk there is no need for this configuration. Just use virtio-net in order to boost nfs accesses. ---------------------------------------------------------------------- Comment By: Joshua Rosen (bjrosen) Date: 2008-06-20 23:29 Message: Logged In: YES user_id=39829 Originator: YES The instructions for setting up virtio are a little confusing. I have a CentOS5 VM on Fedora 9. F9 uses the 2.6.25 kernel. The wiki says to edit /etc/initramfs-tools/modules however it doesn't say whether this file is on the host or the guest. There is no /etc/initramfs-tools directory on either. Would someone please clarify the procedure for adding a virtio NIC on an F9 host. ---------------------------------------------------------------------- Comment By: Dor Laor (thekozmo) Date: 2008-06-20 21:58 Message: Logged In: YES user_id=2124464 Originator: NO Did you use virtio nic when testing kvm with NFS? If not, do try, it should boost your performance. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1998355&group_id=180599