Re: [squid-users] Surprizing distribution of files in cache dir

From: <vda@dont-contact.us>
Date: Sat, 2 Aug 2003 15:12:05 +0300

On Friday 01 August 2003 16:10, Henrik Nordstrom wrote:
> fre 2003-08-01 klockan 13.45 skrev Denis Vlasenko:
> > BTW, why squid decided to place 128 files per dir? Not 64? Not 512?
> > Is it hardwired?
>
> You told it to via the L2 parameter.

Hmmm. I am a bit confused. Docs say:

# cache_dir Type Directory-Name Fs-specific-data [options]
#
# "ufs" is the old well-known Squid storage format
# ==================================================================
# cache_dir ufs Directory-Name Mbytes L1 L2 [options]
# 'Mbytes' is the amount of disk space to use
# 'Level-1' is the number of first-level subdirectories
# 'Level-2' is the number of second-level subdirectories

You say that L2 is used as a max number of objects per level2 directory.

Does this mean that L2 parameter specify both number of level2 dirs and
max number of objects per level2 directory? Or what?

--
vda
Received on Sat Aug 02 2003 - 06:12:23 MDT

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