Can I limit the disk IO for a individual VM

gpounders

Cadet
Joined
Jan 11, 2024
Messages
2
In proxmox I can limit the disk IO speed for individual VMs. Can I do this with truenas scale VMs?
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
It is theoretically possible as qemu supports that. Don't think it's exposed in the UI though. You could probably do something with a script at startup to run virsh to set the throttle parms.

Unless I missed it in the UI!

Specifically, look for the blkiotune section of the manpage. If this was super important to you, I suppose you could fill out an enhancement request for IX and explain your case as to why it should be exposed in the UI.
 

gpounders

Cadet
Joined
Jan 11, 2024
Messages
2
Ok if it used the same qemu, it should be avilable to change in the vm config file. In proxmox it is like this.

virtio0: Gotham1:vm-301-disk-0,discard=on,mbps_rd=190,mbps_rd_max=200,mbps_wr=190,mbps_wr_max=200,size=240G
 
Top