Re: [squid-users] Optimal maximum cache size

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Wed, 07 Nov 2007 11:06:09 +1000

Hi,

On Tue, 2007-11-06 at 17:33 +0100, Matus UHLAR - fantomas wrote:
> On 05.11.07 19:00, Paul Cocker wrote:
> > Is there such a thing as too much disk cache?

I recall seeing something on the squid-cache web site that said about 1
week is the optimal age for content. How you size the cache is a bit of
a guess. I have two identical systems with 36 GBytes of cache each. One
is doing about 3 times as much traffic as the other (so much for manual
load balancing :-). The busy one has an LRU of 6 days while the quiet
one has dropped down to about 9 days (I'm sure it was about 20 days not
that long ago). That tells me they're not too bad size-wise. Both
systems have just over 2,000,000 store entries. The cache_dir parameters
of interest are: aufs, 19150, 46, 256.

The whole theory behind squid is that it's quicker to get the object
from disk than to retrieve it over the net. Getting objects from memory
is nice but I wouldn't over-emphasise its importance.

Colin

-- 
Colin Campbell
Unix Support/Postmaster/Hostmaster
Citec
+61 7 3227 6334
Received on Tue Nov 06 2007 - 18:06:23 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST