store_avg_object_size

 < Day Day Up > 

store_avg_object_size

Squid uses this value as a hint for estimating the size of certain data structures. In particular, Squid calculates an estimate for the total number of objects in the cache, based on this value and the sum of all cache_dir sizes. This estimate is, in turn , used to calculate the number of hash buckets for the primary index to cached objects. Additionally, it can estimate the cache digest size, if that feature is enabled.

In most cases the default should be sufficient. You can find the actual value for your cache by querying the cache manager. Look for "Mean Object Size" on the info page (see Section 14.2.1.24).

Syntax

 store_avg_object_size   size-specification   

Default

 store_avg_object_size 13 KB 

Example

 store_avg_object_size 10 KB 

Related

cache_dir , digest_bits_per_entry , store_objects_per_bucket

 < Day Day Up > 


Squid
Squid: The Definitive Guide
ISBN: 0596001622
EAN: 2147483647
Year: 2004
Pages: 401
Authors: Duane Wessels

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net