Re: L1 and L2 parameters on cache-volumes

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 13 Dec 1999 21:07:05 +0100

Jan Van Ham wrote:

> Suppose you have a 18GB disk that you want to use for caching...should you break the disk into 'volumes' each a couple of gig's and then do a L1=250 L2=64 PER volume ??

I wouldn't.

My guideline is
a) One cache_dir per physical drive
b) L2=256, unless you know that your OS performs better using another
value.
c) L1 = cache_dir size * 2 / store_avg_object_size / L2 / L2

> Is it BAD for performance to created 18 x 1GB volumes for caching (/CACHE1 and /CACHE2 /CACHE3 etc.etc.) each with their own L1 amount set to about 250 and L2 to about 64

It might cause a bit more seeking than one large drive, which is bad.

--
Henrik Nordstrom
Squid hacker
Received on Mon Dec 13 1999 - 14:05:05 MST

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