3 ms·
What would be the advantage of running an RTOS on Cortex-R82 vs any other ARM processor? Doesn't an RTOS give you the hard realtime capability through software
by TheMagicHorsey 6y ago
What would be the advantage of running an RTOS on Cortex-R82 vs any other ARM processor? Doesn't an RTOS give you the hard realtime capability through software?
I feel I must be missing something critical in my understanding. I thought RTOS in software was sufficient to get realtime processing.
- tyingq 6y agoSee this comment: https://news.ycombinator.com/item?id=24401929 https://news.ycombinator.com/item?id=24401929
- tashbarg 6y agoYour software can only guarantee what the hardware provides/guarantees. If your cpu can take a variable amount of cycles to start processing an interrupt, the RTOS can only guarantee the upper bound. A real time cpu is all about being faster and more importantly more deterministic, therefore enabling the RTOS to guarantee faster reaction times. If an interrupt can usually be processed in 50 cycles but very rarely will take 500, the RTOS can’t schedule for the 50 cycles. If the real time cpu guarantees 200 cycles, the RTOS can actually schedule with that. Depending on the application, that can make a huge difference.