[mythtv-users] XFS RAID Tweaking

Rob Dege livemotion at gmail.com
Fri Oct 22 14:46:08 UTC 2010


The allocsize tweak was also on the wiki.  I applied that yesterday as
well.  :)

-Rob

On Fri, Oct 22, 2010 at 10:33 AM, Matthew McClement <mythtv at macker.co.uk>wrote:

> On 10/21/2010 07:13 PM, Rob Dege wrote:
> > Hello,
> >
> > I just stumbled upon this wiki entry today regarding XFS tweaks, and
> > have a question about the RAID Array section
> > (
> http://www.mythtv.org/wiki/Optimizing_Performance#Optimizing_XFS_on_RAID_Arrays
> )
> >
> > My system currently uses 2 disks in software raid 0 for /myth.  The
> > filesystem was built/formatted back in 2007 (when I first built the
> > machine).  Given that I don't want to reformat the partition, is it okay
> > to add the custom sunit and swidth values to the mount options, even
> > though they wouldn't match the values on the partition?
> >
> > xfs_info on /dev/md0 shows the sunit=16 and swidth=32
> >
> > The script recommends sunit=128 and swidth=256
>
> The settings can be changed at mount time without regardless of what was
> used during the initial mkfs.xfs. The only thing that might still be
> badly aligned is the journal, but there's not much you can do about that
> without reformatting. And I second the suggestion to use allocsize to
> help reduce fragmentation.
>
> Matt
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>



-- 
-Rob

Hell hath no fury like a snowplow driver from Cheektowaga who gave
up cable and Canadian beer so he could afford Bills season tickets.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101022/48cfd0e6/attachment.htm>


More information about the mythtv-users mailing list