[Xen-bugs] [Bug 992] Disk I/O performance of IA32-pae HVM guest is very
What |Removed |Added
------- Comment #2 from MaxZinal@xxxxxxxxx 2009-11-03 12:56 -------
I can confirm that HVM guest I/O performance is very low, comparing to PV guest
performance under exactly the same load. We had to migrate almost all our
guests to PV mode (linux) or install PVGPL drivers (windows).
Our hardware configuration:
CPUs: 2 x Quad-core Intel Xeon X5460 @3.16 GHz
Memory: 32 GBytes
Int.storage: low-end SAS RAID5 (6 disks, 148 GBytes each)
Ext.storage: low-end SATA RAID attached through Gigabit ethernet iSCSI
(8 disks, 1 TByte each, RAID10)
Dom0: Debian 5.0.3 64-bit (Lenny)
Xen: Pre-packaged xen-hypervisor-3.2-1-amd64
DomU #1: SLES 9 (32-bit)
DomU #2: Windows 2003 Server Standard Edition (32-bit)
... some more DomU systems - unimportant here
LLVM as a disk partitioning tool.
SLES 9 is rather hard to configure for running in PV guest mode, and PVGPL
is a pure hack, so we tried to use HVM mode first.
Then we saw the following symptoms:
1. Extremely slow guest I/O (when compared to native speed), both
on internal and external storage and both on Linux and Windows.
2. Very high CPU load in Dom0 - caused by qemu-dm processes.
Each of these processes just sits down on a chosen CPU core
and boils it.
After some investigation we found:
1. Write is much worse then read because in causes lots of reads.
We ran `atop' both in Dom0 and DomU, and saw that even when
there are zero read operations in DomU (pure write), there's
lots of reads on Dom0 caused by the corresponding qemu-dm
process (found with `iotop' tool).
2. In DomU we saw a moderate number of I/O operations and large
average I/O time. In Dom0 we saw a huge number of I/O operations
over the same (mapped) device and a small I/O time.
1. If you care about I/O performance, do not use HVM.
2. The main cause of the HVM I/O slowness is qemu-dm which splits
large I/O operations into small ones and performs reads to do
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Xen-bugs mailing list
|<Prev in Thread]
||[Next in Thread>|
- [Xen-bugs] [Bug 992] Disk I/O performance of IA32-pae HVM guest is very slow,