[mythtv-users] Live TV is smooth, recorded shows jerky - solved.

David Rees drees at greenhydrant.com
Sat Feb 14 03:28:19 EST 2004


Larry Matter wrote, On 2/13/2004 10:39 PM:
> 
> I record a lot of kid shows and have them set to only keep the latest 2 so
> there was a fair amount of churn.  The disk hovered around 40-50% full but
> at times came close to 70 or 80%.  And I'm using mpeg2 so every file was
> at least a gig.

ext2 (and I assume ext3) are both pretty bad at becoming fragmented, 
especially when dealing with large files and when the disk starts 
getting close to 90% full.

I wonder how JFS/XFS/reiserfs compares...  I do know that XFS will 
combine multiple small writes into larger ones.  The files would be 
fragmented less if Myth could pre-allocate disk space of the files in 
1MB chunks (or more).  I could see especially if you had multiple 
tuners, you would quickly end up with some pretty fragmented files.

Anyone know how to find out how many fragments a file contains?

The only way I know how to defragment files is to copy the file, delete 
the original and rename the copied file back to the original.

-Dave


More information about the mythtv-users mailing list