Search squid archive

Re: squid use entire disk partition

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

 



oh,but I limited the max  size of the object that can be cached to 1024 KB.
and ,I set to 70% of the disk size ,it will ok?

2006/8/9, Adrian Chadd <adrian@xxxxxxxxxxxxxxx>:
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




--
Huang Mingyou

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux