Proxmox iothread: When to Enable on VM Disks

proxmox io thread - custom-iothrd56-featured.png

proxmox io thread searches map to VirtIO SCSI’s optional iothread — a dedicated I/O thread so heavy disk work does not stall the QEMU main loop. Broader tuning: VM disk performance.

Check current disk

VM → Hardware → Hard disk — note SCSI controller type and cache.

bashconfig
qm config 100 | grep -E '^scsi|^virtio|^sata'
hardware
disk

Enable iothread

VirtIO SCSI **single** supports iothread=1 on the disk line.

bashset
qm set 100 --scsi0 local-lvm:vm-100-disk-0,iothread=1
qm config 100 | grep scsi0
iothread
VirtIO

Match aio

Modern PVE defaults favor aio=io_uring where supported — align with your storage.

TipRaw/ZFS zvols often beat qcow2 file images for busy databases — measure, do not guess.
io_uring
aio

Benchmark

Quick fio inside the guest before declaring victory.

bashguest fio
fio --name=rand --rw=randread --bs=4k --numjobs=1 --size=256M --runtime=30 --time_based
fio
test

Quick Reference

Related tutorials

Diagrams are original illustrations by Gnome IT Solutions. Tutorial text © Gnome IT Solutions.