>> I ran the same test on exactly the same hardware (dual boot) running LynxOS.
>> With LynxOS the time between IT Handler and RT_Task (that is a kernel thread
>> for LynxOS) is in the range 10-15 usecs. [20-25 for RTL].
>> My question is then, is there any possible optimization in the rt_sched
>> to get a better response time ?
>
>It's most likely the unecessary timer overhead in the scheduler -- uncessary
>for your example. 
>Try putting rt_set_periodic_mode (LATCH) into your example init code.
>
>You are using 9J right?

I tried it! Worked GREAT!!!!

The scheduler latency time went down to a 3-5 usecs, which is just plain great.

Thanks a lot for the hint!

-- 
Frédéric.R.R.Roussel
Sr.Software Engineer               -°)                          (°-
[EMAIL PROTECTED]           /\\  Join the penguin force  //\
(650) 286 7208                    _\_v   The Linux G3N3R4T!ON   v_/_

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to