Re: number of dirs

From: visolve cache <[email protected]>
Date: Thu, 27 Jan 2000 05:27:15 -0800 (PST)

Hi,

--- Florin Andrei <florin@mail.maronet.ro> wrote:
>
> In Squid, the default is to create in the cache 16
> first-level directories
> and 256 second-level ones. That should be enough for
> a small cache.
> But what is the reasonable estimate for a 20 GB
> cache? How many
> first-level? How many second-level?

 I had the same problem and got this answer from the
mailing-list.

second-level = 256, unless you know that your OS
performs better using another value. The intention is
to keep search times in the L2 directories reasonably
fast (within one or two memory pages).

 first-level = cache_dir size * 2 /
store_avg_object_size / L2 / L2

=====
regards
visolve_cache
visolve.com
http://www.v-solve.com
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Received on Thu Jan 27 2000 - 11:03:22 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:44 MST