[squid-users] Cache_mem, squid performance

From: Nguyen, Khanh, INFOT <nguyenkt@dont-contact.us>
Date: Mon, 4 Dec 2006 09:25:41 -0500

Hi,

I have a question about cache_mem, hope that someone has some insight
about it.

I run squid 2.6 on AS linux 4, update 3. My server has 8 GB memory, 20
GB virtual memory, 50 GB hard disk for squid cache.

Is it true that allocating large cache_mem would decrease the
performance of the cache server? For example, I was told that with 3 GB,
load is 400 r/s, with 2 GB, load is 1200 r/s, object size is 1-100KB.
That is 3 times difference. It goes against common sense that memory
would help performance, not hurt. Maybe cache_mem works differently and
the more it has, the worst the squid performs. Or something in the load
generator which makes it worst. In which condition, more memory will be
worst? What would be the best number for cache_mem?

Thanks,
Khanh
Received on Mon Dec 04 2006 - 07:25:51 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST