Endless OS Switching To The BFQ I/O Scheduler For More Responsive Linux Desktop

Written by Michael Larabel in Operating Systems on 17 November 2018 at 07:00 AM EST. 16 Comments
OPERATING SYSTEMS
While Con Kolivas' kernel patch series decided to do away with BFQ support, the GNOME-aligned Endless OS Linux distribution has decided to do the opposite in move from CFQ as the default I/O scheduler over to BFQ.

Endless OS has decided to switch to the BFQ (Budget Fair Queuing) I/O scheduler since it prioritizes interactive workloads and should make for a better experience for its users particularly when applications may be upgrading in the background.

During heavy background I/O, Endless found that their launch time of LibreOffice went from taking 16 seconds with CFQ to just three seconds when using BFQ. Other tests were also positive for improving the interactivity/responsiveness of the system particularly during heavy background I/O.

Endless OS is also tweaked now so the I/O priority of threads doing Flatpak downloads/installs/upgrades is lower to provide for a better user experience. BFQ particularly is beneficial for spinning hard drives but can also be of benefit to slower SSDs.

More information on their findings can be found via this blog post. Most Linux distributions currently use the CFQ I/O scheduler by default. BFQ developers have talked of pushing to change the default I/O scheduler in the mainline Linux kernel over to their code, but that has yet to happen as of Linux 4.20.

It's been on my TODO list for a while to run some fresh I/O scheduler benchmarks with the latest kernel, which hopefully I'll get to soon.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week