Re: [squid-users] how can i get squid max performance

From: blade <blade.zhang@dont-contact.us>
Date: Fri, 26 Mar 2004 10:47:16 +0800

Thank you !
I would use this tool to monitor system when busy traffic.
And every squid box has about 5M/sec from mrtg graphs ,
and about 1800 ESTABLISHED from netstat .
 


----- Original Message -----
From: "Denis Vlasenko" <vda@port.imtp.ilyichevsk.odessa.ua>
To: <blade.zhang@dudu-inc.com>; <squid-users@squid-cache.org>
Sent: Thursday, March 25, 2004 10:24 PM
Subject: Re: [squid-users] how can i get squid max performance


On Thursday 25 March 2004 12:17, blade wrote:
> I have been use squid iptables to get load balance and reverse proxy and it
> works for half a year. But now traffic goes up . and i use five squid box
> to load balance. when traffic high ,squid use 50% cpu , and it is slow to

You need to find out where is the bottleneck.
Are your squid boxes CPU bound? (Seems like not). Disk bound? Network bound?
Maybe you just reached your outbound connection's bandwidth?

> visit static pages but the total traffic is about 40M . and every squid

40M/min? 40M/sec?

> box has about 1800 ESTABLISHED . i did some optimize such as ,
> net.ipv4.tcp_max_syn_backlog = 4096
> net.ipv4.ip_local_port_range = 16384 65534
> use ulimit −HSn 8192
> −−enable−async−io diskd
> configure squid-2.5.STABLE5 and use refer log patch
>
> --prefix=/data/squid --enable-useragent-log --enable-referer-log
> --enable-default-err-language=Simplify_Chinese
> '--enable-err-languages=Simplify_Chinese English' --disable-internal-dns
> --enable-storeio=ufs,diskd,aufs --enable-cache-digests
> --disable-ident-lookups --enable-async-io=160
> I wanna to know what is the squid high performance and how can i get it ?
>
> Thanks in advance

Here is a little tool I use to find out various statistics
of my boxes.

In case you will have difficulty compiling it,
I included static binary too.
--
vda
Received on Thu Mar 25 2004 - 19:48:13 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:03 MST