|
|
Log in / Subscribe / Register

Will this be the default?

Will this be the default?

Posted Sep 20, 2024 14:52 UTC (Fri) by daroc (editor, #160859)
In reply to: Will this be the default? by tachoknight
Parent article: The realtime preemption pull request

Realtime kernels are unlikely to become the default, simply because there's some small performance overhead from using the realtime config option. But with all the necessary code being part of the mainline kernel, it's certainly possible that some distributions might turn it on by default or make it easier to turn on.


to post comments

Will this be the default?

Posted Sep 20, 2024 15:21 UTC (Fri) by eru (subscriber, #2753) [Link] (2 responses)

Isn't this useful only if you have applications that need the realtime scheduling, and have been written to use the RT kernel features?
So no benefit for most users from turning the feature on by default.

Will this be the default?

Posted Sep 21, 2024 10:02 UTC (Sat) by tekNico (subscriber, #22) [Link]

Yes to the first question, no to the second.

Will this be the default?

Posted Sep 24, 2024 9:42 UTC (Tue) by dsommers (subscriber, #55274) [Link]

Years ago (when I was involved in some QA work on the RT kernel), I did run it on my desktop. The desktop experience was generally more snappy and responsive under heavier load, typically the mouse and the graphical stack (when given RT priorities) did not have the same amount of lag.

Doing audio and video will also help a lot when those applications have RT scheduling. I would presume gaming could definitely benefit from it as well.

That said, if you enable RT scheduling on each running process .... the benefit will not be visible - in fact it can do more harm to the experienced performance.

I would expect that the next 5-10 years we will see kernel-rt being more commonly available as default in ordinary desktop environments with some performance profiles (managed by tuned-adm and similar tools). And it can definitely help those doing lots of multi-media work. MacOS is known for being quite reliable for such tasks and has for many years. The realtime kernel can definitely help closing that gap, at least to some degree.

Of course, lots of other things has also happened in the Linux world over the last 15-20 years (like Wayland, Pipewire, etc) also improving the desktop experience, as well as better hardware (moving from HDD to SSD to nvme). But I would expect that kernel-rt can be the icing on that improved experience, when properly tuned for the task at hand.

Will this be the default?

Posted Sep 20, 2024 16:27 UTC (Fri) by ukleinek (subscriber, #56625) [Link]

Note that Debian ships an rt-enabled kernel variant on amd64, arm64, armhf and i386. It's not the default, but as easy as possible if you want to dive into rt.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds