Re: Curious distribution of objects per directory, HASH is buggy or non uniform ???

From: Henrik Nordstrom <>
Date: Thu, 04 Jun 1998 00:19:15 +0200

attached mail follows:

Andreas Jung wrote:

> cache_dir /WWW1/squid/cache1.2 850 32 256
> That's enough to have reach a hit rate of about 35% however
> only 3 of the 32 L1 directories are used.

Sounds reasonable.

The goal is to keep each L2 directory in a reasonable size, while not
using to many directories. Each L2 directory is populated with at most
L2 files.

To keep good search times a directory-file should not be larger than a
few blocks ("ls -ls" in a L1 directory). And in order to require as
little memory as possible for directry caches each directory block
should be almost full.

Henrik Nordström
Sparetime Squid Hacker
Received on Wed Jun 03 1998 - 15:23:06 MDT

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