On Wed, 30 Jun 2004, [ISO-8859-2] Hendrik Voigtl�nder wrote:

> IMHO RAM usage depends on the _mean_ object size

average object size, as it is linearly dependent on the total number of
objects. Beacuse of this having a few very large objects cached can
decrease the RAM usage. But the danger is that there is no guarantee there
will be such large objects in the cache.  There may still be situations
where no cacheable such large objects is requested, allowing the number of 
objects to still grow large even if your Squid is configured to allow 
caching of very large objects.

> and this is not directly configurable as it depends on the type of
> traffic going through the machine.

Correct.

> I think it is difficult to predict the RAM requirements and thats why I
> would always start with a smaller cache_dir and add some space later on
> while monitoring the RAM usage.

Correct.

Regards
Henrik

Reply via email to