Re: [squid-users] Heavy LOAD on squid - system time

From: Denis Vlasenko <vda@dont-contact.us>
Date: Mon, 12 Sep 2005 12:31:16 +0300

On Monday 12 September 2005 12:16, Michal Mihalik wrote:
> Hello.
> I am new to this list and new to squid under heavy load...
> my problem is that squid spends 70% of CPU time in system.
> the number is from top. ( 27.9% user, 66.8% system) and squid is the
> only thing running.

You need to find out what exactly it is doing there.
strace squid, use kernel profiling tools.

> it has open around 2100 descriptors.
> it is handlig around 300req/sec
> most of the stuff from memory. (the descriptors to disk are around 10)
>
> A big quietion is how much will help to move to 2.6.x kernel.

It may even get worse... 2.6 had some regressions lately...
But you may just install 2.6 and measure that.

> and if the answer is 10%, the next question is I NEED MORE :-) how...
> please.
> I noticited some info about select/poll but I couldn find info how much
> it changed in kernel 2.6.
> I have a litle problem with the kernel2.6 kernel and DELL PERC but that
> doesn't belog here.
> I don't know how to get stats about the select/poll.
> I did read the FAQ... etc.etc but you know... I could miss the answer.
> I did not optimize -> /proc values, didn't find anything relevant

[snip]
 
> system SPEC 2x.

I didn't understand this part.

> Debian stable. 2.4 kernel.
> Squid Cache: Version 2.5.STABLE9
> 1GB ram
> 2x15rpm disk (6gb cache)
> Intel(R) Xeon(TM) CPU 3.20GHz 1Mb cache
> heartbeat,ntp,bind 2x100mbs

what is "bind 2x100mbs" ?

--
vda
Received on Mon Sep 12 2005 - 03:32:02 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT