You are not logged in.
Pages: 1
Should I use the rt package of the kernel or use the default version of 6.12 when it's dropped into the Core
because PREEMPT_RT support merged For Linux 6.12 and all it takes a build flag to enable it
without the need of arch patching the kernel would that flag make the package separate into linux-rt
I need explanation would real time be enabled by default on 6.12.x or that requires the separate package ?
Last edited by Halano (2024-11-19 12:09:28)
.: HalanoSiblee The Smart Moth :.
Offline
The real-time capabilities of the Linux kernel are not enabled by default, even in the latest versions of the kernel. Real-time functionality in Linux is typically provided through the use of the Real-Time Preemption Patch (also known as the "PREEMPT_RT" patch) or the PREEMPT_RT-based real-time Linux distributions.
In the case of the Linux kernel version 6.12.x, the real-time functionality would not be enabled by default. To use the real-time capabilities, you would need to either:
1. Apply the PREEMPT_RT patch to the standard Linux kernel 6.12.x source code and compile the kernel with the necessary configurations.
2. Use a real-time Linux distribution, such as:
Xenomai
RTAI (Real-Time Application Interface)
Linux-RT
Preempt-RT Linux
These distributions come with the PREEMPT_RT patch already applied and configured, providing a fully real-time-enabled Linux environment.
It's important to note that the real-time functionality in Linux is a complex topic and requires careful configuration and optimization to ensure proper real-time behavior. The specific steps to enable real-time on Linux kernel 6.12.x may vary depending on the distribution and the use case.
Offline
The real-time capabilities of the Linux kernel are not enabled by default, even in the latest versions of the kernel. Real-time functionality in Linux is typically provided through the use of the Real-Time Preemption Patch (also known as the "PREEMPT_RT" patch) or the PREEMPT_RT-based real-time Linux distributions.
In the case of the Linux kernel version 6.12.x, the real-time functionality would not be enabled by default. To use the real-time capabilities.
My thanks for explaining right on topic this all I wanted to read for my better understanding around real time kernels..
.: HalanoSiblee The Smart Moth :.
Offline
Is this information correct? From the 6.12 change log, it reads that this patch is now included.
However, I lack the information how it is actually activated. There is a "preempt" Kernel Parameter but I don't know if this the correct on.
Offline
Well with 6.12 the realtime stuff is all included upstream but it's not only a runtime switch, there need to be config options set etc in order to make the kernel also behave like a realtime one
Offline
No, Forum_Liker is not correct. The patches have been merged, all that's needed now is the correct config.
But that's all that changes. Instead of patching, it's just config. Nothing else. It's still requires a separate build, and a separate package, and it's something very, very few people actually want with desktop linux anyway.
Offline
just config
need an example
Offline
An example wont help with that, the Linux kernel now contains a version of the RT patchset and it is usable if you set the relevant config switches (like CONFIG_PREEMPT_RT).
Offline
I think mithrial maybe correct
Is this information correct? From the 6.12 change log, it reads that this patch is now included.
However, I lack the information how it is actually activated. There is a "preempt" Kernel Parameter but I don't know if this the correct on.
As Scimmia said
The patches have been merged, all that's needed now is the correct config.
All the user had to do to enable real time by adding kernel parameters in grub unless these patch disabled by arch build configs.
Last edited by Halano (2024-11-19 17:05:24)
.: HalanoSiblee The Smart Moth :.
Offline
Forum_Liker's response is a ShitGPT generated generic blurp, I'd not put much emphasis or belief into that. I'd also assume the situation will be like scimmia foresees, there are still two packages just without the need to carry an out of tree patch. I doubt that this is trivially runtime switchable, at least not initially.
Offline
CONFIG_PREEMPT_DYNAMIC (which allows the preempt parameter) only works with none, voluntary, and full. It doesn't work with rt, which requires much deeper changes and can only be done at build time at this point.
Offline
Forum_Liker's response is a ShitGPT generated generic blurp, I'd not put much emphasis or belief into that. I'd also assume the situation will be like scimmia foresees, there are still two packages just without the need to carry an out of tree patch. I doubt that this is trivially runtime switchable, at least not initially.
hehe Forum_Liker just wanted to help >_>
so much misinformation right here however, thanks for approval V1del information's it seems more transparent now.
.: HalanoSiblee The Smart Moth :.
Offline
quote:
"On September 19, Thomas Gleixner delivered the pull request for the realtime preemption enablement patches to Linus Torvalds — in printed form, wrapped in gold, with a ribbon, as Torvalds had requested. It was a significant milestone, marking the completion of a project that required 20 years of effort. Congratulations are due to everybody involved.
Torvalds acted on the pull request the following morning."
Offline
Pages: 1