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