Search squid archive

Re: Optimal maximum cache size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux