Re: [squid-users] squid cpu usage ..high??

From: khiz code <khizcode@dont-contact.us>
Date: Thu, 13 Sep 2001 22:21:14 -0700 (PDT)

hi joe

well a guru is a guru and no doubting that
well yes joe i did compile squid with the enable time hack option
ive now compiled a new one without it
now my figures are like this
client_http.requests = 31.505258/sec
client_http.hits = 14.794440/sec
cpu_usage = 49.813500%
i just hv a feeling that even this is abit on the higher side
ive compiled 2.4S1 with async-io and ummm 35 threads....
do u think that this is abit high given the load of abt 40 req/sec ..
do i need to decrease the no of threads or totally give up async io ..

also i ve not been able to get sufficient information abt the LFUDA and
GFUDA replacment plocies and related performance..any pointers to that
??
rgds
khizcode

--- Joe Cooper <joe@swelltech.com> wrote:
> Am I misremembering that the configure options you posted a week or
> two
> back included 'time-hack'? If you are still running a Squid with
> time-hack, recompile without it--it is a hack that does not work as
> expected on any platform I know of and leads to severe CPU overusage.
>
> khiz code wrote:
>
> > hi all
> > i am using squid 2.4 S1 with async-io =40 threads
> > my cpu usage is pretty high considering the current load
> > client_http.requests = 27.130222/sec
> > client_http.hits = 9.784833/sec
> > unlink.requests = 0.000000/sec
> > page_faults = 0.000000/sec
> > select_loops = 487.786278/sec
> > select_fds = 308.131472/sec
> > cpu_time = 215.500000 seconds
> > wall_time = 303.020004 seconds
> > cpu_usage = 71.117417%
> > ---vmstat
> >
> > procs memory swap io system
> cpu
> > r b w swpd free buff cache si so bi bo in cs us sy id
> > 1 0 0 0 2624 188520 7204 0 0 1 4 59 91 8
> 18
> > 74
> > 1 0 0 0 2436 188676 77236 0 0 5 52 858 340 10
> 21
> > 70
> > 0 0 0 0 2220 188872 77252 0 0 3 0 869 270 14
> 23
> > 63
> > 1 0 0 0 3024 188604 76744 0 0 3 0 889 314 11
> 26
> > 63
> > 0 0 0 0 2908 188696 76744 0 0 0 64 805 259 13
> 21
> > 67
> > 1 0 0 0 2848 188752 76764 0 0 3 0 848 311 12
> 25
> > 64
> > 0 0 0 0 2672 188932 76760 0 0 0 43 979 318 14
> 25
> > 61
> > 1 0 0 0 2364 189236 76764 0 0 3 15 923 139 18
> 32
> > 51
> > 0 0 0 0 2108 189440 76800 0 0 7 85 929 355 11
> 23
> > 66
> > 0 0 0 0 2564 189012 76572 0 0 7 0 971 425 14
> 22
> > 65
> >
> > syn received = 20
> >
> > this is a dual cpu p3 550 mhs /512 mb ram/6 *9gb ultra 2 scsi
> 10000
> > rpm
> >
> > something amiss somewhere
>
>
> --
> Joe Cooper <joe@swelltech.com>
> Affordable Web Caching Proxy Appliances
> http://www.swelltech.com
>

__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
Received on Thu Sep 13 2001 - 23:21:15 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:10 MST