4 ms·
It looks like you don't have a good understanding of how virtual memory works and how in that space the hardware (TLB), the OS (page tables) and higher level so
by bitcharmer 4y ago
It looks like you don't have a good understanding of how virtual memory works and how in that space the hardware (TLB), the OS (page tables) and higher level software are intertwined.
Also, PREEMPT_RT is the worst option for low latency because it's about execution time guarantees and not speed specifically. If you're on PREEMPT_RT and give your critical thread highest prio, be prepared for some serious OS-level lock-ups.
- zozbot234 4y ago> If you're on PREEMPT_RT and give your critical thread highest prio, be prepared for some serious OS-level lock-ups. PREEMPT_RT includes priority inheritance, specifically to avoid this scenario. So your app should indeed be favored if you tune accordingly. What you also seem to be saying is that using PREEMPT_RT may lead to lower throughput, but that's not the same thing as latency.
- bitcharmer 4y agoPriority inheritance is a fundamental feature of all scheduling domains in the kernel and has nothing to do with the problem I described.