Public bug reported:

Very slow disk throughput for all guest OS's.  Windows seems to be the slowest 
at ~3MBps.  Linux guests usually get ~18MBps.  All tests performed on two 
physical hosts.  
Host1: Intel Core2 - 2.8GHz, 4GB RAM, 2 SATA2 7500RPM discs in an mdraid0.
Host2: Intel Core2 Quad - 2.4GHz, 5GB RAM, 6 SATA2 7500RPM discs.  Mix of hw 
raid0/5, mdraid0/5, LVM, and LVM on mdraid5.

Tested on both Ubuntu 9.10 and Ubuntu Lucid Beta1.
Tested disc IO by copying a large file (>100MB).
Tested against the following guests with the following average results:
-Windows XP x86 - <4MBps - Installation takes >8 hours.
-Ubuntu 9.10 server - <=20MBps
-Ubuntu 9.10 server built for virtualization (vmbuilder virt optimization) - 
<=20MBps

Tested on multiple hosts with multiple configurations.  Same results on all 
physical hosts.
Guest disk types: raw/qcow2, preallocated/thin provisioning, IDE/SCSI/VirtIO 
emulation. (Virtio emul only on Linux guests)
Host disk types: ext3/4 on disc, ext3/4 on LVM on disc, ext3/4 on LVM on 
mdraid5 (3 7500RPM SATA2).
Average host disk throughput: ext3/4 on disc - 80MBps, ext3/4 on LVM on disc - 
80MBps, ext3/4 on LVM on mdraid5 - 75MBps
Average guest disk throughput (WindowsXP): 3MBps on all hosts.
Average guest disk throughput (Linux): 18MBps on all hosts.

I also did a few non standard tests to rule some things out.
1. Hosted WindowsXP guest image on /dev/shm.  This yielded much better, but 
still very poor results of ~20MBps.
2. Tested all guests on all hosts using both KVM and QEMU with the same results.
3. Tested all possible guest disc emulation modes on all guests, with no 
variation in results.
3. Tested WindowsXP guest image on an mdraid0 of 2 7500RPM Sata2 discs (160MBps 
on host).  Same result. <4MBps.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libvirt-bin 0.7.5-5ubuntu15
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
Uname: Linux 2.6.32-16-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Mar 28 12:13:13 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100317.1)
ProcEnviron:
 LANGUAGE=
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: libvirt

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
Slow disk IO for all guests with all disc modes and types.
https://bugs.launchpad.net/bugs/550409
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to