[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Should squid RAM management be left to the kernel or configured explicitly?



On Sunday 06 June 2010 08:38:47 Klistvud wrote:
> Do you think there would be any point in
> optimizing the squid.conf MEMORY CACHE OPTIONS (such as cache_mem,
> maximum_object_size_in_memory and memory_replacement_policy), or would
> it just "duplicate" the caching provided by the kernel? I mean, aren't
> all those objects already being held *in RAM* anyway?

If your squid cache size is always smaller than the RAM available to the squid 
process(es), then I wouldn't worry about it.

However, squid is capable of caching much more data than fits into RAM.  In 
that case, you'll want to tweak squid's memory settings so that it 
appropriately chooses what objects to cache on disk.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: