Re: [squid-users] Calculating cache_dir L1 parameter

From: Henrik Nordstrom <[email protected]>
Date: Fri, 28 Feb 2003 20:19:18 +0100

Probably me..

L1 = cache_dir size * 1024 / L2 / L2 / 8 * 2

or simplified for L2 = 256 (default, recommended)

L1 = size / 256

With modern Squids you can go down maybe 40% if you like, but having to
many does not hurt except that "squid -z" takes longer to run..

Regards
Henrik

Alex Sharaz wrote:
>
> hi all,
> A while back I sent out a message regarding some config issues for my squid
> caches one of which related to the cache_dir config file parameter.
>
> someone kindly sent me back an equation to be used in calculating the L1
> parameter for a given size of cache disk.
>
> Unfortunately guess who has misplaced the message and can I find it on the
> FAQ page at www.squid-cache.org? nope of course not.
> So .... if someone could please send me the info again I'd be obliged
>
> Alex
>
> Sent using Mulberry 3.01a
Received on Fri Feb 28 2003 - 12:19:37 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:46 MST