Re: [V4L] Ancilliary issues to "Tivo" alike

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Andrew Stevens wrote:
> 
> Jim Buzbee wrote:
> >
> > Alan Cox wrote:
> > >
> > > > Andrew.Stevens@xxxxxxxxxxxxxxx wrote:
> > > > > - Put bluntly: ext2 is not good for video capture
> > > >
> > > > Mount the partition with the synchronous option.
> > >
> > > uggh. For 2.2 use O_SYNC so you just slow down the video writer thread and
> > > stream the I/O, for 2.4 make use of O_DIRECT to raw device if possible for
> > > even better behaviour
> 
> Not sure I understand how this would help.  Certainly synchronous
> makes little difference.   The problem is the capture thread being
> starved due to large peaks in disk acitivty caused by internal FS
> house-keeping around file closure / file inactivity on big files.

Those peaks are due to buffering.  In a synchronous mode, all I/O
completes when requested... rather than waiting for files to close or
file inactivity.

Chris





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux