Before you go and say "wow, I want more MEM_HIT, increase mem_cache!",
remember that if you have a decent amount of spare memory, the kernel
will use that as page cache, so it's a good change that frequenty-
requested items will, in fact, be served from RAM (via the page cache)
even if it's not squid's RAM. There's also a design bottleneck in
squid that limits cpu efficiency of large mem_cache objects (larger
than a MB or so), so resist the urge to give squid all your available
memory. Let mem_cache handle your small objects and the kernel handle
the larger ones.
-C
On Feb 15, 2008, at 4:18 AM, pokeman wrote:
TCP HIT is contain object in harddrive and TCP_MEM_HIT contain
object in
memory
J. Peng wrote:
what's the difference between TCP_HIT and TCP_MEM_HIT ?
I found access.log has full of TCP_HIT but few TCP_MEM_HIT, is it
right?
thanks!
--
View this message in context: http://www.nabble.com/TCP_HIT-and-TCP_MEM_HIT-tp15498612p15499973.html
Sent from the Squid - Users mailing list archive at Nabble.com.