Re: [squid-users] Use fewer L2 cache dirs?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 13 May 2006 19:47:27 +0200

tor 2006-05-11 klockan 23:05 -0400 skrev Steve Snyder:
> On Squid 2.5S13, using ufs/aufs, I am using the recommended 256 L2 cache
> directories. I find though that I never use more than about 140 of them.
> That is, roughly 115 of every 256 directories are untouched since the
> initial creation of the cache directory hierarchy.

???

Squid fills the directory in numeric order, so all L2 directories in
your active L1 directories should be used.

L1/L2/filenumber

00/00/00000000
00/00/00000001
..
00/FF/00FFFFFF
01/00/01000000

so you will find that the last L1 directories are empty, and that the
last used L1 directory only have some of it's first L2 directories used.

> Is there any advantage (performance and/or memory utilization) to reducing
> the L2 dir count from 256 to, say, 150?

Nope.

Regards
Henrik

Received on Sat May 13 2006 - 11:48:18 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT