[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] maximum frequency for periodic tasks



Hi,
I have just started to experiment with RT- Linux to be able to control
an instrument (microwave radiometer).
The interface uses a digital IO-card. The link uses a serial protocol (
just one connector used for data transfer in each direction, and two
handshaking lines) . To be able to transfer the needed amount of data, I
have to use a rather high frequency (a bit more than 20 kHz or 50 us).
This will be done on a Pentium 200MMX, at the moment I am using a P166
for some testing. The documentation states the maximum achievable
frequency would be approximately 150us (6666Hz) on a P120.
I have written on task to control input and ouput using
rt_task_make_periodic (...,RT_TICKS_PER_SEC / my_frequency,.......)
which seems to work alright even up to frequencies as high as 50kHz (the
PC gets very slow then).
Does anybody have any experience whether I can work safely with tasks at
frequencies up to 25kHz, or will I get in trouble sooner or later (will
harddisk/network work reliably)?
As the digital IO- card has an onboard counter that can trigger hardware
interrupts at a certain frequency, I was wondering whether a module
using a  RT Interrupt handler might have less impact on system
performance.
Any hints and experiences regarding this would be
greatly appreciated.
Thanks for your help and the great work on RT-Linux,
Hartwig


--- [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/