On Wed, Aug 18, 1999 at 12:36:31PM -0700, Stephen Walton wrote:
> Hi,
> 
> Thanks for the quick responses to my last note, all!  I am a happy rt_com
> user now, triggering an SMD 1M15 camera at 5.00 frames per second (fps)
> via its serial port, with adjustable exposure time.
> 
> On to the next task:  I need to save the images to disk at this rate.  I
> already know that, provided the system is quiet, I can do 6 fps or so to a
> raw disk partition quite easily (write() to /dev/sda5).  How can I
> guarantee that I will get every one of the 5 fps to disk?  I've thought of
> a round-robin buffer scheme to hold the images in RAM as they are
> acquired.  Is there something simpler?  The camera is talking to the icpci
> driver from www.gom.com, and that driver already has an area of shared
> memory to which each frame is transferred.
> 


What is wrong with just writing to a file, and let Linux take care of
the dirty work?  You can get a few MB/sec throughput to a disk, and with
64 MB ram, Linux will cache several seconds of writes.  You'll probably
even get better performance than a raw partition.  More, if you find out
that your single-disk throughput is to small, you can use the RAID features
of the kernel with no changes to your program.



dave...

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