Re: Why not auto-config of "store_avg_object_size"?

From: Duane Wessels <[email protected]>
Date: Mon, 27 Mar 2000 10:14:17 -0700

On Mon, 27 Mar 2000, Steve Snyder wrote:

> Given a mature cache, why can't Squid (v2.3S2) configure itself rather
> than using the static store_avg_object_size value?
>
> I understand why this config option is needed when a cache is first
> created. But once a cache has been filled to, say, the cache_swap_low
> percentage, Squid should be able to determine for itself the
> store_avg_object_size value.
>
> Having Squid do its own adjustment (at run and reconfigure times)
> would avoid what I find myself doing periodically: adjusting the
> store_avg_object_size value to match the reality of the cache storage.

In 2.3, store_avg_object_size is only used for cache digest size estimations.
Its probably obsolete, and could be removed entirely.

Why do you feel you need to keep changing it?

Duane W.
Received on Mon Mar 27 2000 - 10:16:58 MST

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