QEMU also supports a wide variety of caching modes. Writeback is useful for testing but does not offer storage guarantees. Writethrough (the default) is safer, and relies on the host cache. If you're using raw volumes or partitions, it is best to avoid the cache completely, which reduces data copies and bus traffic:
Looks like even upstream suggests disabling cache for best performance when using raw volumes: www.linux- kvm.org/ page/Tuning_ KVM
http://
From the above page:
QEMU also supports a wide variety of caching modes. Writeback is useful for testing but does not offer storage guarantees. Writethrough (the default) is safer, and relies on the host cache. If you're using raw volumes or partitions, it is best to avoid the cache completely, which reduces data copies and bus traffic:
qemu -drive file=/dev/ mapper/ ImagesVolumeGro up-Guest1, cache=none, if=virtio