You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How To Change the Volume I/O Scheduler at Boot

edited Mar 3, 2023 7:30AM in Linux

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!