Re: [squid-users] memory_pools parameter

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 01 Jul 2008 20:27:46 +0200

On tis, 2008-07-01 at 19:46 +0200, Egi wrote:
> In the archives of this list i found a topic about memory_pools, it said
> that if memory_pools is set to on squid will save a lot of memory, and
> also if its set to on it must have a memory_pool_limit.

How things behave if memory pools is turned off is very dependent on the
malloc implementation provided by your OS.

By keeping memory pools enabled (the default) a lot of the load is taken
off from the OS provided malloc implementation, making it behave much
better.

> Why is that ? Will "memory_pools off" and "memory_pool_limit" increase
> the performance of Squid3 ?

No.

> What should be the size of "memory_pool_limit"?

The defaults is probably pretty good for most setups.

Regards
Henrik

Received on Tue Jul 01 2008 - 18:27:51 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 02 2008 - 12:00:01 MDT