On Mon, 4 Oct 1999, Andreas Beck wrote:

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

        2.3.x kernel have Stephen Tweedie's 'rawio' patch, which IIRC is
designed specifically to deal with this problem.

Jon

---
'Cloning and the reprogramming of DNA is the first serious step in 
becoming one with God.'
        - Scientist G. Richard Seed

Reply via email to