PingDirectory

Tuning the I/O scheduler

Using the correct I/O scheduler can increase performance and reduce the possibility of database timeouts when the system is under extreme write load.

About this task

The procedure for configuring a scheduler to use at startup depends on the version of Linux. See the Linux documentation for your specific version for the correct way to configure this setting.

Steps

  1. To determine which scheduler is configured on your system, run the following command.

    $ cat /sys/block/<block-device>/queue/scheduler
  2. To change the scheduler on a running system, run the following command.

    $ echo 'deadline' > /sys/block/sda/queue/scheduler
  3. To apply the change, restart the system.