[mythtv-users] EXT4 vs XFS
roadrunner6 at gmx.at
Mon Nov 14 11:11:35 UTC 2011
Am 12.11.2011 03:08, schrieb Scott & Nicole Harris:
> Way back when, I switched my recording drives to ext4. I am
> considering converting them back to xfs (I am not sure about the whole
> "ext doesn't get fragmented debate", with no real decent way to
> defragment them), but not sure if there's any merit to doing it.
> Anyone have any input?
Take ext4, and use the filefrag command to check how many extents a file
is using. An extent is max. 128MB. However, it is very unlikely that you
will get any noticable improvement by defraging, both XFS and ext4 do an
excellent job when reading moderatly fragmented files.
I checked it on my system, a FullHD-recording with 10GB of size would
fit into 80 extents, actually it's using 400 extents. That does not mean
it's relevant performance-wise.
So, don't expect too much from optimizing the filesystem level.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users