Hi all. This is a bit peripheral to rtlinux, but hopefully someone here can
help me out.

I have written a data acquistion application using an rtlinux module,
and, while everything works well when I am not saving data to disk, during disk
writes I get pauses in the display. This is, as far as I understand it, a
result of disk write buffering, and I'm wondering if there is anything I can do
about it. 

I've tried fflush-ing the file and using setvbuf to set the file to
non-buffered mode, but neither of those had any effect on the pauses.  During
the pauses the cpu usage goes up from about 50% to 100% (most of it dedicated
to the system).

Is there any way for me to force a larger number of small disk writes so I can
minimize the gaps in the display?

Thanks,

Loren

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

Reply via email to