Re: [squid-users] squid L1 and L2 cache directories

From: Muhammad Naeem <light@dont-contact.us>
Date: Sat, 31 Jan 2004 19:23:54 +0500

----- Original Message -----
From: "usman fool" <usman_fool@hotmail.com>
To: <squid-users@squid-cache.org>
Sent: Saturday, January 31, 2004 4:19 AM
Subject: [squid-users] squid L1 and L2 cache directories

>
> how are u all!
>
> hope u will be fine.
>
> i need to configure squid on freebsd 4.8 box with ufs, softupdates.
>
> i have 25 Gb of space for cache. ( single hd - ide )

Fine.

>
> i am thinking of creating L1 =32 , and L2 = 256 on a single separate
> cache partition(25Gb).

Single partition is ok for cache_dir.

>
> but i am a newbie.
>
> for optimal performance how much L1 and L2 directories u people suggest.

As a general rule the number of L2 directories should be same i.e. 256 and
for number of L1 directories
L1 = cache_dir size * 1024 / L2 / L2 / 8
    or cache_dir size / 500

rounded upwards.

so for a cache_dir size of 2500 the number of L1 directories should be at
least 5.

Hope this helps

>
> with a lot of thanks.
>
> usman
> from Lahore (pakistan).

/Naeem
Received on Sat Jan 31 2004 - 09:09:36 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:10 MST