Re: [SQU] Bucket

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 18 Jan 2001 23:48:28 +0100

spotapov@newmail.ru wrote:

> On what signs squid group objects for hash bucket?

By a modulo of the hash table size on the MD5 hashing of the request
method and URL.

The size of the hash table is determined by the cache size,
store_avg_object_size and store_objects_per_bucket.

> And in which case i can change parameter
> "store_objects_per_bucket" for improving squid performance?

If it has any effect on performance it is most likely very minimal.
Unless of course the parameter is set way out of normal operations
range..

Having it small makes store lookups slightly faster, byt causes more CPU
time to be used for store maintenance.

Having it larger does the inverse, slower lookups but less CPU used for
maintenance.

--
Henrik Nordstrom
Squid hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Jan 18 2001 - 16:12:10 MST

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