Skip to content
This repository has been archived by the owner on Aug 8, 2022. It is now read-only.

Latest commit

 

History

History
74 lines (43 loc) · 3.39 KB

README.md

File metadata and controls

74 lines (43 loc) · 3.39 KB

As of August 8, 2022, the project will cease to be developed. Thank you to all users for their willingness to use the project and bug reports.

I encourage all users to use CachyOS kernels, in the development of which I will take an active part from now on.

Kernels and modules with RT (RealTime) patch:

  • linux-rt-bfq-dev

  • linux-rt-bfq-dev-git

Packaging status

linux-rt-bfq-dev/linux-rt-bfq-dev-git incorporates:

latest packaged version(s)

Some patches for BFQ conflict with patches for BFQ-dev.
To use linux-rt-bfq-dev/linux-rt-bfq-dev-git smoothly apply bfq-reverts before bfq-dev patch. Otherwise the kernel will not compile.

Download:

git clone https://github.com/sirlucjan/kernels-rt.git

or

git clone https://gitlab.com/sirlucjan/kernels-rt.git

Install:

cd /some_path/kernels-rt/package_name
makepkg -srci

Enable bfq

For now, you can use sudo tee /sys/block/sda/queue/scheduler <<< bfq to enable "bfq".

You can also add this to file 60-schedulers.rules:

# Non-rotational disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
# Rotational disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"

and run a command sudo udevadm control --reload && sudo udevadm trigger

For now, bfq is enabled by default! (since 5.0-lucjan-ll1-rc1.patch and LL-elevator-set-default-scheduler-to-bfq-for-blk-mq.patch)