Virtio/Block/Latency: Difference between revisions

From KVM
No edit summary
No edit summary
Line 20: Line 20:


==== Host pread64 ====
==== Host pread64 ====
== Results ==
==== Host ====
==== Guest ====
==== Latency ====

Revision as of 07:26, 3 June 2010

This page describes how virtio-blk latency can be measured. The aim is to build a picture of the latency at different layers of the virtualization stack for virtio-blk.

Benchmarks

Single-threaded read or write benchmarks are suitable for measuring virtio-blk latency.

I use a simple sequential read C program which prints the average time per read operation at the end.

Instrumenting the stack

Guest

Guest virtio-pci

Host kvm

QEMU virtio

QEMU paio

Host pread64

Results

Host

Guest

Latency