Re: [squid-users] cache_mem

From: Chris Robertson <crobertson_at_gci.net>
Date: Wed, 21 Jan 2009 11:49:39 -0900

Paul Cocker wrote:
> Simple one I hope
>
> Once you have squid up and running and know its memory use and overall
> system memory use, should cache_mem be set as a percentage of the free
> memory available, or should you be leaving a large amount of memory for
> the use of the OS file cache and keeping squid' cache_mem at a smaller
> value like 64MB?
>

1) Squid's handling of large objects (1MB+) in memory can be CPU intensive.
2) Squid does not pull objects from the disk cache into the memory cache.

Given those two facts, I use a smaller cache_mem value (64 or 128 MB)
and leave the rest for the OS.

> Paul Cocker

Chris
Received on Wed Jan 21 2009 - 20:46:58 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 22 2009 - 12:00:03 MST