manperformanceReviewed July 15, 2026
Virtio and guest disk I/O
Start with paravirtualized devices and a storage safe cache policy. Tune queues and I/O threads only after separating guest demand from host and backend limits. Inspect the path Design variables virtio blk is simple and
virtioiothreadcachediscard
Start with paravirtualized devices and a storage-safe cache policy. Tune queues and I/O threads only after separating guest demand from host and backend limits.
Inspect the path
BASH
virsh domblklist guest01 --details
virsh domblkstat guest01 vda --human
virsh dumpxml guest01 | grep -A8 '<disk '
iostat -xz 1Design variables
virtio-blkis simple and efficient for many workloads.virtio-scsisupports a richer SCSI topology and many devices.- Cache and I/O modes must match backend durability guarantees.
- Discard requires support through guest, virtual device, image, filesystem, and storage backend.
- Dedicated I/O threads can isolate contention but consume host scheduling resources.
Measure latency percentiles and queue depth under representative load. Throughput alone can hide severe tail latency.