Page 1 of 1

Help with Realtime OS

Posted: Tue May 28, 2013 7:38 pm
by dcorreia
Hello All,

I am looking for a reliable real-time OS. Could some let me know there thoughts on the ones that are out there?

I have looked at ChibiOS it seems promising to me but I notice that everyone that talks about it always seems to mention that the raspberry Pi (ARM) are not made for real time performance, how well does ChibiOS work on raspberry pi in terms of it's performance for realtime?

Thanks alot

Re: Help with Realtime OS

Posted: Sun Jun 02, 2013 12:50 am
by JxPond
You may want to look at RISC OS. In single task mode it's very close to being realtime.

Re: Help with Realtime OS

Posted: Sun Jun 02, 2013 6:02 am
by ghans
I believe this issue is mostly brought up in conjuction with Linux.
The GPU does meddle with timing , too , but this can disabled
through a config.txt option so far i know.

After that , the Pi should be as reliable as your ARM RTOS of
choice.

ghans

Re: Help with Realtime OS

Posted: Sun Jun 02, 2013 6:24 am
by JacobL
Another thing that might impact real-time performance is that the Pi does not have a vectorized interrupt controller. Compared to other systems with such a controller then IRQ latencies will be higher, which could impact real-time performance, depending on the application. It is only really a problem if you use many different interrupts, and they are inside the critical path of your RT requirement.

This means that all IRQs on the Pi goes to the same handler function (with the exception of FIQ). This handler function would then need to determine which IRQ was triggered by polling status registers. This all takes time, though if only few interrupts are in use, then this time might be minimal. A vectorized controller will be able to resolve this in hardware, reducing the software latency of the interrupt.

Re: Help with Realtime OS

Posted: Sun Jun 02, 2013 7:01 am
by jamesh
dcorreia wrote:Hello All,

I am looking for a reliable real-time OS. Could some let me know there thoughts on the ones that are out there?

I have looked at ChibiOS it seems promising to me but I notice that everyone that talks about it always seems to mention that the raspberry Pi (ARM) are not made for real time performance, how well does ChibiOS work on raspberry pi in terms of it's performance for realtime?

Thanks alot
Hard or soft realtime - what are your timing criteria?

Re: Help with Realtime OS

Posted: Mon Jun 24, 2013 11:43 am
by CopterRichie
Is the Real-Time Linux Kernel a possibility for the Raspberry Pi?

https://rt.wiki.kernel.org/index.php/Main_Page

Re: Help with Realtime OS

Posted: Mon Jun 24, 2013 1:45 pm
by ghans
Has been done , search the forums.


ghans

Re: Help with Realtime OS

Posted: Tue Jun 25, 2013 4:31 am
by elatllat

Re: Help with Realtime OS

Posted: Tue Jun 25, 2013 5:52 pm
by 6677
JacobL wrote:Another thing that might impact real-time performance is that the Pi does not have a vectorized interrupt controller. Compared to other systems with such a controller then IRQ latencies will be higher, which could impact real-time performance, depending on the application. It is only really a problem if you use many different interrupts, and they are inside the critical path of your RT requirement.

This means that all IRQs on the Pi goes to the same handler function (with the exception of FIQ). This handler function would then need to determine which IRQ was triggered by polling status registers. This all takes time, though if only few interrupts are in use, then this time might be minimal. A vectorized controller will be able to resolve this in hardware, reducing the software latency of the interrupt.
Real time only defines that the system must process data for a given input within a specified time period, no one said that the time period had to be instantaneous. If the time period is half an hour, then the pi having a non vectorized interrupt controller really wont make a difference.