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@creative.net.au>:
> 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 MingyouReceived on Wed Aug 09 2006 - 02:17:21 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT