[SQU] Squid byte HIT ratio

From: Aaron Seelye <aseelye@dont-contact.us>
Date: Tue, 24 Oct 2000 11:51:06 -0700

Hello,

I have a couple questions. First, I am currently getting a ~45% hit ratio,
but for byte %, it's only around 20-25%. This is fine, but I'm wondering
what I can do to make it better. Second, is the only way to get a better
hit ratio to get more storage? I currently have 15.5GB of storage, but it's
not working a whole lot better (as far as I can tell) than a 4GB cache has
in my past experience.

The cache is an AMD T-Bird 900, with 512MB of RAM, 15.5GB of cache space,
running squid 2.3STABLE4 with wccp, on FreeBSD 4.1.1. The following is my
squid.conf. If you guys see anything that needs tweaking, or have any other
suggestions, they'd be much appreciated.

-Aaron

http_port 80
icp_port 0
acl QUERY urlpath_regex cgi-bin .cgi .pl .php .asp .cfm
no_cache deny QUERY
cache_mem 192 MB
cache_swap_low 95
cache_swap_high 98
maximum_object_size 65536 KB
cache_dir ufs /usr/local/squid/cache 15750 32 256
refresh_pattern . 0 20% 10080
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
range_offset_limit -1 KB

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 21-65535
acl CONNECT method CONNECT

http_access allow manager localhost
http_access allow all
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

cache_effective_user nobody
cache_effective_group nogroup

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
reload_into_ims off

wccp_router x.x.x.x
wccp_version 4

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Oct 24 2000 - 12:53:33 MDT

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