I have developed an application under RTL1.1

It consists of an RT module which gathers data at 8kHz from some hardware
and pumps it out an rtfifo in 100 byte chunks.   The user process does a
select on that fifo followed by a read.   In the mode I'm running at
present the user process is set into "loopback" so it takes that chunk
being read and writes it immediately to another rtfifo.   My RT module has
a handler installed which writes the incoming bytes back to the hardware.

This is all being run on a 200MHz+ Pentium class machine.

It runs flawlessly for several hours.   At some point the harddisc starts
to thrash and my user process stops being dinged on the select.   All the
processes are still running (because I have my RT module writing a
heartbeat message to another rtfifo every 5 seconds or so).

Is there some background process in Linux which comes along periodically to
do lots of disc I/O which would disrupt my user process sufficiently to
cause my 4k rtfifo to overflow?  If so how can I overcome this in my
design?  Is there a way to "detect" depth in my rtfifo? (I know there is
something on the RTLinux site which writes to /proc)

Thanks.
--- [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