Hi folks !

I'm working on implementing VideoIO for my hardware, and as I have now
successfully grabbed my first short pieces of video, I wonder how one
can get Linux to show a decent behaviour with respect to streaming data
to disk.

Without any special measures, the cacheing will cause random "hicups",
where the data rate will stall for a few seconds while buffers are being
flushed, and then continue at high rate.

However for streaming video, it would be better, if I rather had a constant
(lower) datarate. 

fflush doesn't seem to count at all. Maybe I need to open with O_SYNC, but
then - I don't care about a little buffering being done (I assume it would
be beneficial, just in case stuff happens like cron running or similar), it 
just shouldn't get excessive.

Any hints appreciated.

CU, ANdy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]> =

Reply via email to