[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Recommended minimal amount of free space to keep?



You will get better long- term performance if you don't fill the
filesystems more than about 70% full. Above 90% you are permanently
fragmenting the filesystem (depends on total size and workload also). 

There is the secondary issue that mke2fs can lay out the filesystem
better if it is done right at the start rather than resize2fs doing it in
small increments.  I think as long as you are growing each filesystem
in chunks of, say, 16GB or more the performance should stay reasonable. 

In many cases, you can have a rough guess at how much space you will
need in the filesystems, so it doesn't make sense to keep huge amounts
of free space around.

Cheers, Andreas

> On Jun 6, 2014, at 17:57, Ivan Baldo <ibaldo adinet com uy> wrote:
> 
>    Hello.
>    So, LVM is cool, having different partitions for different stuff is cool, and of course Ext4 is cool and *reliable*.
>    So, we create some logical partitions and put ext4 on them, reserving LVM space for growing those partitions or even making new ones later.
>    The thing is, I would like to keep every filesystem as small as it can be, but without degrading the performance too much.
>    I guess that having a filesystem 99% full will create too much fragmentation and many other issues, but having them only 30% full seems like a waste.
>    Currently I try to keep them at 70% full utilization but I have not based that on anything just guess.
>    So, what % hysteresis do you recommend? For example, when they get 70% full then grow them so that they get 50% full? Other values?
>    Thanks for the hints!
>    Good day everyone.
> 
> -- 
> Ivan Baldo - ibaldo adinet com uy - http://ibaldo.codigolibre.net/
> From Montevideo, Uruguay, at the south of South America.
> Freelance programmer and GNU/Linux system administrator, hire me!
> Alternatives: ibaldo codigolibre net - http://go.to/ibaldo
> 
> _______________________________________________
> Ext3-users mailing list
> Ext3-users redhat com
> https://www.redhat.com/mailman/listinfo/ext3-users


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]