[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-rt
Subject:    Re: [rtl] rtl scheduler latency.
From:       frasc <roussel () quimper ! eng ! efi ! com>
Date:       1999-01-22 20:27:04
[Download RAW message or body]


>> 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               -°)                          (°-
Frederic.Roussel@efi.com           /\\  Join the penguin force  //\
(650) 286 7208                    _\_v   The Linux G3N3R4T!ON   v_/_

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic