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 - 14:29:29 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:09 MST