I've been using KVM for a bunch VM's on hardy and now Lucid and with
CPU and memory performing quite well its been no problem. I'm now
looking at our ageing DB server and wanting to put it in a VM but the
disk performance is dismal or am I doing it wrong?
I'm quite comfortable if I loose 25% or even 33% through
virtualization as the benefits are worth it.
Here are the numbers I have so far (using dbench, ubuntu lucid and
Bare metal using a slice for the host OS:
Throughput 2586.65 MB/sec 10 clients 10 procs
Throughput 3631.62 MB/sec 50 clients 50 procs
Throughput 3635.12 MB/sec 100 clients 100 procs
Guest KVM machine using a block device
Throughput 1130.52 MB/sec 10 clients 10 procs
Throughput 513.972 MB/sec 50 clients 50 procs
Throughput 465.593 MB/sec 100 clients 100 procs
I tried VMware just as a comparison using a vmdk file (not even a block
Throughput 1482.44 MB/sec 10 clients 10 procs
Throughput 2049.45 MB/sec 50 clients 50 procs
Throughput 2098.71 MB/sec 100 clients 100 procs
Using LVM was worse and Qcow2 was even worse as expected.
Thats a big pill to swallow for KVM.
Any ideas what is the best way to get disk performance using KVM.
Domain Name Services
ubuntu-server mailing list
More info: https://wiki.ubuntu.com/ServerTeam