How To Change the Volume I/O Scheduler at Boot
Applies To:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Goal:
Disk I/O scheduler defines how the Kernel will schedule I/O requests for the disk. Some block devices, like SSD or virtualized devices, may benefit if the scheduler is changes to “none”. This document describes how to perform the changes at boot time.
Solution:
To verify the available schedulers for the device run the following command (note that the device name might have a different name):
$ cat /sys/block/sda/queue/scheduler [mq-deadline] none
To test a new scheduler run:
$ echo none | sudo tee /sys/block/sda/queue/scheduler OR just: $ echo none > /sys/block/sda/queue/scheduler
Tagged:
0