Here is a part of my config, it may help:
(FreeBSD 4.2 on PIII 600 with 256MB MEM)
cache_mem 48 MB
cache_swap_low 95
cache_swap_high 100
maximum_object_size 8192 KB
ipcache_size 8192
ipcache_low 90
ipcache_high 95
cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA
cache_dir diskd /cache 11500 24 256
cache_access_log /dev/null
cache_log /usr/local/squid/logs/cache.log
cache_store_log none
cache_dns_program /usr/local/squid/libexec/squid/dnsserver
dns_children 6
reference_age 3 month
half_closed_clients off
acl all src 0.0.0.0/0.0.0.0
http_access Allow all
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
memory_pools off
buffered_logs on
reload_into_ims off
offline_mode off
ie_refresh on
-- Babak Farrokhi Network Administrator Planet Networks,Inc. On Wed, 4 Apr 2001, Edward wrote: > I am also getting that problem on my redhat 7.0 kernel 2.2.2.26 squid 2.4 > machine. > > Thank you very much. > > Best regards, > > Edward Millington > (Network Administrator & Senior Technical Support Technician) > Cariaccess Communications Ltd. > Bridgetown > Barbados > 1-246-430-7435 > Fax : 1-246-431-0170 > edward@cariaccess.com > www.cariaccess.com > ----- Original Message ----- > From: "Babak Farrokhi" <farrokhi@earth.planet.co.ir> > To: "Duane Wessels" <wessels@squid-cache.org> > Cc: <squid-users@squid-cache.org> > Sent: Wednesday, April 04, 2001 4:29 PM > Subject: Re: [squid-users] Performance Tuning - Transparent Cache > > > > I already did that! > > > > (On FreeBSD 4.3) > > > > /sbin/sysctl -w kern.ipc.somaxconn=1024 > > /sbin/sysctl -w net.inet.tcp.delayed_ack=0 > > /sbin/sysctl -w net.inet.ip.portrange.last=40000 > > /sbin/sysctl -w kern.maxfiles=16384 > > /sbin/sysctl -w net.inet.tcp.sendspace=32768 > > /sbin/sysctl -w net.inet.tcp.recvspace=32768 > > > > > > On Wed, 4 Apr 2001, Duane Wessels wrote: > > > > > > > > > > > On Wed, 4 Apr 2001, Babak Farrokhi wrote: > > > > > > > Hi, > > > > > > > > I implemented a transparent cache using squid-2.4.stable on FreeBSD > 4.2. > > > > (IPFW for transparency, BIND for DNS Caching, softupdates). > > > > I also used diskd for better performance. > > > > But when I compare is to a cobalt cache appliance or other commercial > > > > appliances, it has a short latency to serve objects. When I disable > the > > > > cache in my network, I get a better response time. MRTG shows a very > nice > > > > service time. > > > > Using a cobalt cache, I get the whole webpage very fast. But behind my > > > > squid box, it's slower. especially when I use it as transparent (in > > > > tradiotional mode, it's faster). > > > > Did I miss any trick to tune-up my cache? Has anyone such experience > with > > > > this thing? > > > > > > If the difference in latency is about 200msec, then you might > > > have TCP delayed acks on the squid box? > > > > > > Duan eW. > > > > > > > > > > > > >Received on Wed Apr 04 2001 - 15:45:02 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:09 MST