At the moment I have only XFS in production (it is CentOS default) so I
cannot give you current information related to ext filesystems.

$ sudo xfs_db -r -c frag /dev/sda1
actual 335, ideal 331, fragmentation factor 1.19%

Regards
Peter


On Tue, Aug 25, 2015 at 10:21 AM, Trent W. Buck <[email protected]> wrote:

> Peter Ross <[email protected]> writes:
>
> > BTW: I am reducing it to 2% since.. long long time. I haven't seen an
> issue
> > arising from this at all.
>
> Hm, for the purposes of avoiding fragmentation,
> I suppose the reserve amount needs to be proportional to
> <bytes written per interval> rather than the disk size.
>
> I assume the disk size has grown faster that write speed,
> and the 5% default was conservative even when it was introduced.
>
> So your result makes intuitive sense to me.
>
> OOC, Peter, what fragmentation does e2fsck -f report for your
> filesystems?  With repeated filling as root or with 0% reserve, I've
> seen it go up to 20% or 30% (IIRC).
>
> NB: you can edit mke2fs to make new (ext) fs's default to 2%.
>
> _______________________________________________
> luv-main mailing list
> [email protected]
> http://lists.luv.asn.au/listinfo/luv-main
>
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to