Pete Davis wrote:
What happens if you do cat /dev/video0 > /dev/null instead of movie.mpg.
This
will tell us if it's some hard drive or I/O (dma maybe) issue. At least
that's
my theory.

--Brian


Brian, your theory seems good. The problem doesn't seem to appear when I do
this.

I know Linux doesn't really have defrag utilities because it supposedly
doesn't need them (well, that's not entirely true, I know there's at least
one commercial one). So what can I do here to diagnose the exactly problem
and hopefully fix it?

Pete


What FS is on the linear array ? Is it ext3 ? If it was created with the default settings it may be having trouble storing large video files. I believe the default block size is 4K. That consumes a lot of inodes. It's possible you're running out of inodes on that filesystem. You could try dumpe2fs and take a look at the free inodes and block size.

You're not going to want to hear this, but you are probably better off reformatting your video partition with a different FS that is better suited to large files out of the box like XFS or JFS. EXT3 needs to be set up differently for the expected workload at format time.

Take a look at 'man mke2fs' and have a look at the -T option. I think you probably need a filesystem with -Tlargefile or -Tlargefile4 rather than the default which creates half as many inodes than blocks and sets the block size to 4K.

Yan


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to