Budget Fair Queueing (BFQ) Storage-I/O Scheduler Opensuse

In GNU/Linux, currently there are three main disk I/O schedulers available. They are called ‘CFQ’, ‘NOOP’ and ‘Deadline’

And came upon another disk I/O scheduler for GNU/Linux called ‘BFQ’ (it’s actually based on the code of ‘CFQ’).

The KMP is found in OBS home:tiwai:bfq/bfq repo. It's currently built for openSUSE-FACTORY, openSUSE-13.1, SLE12, Leap and Kernel:HEAD kernels.


#wget -c http://download.opensuse.org/repositories/home:/tiwai:/bfq/openSUSE-Leap/home:tiwai:bfq.repo to /etc/zypp/repos.d

Install the KMP
After installing the KMP, load bfq-iosched kernel module, and change the scheduler like:
# echo bfq > /sys/block/sda/queue/scheduler

If you want to make BFQ as default from the beginning, do like below:

– Put "bfq-iosched" in $INITRD_MODULES in /etc/sysconfig/kernel
– Run /sbin/mkinitrd once to rebuild initrd
– Add a boot parameter "elevator=bfq"

Then the BFQ module will be loaded automatically and used as default
I/O scheduler at the next reboot.