would it be useful for generic desktop user (ie: more fluent desktop experience) or is it suitable only for specific workloads (music? high frequency trading?)
Announcement
Collapse
No announcement yet.
Real-Time / PREEMPT_RT Support Should Finally Be Mainlined Soon In The Linux Kernel
Collapse
X
-
Originally posted by FireBurn View Post
Either way if you game with RT enabled your framerates will be lower
As a side note, I wonder if in today's multi-CPU world it would be easier to have one or more CPUs free from kernel task duties, such that they could run things like audio processing (or like frame rate related processing), without requiring kernel preemption. Dynamic variations of 'isolcpus'.
- Likes 1
Comment
-
Originally posted by indepe View Post
I'm sure Michael will test this. It could be that the patches were tuned exclusively for audio processing, and (at that point in time) ignoring other granularities (like frame rates). However it could also be that the additional locking used to enable preemption really is noticeably less efficient.
As a side note, I wonder if in today's multi-CPU world it would be easier to have one or more CPUs free from kernel task duties, such that they could run things like audio processing (or like frame rate related processing), without requiring kernel preemption. Dynamic variations of 'isolcpus'.
hopefully noone will think about enabling it by default.
- Likes 2
Comment
-
Originally posted by cynic View Postwould it be useful for generic desktop user (ie: more fluent desktop experience) or is it suitable only for specific workloads (music? high frequency trading?)
AFAIK Linux isn't used for safety-critical RT systems like avionics, since the codebase is so huge it's impossible to formally prove it works as designed.
- Likes 3
Comment
-
Originally posted by indepe View PostHowever it could also be that the additional locking used to enable preemption really is noticeably less efficient.
Also spinlocks which are extensively used in the non-RT kernel in most cases have to be replaced with (adaptive) mutexes, again increasing locking overhead.
As a side note, I wonder if in today's multi-CPU world it would be easier to have one or more CPUs free from kernel task duties, such that they could run things like audio processing (or like frame rate related processing), without requiring kernel preemption.
- Likes 1
Comment
-
I used to run RT kernels because they were once required for pro audio on Linux. But though I could still benefit from the lower latency for audio, RT is no longer strictly required and I've never been able to run KVM with them. But hopefully once the devs are done with RT that will change.
- Likes 1
Comment
Comment