disk i/o benchmarking inside vm
by Dennis Jacobfeuerborn
Hi,
I'm having trouble benchmarking disk i/o in my vm's. The data I get seems
bogus.
I have two centos 6 guests which use a raw image as volume. Each volume is
stored on its own physical disk and both disks are the same model. The host
system is fedora 15 with the virt-preview repo enabled. The disks for the
guests use virtio and caching is set to none.
My problem is that I get very different results when I benchmark I/O in
these guests even though I shouldn't. Doing a seekmark I get:
guest 1: 120 seeks/s
guest 2: 220 seeks/s
"hdparm -t" shows:
guest 1: 100 MB/s
guest 1: 160 MB/s
What's worse is that when I restart the guests the results change and
suddenly guest 1 is a lot faster and guest 2 is a lot slower however as
long as the guests are running repeating the benchmarks give consistent
results.
When I test the disks on the host directly I get:
seekmark:
/dev/sdb: 75 seeks/s
/dev/sdc: 75 seeks/s
hdparm -t:
/dev/sdb: 140 MB/s
/dev/sdc: 140 MB/s
What bugs me is not so much the absolute numbers (for now) but the fact
that these guests give so wildly inconsistent results. Even if the jump
from 75 seeks/s to 120 seeks/s from host to guest is explainable by the way
block i/o is handled in the virtualization layer I would still expect both
guests to return similar results and I would also expect to see similar
results across restarts of a single guest.
I've attached the definition for both guests even though they are virtually
identical.
Does anyone have an idea what's happening here?
Regards,
Dennis
12 years, 6 months
Re: [fedora-virt] balloon drivers missing in virtio-win-1.1.16.vfd
by Andrew Cathrow
----- Original Message -----
> From: "Onkar N Mahajan" <kernzap(a)gmail.com>
> To: kvm(a)vger.kernel.org, qemu-devel(a)nongnu.org
> Sent: Thursday, September 29, 2011 6:03:26 AM
> Subject: balloon drivers missing in virtio-win-1.1.16.vfd
>
> virtio_balloon drivers are missing in the virtio-win floppy disk
> image
> found at
> http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/
> whereas they are present in the ISO image , any specific reason for
> this ? Shouldn't they be ideally present ?
You probably want to be asking this on the Fedora virt list rather than the kvm & qemu developer list.
>
> Regards,
> Onkar
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo(a)vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
12 years, 6 months