[squid-users] Reverse proxy performance in FreeBSD 5.3

From: Jeff Behl <jbehl@dont-contact.us>
Date: Wed, 01 Dec 2004 12:00:34 -0800

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 - 12:58:57 MST

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