On Wed, Aug 09, 2006, Odhiambo WASHINGTON wrote:
> * On 09/08/06 10:51 +0800, huang mingyou wrote:
> | hello,list
> | I want add a 5.6G disk into my squid cache_dir,and I fond
> | that the squid.conf say that if you want use entire disk,you need set
> | 20% size of that disk.Don NOT use the size of that disk.
> | But, Why? :-)
It boils down to fragmentation. If you use most (80-100%) of your disk
then when you run the disk at capacity it won't be able to allocate
objects anywhere near as optimally as it can when the disk is at least
half empty. The biggest thing that'll hit your performance is fragmentation.
That said, 20% is a bit silly. I'd go with ~50-70%. Anything more and
you definitely are asking for trouble.
Adrian
Received on Tue Aug 08 2006 - 23:44:05 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT