Re: store_avg_object_size

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Fri, 6 Nov 1998 11:22:09 -0700 (MST)

On Fri, 6 Nov 1998, Rodney Holm wrote:

> What exactly is the store_avg_object_size?

It is your estimation of the average (mean) size of a stored (cached)
object. Squid uses store_avg_object_size to estimate the _number_ of objects
(store entries) given the size of a cache.

        number_of_objects = cache_size / store_avg_object_size

cache_size comes from your cache_dir entries in squid.conf.

Finally, if you overestimate store_avg_object_size, Squid will run out of
pre-allocated store entries (place-holders for swap files). If you
underestimate store_avg_object_size, Squid will use more RAM than needed.
 
Alex.
Received on Fri Nov 06 1998 - 11:16:27 MST

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