memory_pools

 < Day Day Up > 

memory_pools

Squid's memory pools are an attempt to optimize the way Squid allocates and frees memory. Certain data structures inside Squid are pooled . This means that rather than freeing unused memory, Squid holds onto it for future use. It also means that a particular chunk of memory is normally used for the same type of data structure. Memory pools may improve Squid's performance by avoiding frequent calls to malloc( ) and free( ) . The downside, however, is that the overall memory usage may be higher. If memory is a precious resource on your system, you might want to disable memory pools.

Syntax

 memory_pools onoff 

Default

 memory_pools on 

Example

 memory_pools off 

Related

cache_mem , memory_pools_limit

 < 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