Hi Yigit,

please do not drop the CC to the mailing list.

On 07/07/2010 09:25 AM, yigit agabey wrote:
> Thanks for the answer.
> Perhaps here is not the right place for that question, but i wonder if
> CONFIG_PREEMPT_RT supports real time drivers or not?
> 
>> Anyway, Socket-CAN should work fine with "-rt" Linux, with soft real-time
> behavior, though.
> 
> I've made some tests with SocketCAN and see that the results are far away
> from determinism. It even doesn't look like soft-real time behaviour.
> Should  some changes be made  on SocketCAN source for it to work with "-rt"
> Linux at least with soft realtime Behaviour?(Actually i dont wan to deal
> with Xenoai if CONFIG_PREEMPT_RT can do the job)

Well, using the -rt patch does not make automatically the kernel and
drivers fully hard real-time capable, e.g. Socket-CAN uses the Linux
network stack, which does dynamic memory allocation, which can cause
rather high latencies. If you need classic hard real-time, I recommend
Xenomai with RT-Socket-CAN. If your requirements are not that strict,
-rt might be good enough as well. Be aware that "-rt" does handle
soft-irqs and interrupts in threads and you need to adjust the
priorities to get reasonable latencies.

Wolfgang.

_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to