Re: Performance tuning

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 23 Nov 1999 23:18:04 +0100

Steve Snyder wrote:

> Are the defaults (Squid v2.2S5) really that wrong?

It depends on the definition of wrong.

> At (cachesize=100MB, L1=16, L2=256), the default values are *way*
> different than the above equation would suggest are correct.

The default is fine if your cache is in the range 1-6GB. For smaller
caches it might be a useful to use a smaller L1 value to save valuable
inodes (and to some extent disk space). For larger caches you should
tune L2 to fit your OS and L1 to at least allow your cache to fit. If
you do not have the time or knowledge to tune L2 prior to deploying the
cache then leave it at the default setting of 256. Note that L1 and L2
cannot be changed once you have stored objects in the cache (with
possible exception of enlarging L1 if you enlarge the cache partition
and L1 satisfied the equation shown before).

--
Henrik Nordstrom
Squid hacker
Received on Tue Nov 23 1999 - 16:40:39 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT