Re: Cache hit ratio?

From: Merv Connell <connellm@dont-contact.us>
Date: Tue, 25 Feb 1997 11:58:37 +1000 (EST)

 According to our Squid we are:
 
         1Gb of disk space for caching
         doing a ~20,000 hits per day from ~400 active clients
         getting a 34% hit rate
         getting about a 19% hit rate on our parent cache

What is more crucial to hit rates is refresh_patterns rather then pure
disk capacity.

My refresh_pattern is below, any comments or additions I would appreciate.
===================

refresh_pattern ^http:// 240 40% 20160
refresh_pattern ^ftp:// 240 40% 20160
refresh_pattern ^gopher:// 240 40% 20160
refresh_pattern /cgi-bin/ 0 0% 30
refresh_pattern . 240 40% 20160

#java classes

refresh_pattern/i \.class$ 240 50% 43200

# graphics

refresh_pattern/i \.gif$ 240 50% 43200
refresh_pattern/i \.jpg$ 240 50% 43200
refresh_pattern/i \.jpe$ 240 50% 43200
refresh_pattern/i \.jpeg$ 240 50% 43200
refresh_pattern/i \.png$ 240 50% 43200
refresh_pattern/i \.bmp$ 240 50% 43200
refresh_pattern/i \.tif$ 240 50% 43200
refresh_pattern/i \.tiff$ 240 50% 43200
refresh_pattern/i \.ntj$ 240 50% 43200
# movies

refresh_pattern/i \.mov$ 240 50% 43200
refresh_pattern/i \.avi$ 240 50% 43200
refresh_pattern/i \.qt$ 240 50% 43200
refresh_pattern/i \.qtm$ 240 90% 43200
refresh_pattern/i \.viv$ 240 90% 43200
refresh_pattern/i \.mpeg$ 240 50% 43200
refresh_pattern/i \.mpg$ 240 50% 43200
refresh_pattern/i \.mpe$ 240 50% 43200

# audio

refresh_pattern/i \.wav$ 240 50% 43200
refresh_pattern/i \.au$ 240 50% 43200
refresh_pattern/i \.mid$ 240 50% 43200

# compressed

refresh_pattern/i \.zip$ 240 50% 43200
refresh_pattern/i \.gz$ 240 50% 43200
refresh_pattern/i \.arj$ 240 50% 43200
refresh_pattern/i \.lha$ 240 50% 43200
refresh_pattern/i \.lzh$ 240 50% 43200
refresh_pattern/i \.rar$ 240 50% 43200
refresh_pattern/i \.tgz$ 240 50% 43200
refresh_pattern/i \.tar$ 240 50% 43200
refresh_pattern/i \.Z$ 240 50% 43200
refresh_pattern/i \.z$ 240 50% 43200
refresh_pattern/i \.sit$ 240 50% 43200

# applications

refresh_pattern/i \.exe$ 240 50% 43200
refresh_pattern/i \.bin$ 240 50% 43200
refresh_pattern/i \.hqx$ 240 50% 43200

# documents

refresh_pattern/i \.pdf$ 240 50% 43200
refresh_pattern/i \.rtf$ 240 50% 43200
refresh_pattern/i \.doc$ 240 50% 43200

Cheers.
 
Received on Mon Feb 24 1997 - 18:17:03 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:32 MST