[squid-users] TCP_IMS_HIT - from disk always ?

From: Michael Pye <michael@dont-contact.us>
Date: Sun, 12 Mar 2006 14:59:51 +0000

Some analysis of squid (2.5stable12, compiled using sun studio cc) using
dtrace on solaris10 shows in my acclerator setup that there are large
numbers of READ system calls apparently to small files in the cache
directory. These are hits to images that clients have and are sending
If-Modified-Since requests, so the log shows lots of TCP_IMS_HIT accesses.

The amount of reads to these small files though indicates that these
files are read everytime. Is there not a way to get these into memory so
the TCP_IMS_HITs can be answered from memory rather than from disk? I
still have minimum_object_size to 0 and a large enough
maximum_object_size for this to be in memory. In fact the object is in
memory as clients that don't send IMS requests do get the object via a
TCP_MEM_HIT. Is there some reason why IMS requests are not answered from
memory ?

Thanks,

--
Michael Pye
Received on Sun Mar 12 2006 - 07:59:53 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST