public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Very poor write performance
@ 2014-04-19 12:04 Richard Weinberger
  2014-04-19 13:50 ` Paolo Bonzini
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Weinberger @ 2014-04-19 12:04 UTC (permalink / raw)
  To: kvm

Hi!

I hope this is the right place to ask. :)

On a rather recent x86_64 server I'm facing very bad write performance.
The Server is a 8 Core Xeon E5 with 64GiB ram.

Storage is a ext4 filesystem on top of LVM which is backed by DRBD.
On the host side dd can easily write with 100MiB/s to the ext4.
OS is Centos6 with kernel 3.12.x.

Within a KVM Linux guest the seq write throughput is always only
between 20 and 30MiB/s.
The guest OS is Centos6, it uses virtio-blk, cache=none, io=natvie and
the deadline IO scheduler.

The worst thing is that the total IO bandwidth of KVM seems to 30MiB/s.
If I run the same write benchmark within 5 guests each one achieves
only 6 or 7 MiB/s.
I see the same values also if the guest writes directly to a disk like vdb.
Having the guest disk directly on LVM instead of a ext4 file also didn't help.
It really looks like 30MiB/s is the upper bound for KVM disk IO.

Are these values expected for my setup?
I'm also interested where the bottleneck is in the kernel. perf top did not
gave me any clue so far. Also with all guests running the benchmark
the load is below 1.

-- 
Thanks,
//richard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-19 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-19 12:04 Very poor write performance Richard Weinberger
2014-04-19 13:50 ` Paolo Bonzini
2014-04-19 14:51   ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox