only one io scheduler available

DVDIsDead

New Member
Dec 19, 2021
11
1
3
31
as per https://pve.proxmox.com/wiki/IO_Scheduler I tried checking available io schedulers for my drives, they all only specify mq-deadline and none.

```
root@pve:~# cat /sys/block/sda/queue/scheduler
[mq-deadline] none
root@pve:~# cat /sys/block/*/queue/scheduler
none
none
none
none
none
none
none
none
none
none
none
none
none
none
none
none
none
none
none
none
none
none
[mq-deadline] none
[mq-deadline] none
[mq-deadline] none
[mq-deadline] none
[mq-deadline] none
[mq-deadline] none
[mq-deadline] none
[mq-deadline] none
[none] mq-deadline
[mq-deadline] none
[mq-deadline] none
[mq-deadline] none
[mq-deadline] none
```

is this normal?
 
Maybe outdated Wiki...
mq-deadline is the way to go.

Code:
Best I/O scheduler to use
Different I/O requirements may benefit from changing from the Ubuntu distro default. A quick start guide to select a suitable I/O scheduler is below. The results are based on running 25 different synthetic I/O patterns generated using fio on ext4, xfs and btrfs with the various I/O schedulers using the 5.3 kernel.

SSD or NVME drives
It is worth noting that there is little difference in throughput between the mq-deadline/none/bfq I/O schedulers when using fast multi-queue SSD configurations or fast NVME devices. In these cases it may be preferable to use the 'none' I/O scheduler to reduce CPU overhead.

HDD
Avoid using the none/noop I/O schedulers for a HDD as sorting requests on block addresses reduce the seek time latencies and neither of these I/O schedulers support this feature. mq-deadline has been shown to be advantageous for the more demanding server related I/O, however, desktop users may like to experiment with bfq as has been shown to load some applications faster.
 
Personally I would prefer to be able to use bfq on slow spinning drives.

Edit: looks like modprobe bfq works to make the scheduler available.
 
Last edited:
I have one old home PC (ZFS on 2 x HDD + SSD log & cache) turned into PVE. Every backup to PBS cause big delays and slow response even on PVE host. Switching to bfq saves this machine life (Kernel ZFS's processes on lower prio than any other)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!