RE: [squid-users] Dual Processor.

From: Ward, John (GroupWare) <john@dont-contact.us>
Date: Wed, 10 Jul 2002 16:27:59 +0200

in my opinion, i think that having 2 cpu's is no extra advantage seeing as squid will force the cpu's to argue about locking etc ... due to the squid
disk usage policies.

This might be lending itself to make the cpu's block one another .. ?? any comments?

-----Original Message-----
From: Francisco Obispo [mailto:fobispo@nic.ve]
Sent: 10 July 2002 04:17
To: Robert Rapp
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Dual Processor.

Robert Rapp wrote:

> Sorry to bardge in on the conversation, but I cannot find this
> information in the FAQ. I beleive you, I just cannot find it. All I
> find is FAQ 11.46: Squid uses 100% CPU. Can you point it out to me?
>
> Yakult wrote:
>
>> You cannot. Find the answer in Squid FAQ.
>>
>> ----- Original Message ----- From: "Francisco Obispo" <fobispo@nic.ve>
>> To: <squid-users@squid-cache.org>
>> Sent: Tuesday, July 09, 2002 10:53 PM
>> Subject: [squid-users] Dual Processor.
>>
>>
>>
>>
>>> Hi..
>>>
>>> I'm Running Squid with WCCP with linux,
>>>
>>> The server configuration is:
>>>
>>> 2 Intel(R) Pentium(R) III CPU family 1133MHz
>>> 2 GB RAM
>>> 3 38GB Scsi HDs.
>>>
>>> The problem is, that squid uses 100% of only 1 CPU while the other
>>> remains calm.....
>>>
>>> 6:52am up 19:36, 3 users, load average: 1.09, 1.36, 1.33
>>> 46 processes: 42 sleeping, 4 running, 0 zombie, 0 stopped
>>> CPU0 states: 34.0% user, 65.0% system, 0.0% nice, 0.0% idle
>>> CPU1 states: 0.1% user, 7.0% system, 0.0% nice, 91.0% idle
>>> Mem: 2194476K av, 2183516K used, 10960K free, 0K shrd,
>>> 83536K buff
>>> Swap: 2097136K av, 0K used, 2097136K free
>>> 1700840K cached
>>>
>>> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
>>> 19778 nobody 25 0 128M 128M 1600 R 99.3 6.0 48:06 squid
>>>
>>>
>>> This is what 'top' reports...
>>>
>>> How can I make squid use both processors??
>>>
>>> output from 'uname -a'
>>>
>>> Linux cache01-proxy-cache 2.4.18-3smp #1 SMP Thu Apr 18 07:27:31 EDT
>>> 2002 i686 unknown
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>
>
>
I wasn't able to find the answer in the FAQ either.... :-(

About the "kernel: NET: XX messages suppressed." I didn't find any other
related messages.. I think is due to heavy load ( > 4000 hosts).

Is there a way to calculate how many cache's I need for our http
service?, is there a rule of thumb?

thanks..

-francisco

Received on Wed Jul 10 2002 - 10:11:21 MDT

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