Re: Performance question

From: Dirk Moerenhout <[email protected]>
Date: Tue, 15 Jun 1999 10:55:14 +0200 (CEST)

First of all your settings seem to be way over the top. There is no reason
to set tcp_conn_req_max_q and tcp_conn_req_max_q0 to such high values.
q0 just contains connects that are still in the phase of the 3WHS, q
contains those that have finished 3WHS but are not accepted by an
application yet. After a connection is accepted by an application it has
no effect on either of those queu's. Especially in q there is no way you
could ever have 16000 connections waiting, if you have you're screwed
anyway. For the FD's you're way over the top too, if the thing has need
for over 4000 FD's there's something wrong.

What you might consider is "upgrading" to linux 2.2 depending on what you
else you want to do on the machine (not much I hope cause you better run a
squid dedicated). On a Dual PII 400 512MB RAM I can get upto 130 req/sec
sustained.

Dirk Moerenhout ///// System Administrator ///// Planet Internet NV

On Mon, 14 Jun 1999, gyan prakash wrote:

> Hi ,
>
> I am using Squid 2.1Patch3 on Solaris 7.0/X86 with
> PII450 512MB - 2 CPU
> RAM-256 MB , 2 7500 RPM SCSI II HDD- 4 GB each.
>
> I am using Polygraph 1.0p7 with(patch) but squid not
> able to handle more than 75/req sec. ( --dhr 55% and
> --rep_cachable 80p same as bakeof)
> I have tuned TCP( Solaris 7.0) for following
> parameter...
>
> tcp_time_wait_interval 60000
> tcp_conn_req_max_q 16384
> tcp_conn_req_max_q 16384
> tcp_recv_hiwat_minmss 24
>
> FD is set to 12288.
>
> Even by increasing RAM up to 1 GB , I don't find any
> improvement in performance.
>
> I get the following error in my cache.log file
>
> .............
> .............
> 1999/06/04 13:51:09| comm_write: fd_table[323].rwstate
> != NULL
> 1999/06/04 13:51:12| comm_write: fd_table[491].rwstate
> != NULL
> 1999/06/04 13:51:12| comm_write: fd_table[505].rwstate
> != NULL
> 1999/06/04 13:51:12| comm_write: fd_table[508].rwstate
> != NULL
> 1999/06/04 13:53:55| comm_write: fd_table[906].rwstate
> != NULL
>
> I have changed the NUMTHREADS 128 in ...src/aiops.c
> ....
>
> Polygraph server can handle 500 req/sec without proxy
> for an hour.
>
> Any help will be greatly appreciated.....
>
> Gyan Prakash..
> Squid user...
>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
Received on Tue Jun 15 1999 - 03:09:25 MDT

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