Simulating slow disks with Libvirt

I once wrote about how to simulate latency on Linux.

The article has been useful for myself recently, as I was at a customer who was having all kind of weird issues, probably caused by unreliable network, and slow performing disks.

I recreated their environment on my Libvirt lab.

You can throttle the I/O of a Libvirt disk, as documented here and here.

Example:




Thanks for reading this post!


If you found an issue in this article, you can create an issue on Github.

If you have a comment or question, please drop me a line below!