> A new problem is the freezing of the RTL server when the more frequent
> RT tasks run every 50ms. At 80ms, it does not freeze. I am yet to
> measure how long the RT task invocations take. Could a task that takes
> longer than its period freeze the RTL server (Linux or whatever, I
> just can't figure out what happens when it freezes)?
>
> Thanks,
> Aleks
Yes, absolutely! This is exactly what I was asking you when I asked
how long does the 500ms take?
And how long does the 50ms task take? ( worst case and average case)
Not how often the are run, but how long do they run for? If you don't
know use the function in asm/rt_time.h called rt_get_time_ns() as the
first and last line in your task. Save the results into to separate
variables and subtract. This is roughly how many nanoseconds the task
takes not including the small amount of time RTL takes to start and stop
your task. Print this result to the screen.
By the way, what exactly is your 50ms, and 500ms task? Are they both
RTL tasks? Also, what type of CPU are you using? How fast is it?
- Kal.
--- [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/