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
