> 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. (1) is only relevant to squid-2. Squid-3 handles large file in-memory a lot better. But (2) still occurs in both, so it's only partial improvement on initial handling. Amos