Virtio/Block/Latency: Difference between revisions

From KVM
No edit summary
 
No edit summary
Line 1: Line 1:
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.
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 ====

Revision as of 06:25, 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