Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- Thanks for letting me know about "sched_rt_runtime_us" ! I still don't understand what votes agains _always_ using your patch, though. -Michael --- Quote End --- Hi Michael, Coming from the HW community, when I think realtime, I think hard realtime i.e. max latency is guaranteed in any cases. If the Real-Time group scheduling is enabled and I use PREEMPT-RT, my RT thread that has the max priority can be preempted by a non RT thread after 950 ms of CPU processing. And it will run after 5 ms. It is not acceptable because you add an extra latency. If I disable this with PREEMPT-RT, I can have something that is closer to a hard realtime OS. PREEMPT-RT is soft realtime and it is important to avoid mechanisms that introduce extra latencies. PREEMPT-RT must be tuned finally. See: Real-Time Failure. F. Rowand. http://elinux.org/images/b/be/real_time_linux_failure.pdf Patrice.