I saw the similar behavior on our systems.
When given some work (under 5~6 requests/second), the cpu load is
under 0.05. But the cpu load increases very rapidly as the increasing
the requests.
When the requests are 40~50 per seconds, the meter of cpu load increases
upto 10.0 ~ 16.0. The squid uses the most cpu time, and the most cpu time
was system mode (not user mode).
The odd thing is that there are still 15~30% cpu idle when the cpu load
indicates above 10.0.
Our system configuration is:
Linux Kernel 2.0.34
Pentium-II 266Mhz + 256M memory + 4*3 giga Disk
Squid-1.2beta22 (enable_snmp,async_io,NUMTHREAD=128)
--J
> Bill Wichers wrote:
>
> > Squid is eating LOADS and LOADS of CPU time (99.9% according to top), and
>
>
> I can't see the same behaviour.
>
> When idle almost no CPU is used (it is not shown on the top screen).
>
> When given some work (~6 requests/second) it still does not show up as
> using any CPU.
>
> When given a lot of work (~70 request/second) it uses about 50% of the
> CPU.
>
> This is on a Pentium 133.
>
>
> How is your Squid configured & compiled?
>
> ---
> Henrik Nordström
> Sparetime Squid Hacker
>
Received on Sat Jun 20 1998 - 08:11:06 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:40:46 MST