ni / linux

Linux kernel source for NI Linux Real-Time
Other
80 stars 77 forks source link

nati_x86_64_defconfig: enable BFQ I/O scheduler #104

Closed gratian closed 1 year ago

gratian commented 1 year ago

Enable the BFQ (Budget Fair Queueing) I/O scheduler (CONFIG_IOSCHED_BFQ). BFQ guarantees a high system and application responsiveness, and a low latency for time-sensitive applications. Details in Documentation/block/bfq-iosched.rst

Having this I/O scheduler available and select-able at run-time allows for better real-time system tuning. It also has the side benefit of avoiding I/O errors due to CPU starvation under heavy real-time loads which in turn can lead to file systems being re-mounted read-only (see linked bug).

Natinst-AZDO-ID: 2249169 Signed-off-by: Gratian Crisan gratian.crisan@ni.com

Note to reviewers

This is a straight cherry-pick of the 5.15 PR https://github.com/ni/linux/pull/102 into nilrt/master/6.0. I've validated that the defconfig is regenerated correctly (via make savedefconfig etc.)