Enable BFQ I/O Scheduler

Open
#3,359 8 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
linux, raspberry-pi

Research direction

Start by locating the Raspberry Pi kernel configuration and checking how CONFIG_IOSCHED_BFQ and CONFIG_BFQ_GROUP_IOSCHED are defined. Confirm that the resulting kernel configuration enables BFQ for the reported SD card, MMC, or HDD use cases; completion means both requested options are set as specified.

Written by the indexing model from the issue text.

Description

It would be great if the Raspberry Pi kernel could enable the bfq I/O scheduler, since it gives superior responsiveness and fairer scheduling on slow devices like MMC, SD cards or HDDs.

The relevant options should be:

CONFIG_IOSCHED_BFQ=m
CONFIG_BFQ_GROUP_IOSCHED=y

Here are some relevant performance tests using bfq scheduler for blk-mq with SD cards:

A solution to high latencies caused by I/O

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.