5 ms·
RT_PREEMPT is very much capable of real-time applications. Outside of control loops faster than a couple kHz, it's even suitable for hard real-time applications
by namibj 6y ago
RT_PREEMPT is very much capable of real-time applications. Outside of control loops faster than a couple kHz, it's even suitable for hard real-time applications.
But those issues aren't fixed with Linux, but rather with CPUs design for hard real-time usage.
- pjmlp 6y agoIndustry seems to think otherwise. That still isn't a match for something like INTEGRITY OS, vxWorks, QNX when human lives are at risk. Or why despite using an heavily modified Linux kernel as basis for Azure Sphere, Microsoft rather advocates Azure RTOS for real time tasks. https://techcommunity.microsoft.com/t5/internet-of-things/combining-azure-sphere-iot-security-with-azure-rtos-real-time/ba-p/1992869 https://techcommunity.microsoft.com/t5/internet-of-things/co... Or why the Linux Foundation, ironically pushes Zephyr for such purposes, completely unrelated to Linux source code. https://www.zephyrproject.org/ https://www.zephyrproject.org/
- namibj 6y agoIf Linux with PREEMPT_RT is unsuitable, all the modern x86 CPUs with system management mode interrupts are even worse. Because those are the worst and primary cause for that Linux being insufficient for control loops in the 10's of kHz.