Skip to content

Instantly share code, notes, and snippets.

@mdpuma
Created January 25, 2022 18:50
Show Gist options
  • Save mdpuma/2ea5b21d0a42ef1f756e571f27ef198f to your computer and use it in GitHub Desktop.
Save mdpuma/2ea5b21d0a42ef1f756e571f27ef198f to your computer and use it in GitHub Desktop.
solusvm limit iops virsh
<blkiotune>
<device>
<path>/dev/vg/kvm980_img</path>
<read_iops_sec>100</read_iops_sec>
<write_iops_sec>100</write_iops_sec>
</device>
</blkiotune>
blkiotune --device-read-iops-sec /dev/vg/kvm980_img,100 --domain kvm980 --live
blkiotune --device-write-iops-sec /dev/vg/kvm980_img,100 --domain kvm980 --live
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment