RE: recommended L1 and L2 entries

From: M. Yu <myu@dont-contact.us>
Date: Wed, 4 Oct 2000 20:14:22 +0800

Henrik

The squid docs gave this formula for computing the "optimal" numbers for the
cache:

given:
        DS = amount of 'cache_swap' / number of 'cache_dir's
        OS = avg object size = 20k
        NO = objects per L2 directory = 256

calculate:
        L1 = number of L1 directories
        L2 = number of L2 directories

such that:
        L1 x L2 = DS / OS / NO

I guess with the "rule" you gave of having 1 L1 dir for each 0.5Gb, we can
now extrapolate the value of L2. In his case DS=18000000 KB with OS=20KB
(just my estimate), NO=256 and L1=36 and L2 =97.

Is this the correct computation then?

M. Yu

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Oct 04 2000 - 06:19:59 MDT

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