Re: [squid-users] Reverse proxy performance in FreeBSD 5.3

From: Jeff Behl <[email protected]>
Date: Wed, 01 Dec 2004 14:32:33 -0800

Hmm...well that's not very heartening that you get the same out of a
p3-500, but I am doing 16 Mb/s more. My setup is real simple: no diskd,
scsi hard disk (but again, everything is being served out of memory), no
peers. It's just a straight, single purpose reverse proxy...

disk i/o should be the cause:

www1# iostat 1
      tty da0 pass0 pass1 cpu
 tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id
   0 50 14.89 1 0.02 0.00 0 0.00 0.00 0 0.00 3 0 7 2 88
   0 231 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 16.00 9 0.14 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 16.00 35 0.55 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 16.00 7 0.11 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 16.00 3 0.05 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 7.14 7 0.05 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0
   0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 0

sigh...

Jeff

Kelly_Connor@gilbert.k12.az.us wrote:

>
>
>I get similar performance out of a Linux dual P3-500 Xeon box, but I run
>about 50 redirectors off it and have about 24Mb bandwidth.
>
>Are you running diskd? Do you have SCSI/RAID? How many peer caches are
>subordinate to this one?
>
>Kelly Connor
>Network Technician
>Gilbert Unified School District
>kelly_connor@gilbert.k12.az.us
>
>
>
> Jeff Behl
> <jbehl@fastclick.
> com> To
> squid-users@squid-cache.org
> 12/01/2004 01:00 cc
> PM
> Subject
> [squid-users] Reverse proxy
> performance in FreeBSD 5.3
>
>
>
>
>
>
>
>
>
>
>howdy,
>
>I've got a dual proc AMD64 (2gHz) FreeBSD 5.3 system running two squid
>processes (to take advantage of both CPUs). Each process is doing
>around 195 req/s, and the total bandwidth is ~40Mb/s (gig nic via bge
>driver). All content is being served out of memory (very little disk
>activity).
>
>Top shows
>
>CPU states: 16.0% user, 0.0% nice, 42.7% system, 7.6% interrupt, 33.6%
>idle
>Mem: 898M Active, 569M Inact, 179M Wired, 214M Buf, 171M Free
>Swap: 4069M Total, 4069M Free
>
> PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
>14598 squid 108 0 463M 459M select 0 39.2H 59.96% 59.96% squid
>14605 squid 105 0 421M 416M CPU0 1 38.4H 49.95% 49.95% squid
>
>but the % system time can fluctuate up to 60 at times. My question is
>if this is about the type of performance I could expect, or if people
>have seen better. I was expecting to see much better performance,
>seeing how everything is being served out of memory, but maybe I'm
>asking too much? Is this a FreeBSD issue (anybody else with similar
>experience)? A majority of the cpu time being spent in system would
>seem to indictate such.
>
>Any help/pointers/remarks appreciated
>
>Jeff
>
>
>
>
Received on Wed Dec 01 2004 - 15:30:56 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:01 MST