Re: [squid-users] Optimizing squid? Does anyone have an docs on optimizing squid?

From: Michel Santos <michel@dont-contact.us>
Date: Tue, 3 Jul 2007 00:10:29 -0300 (BRT)

Henrik Nordstrom disse na ultima mensagem:
> On Mon, 2007-07-02 at 16:54 -0400, Mark Vickers wrote:
>> I have it set up as reverse proxy.
>>
>> In test I hit it with eight load clients but can't but can't get the CPU
>> on the squid or carp boxes to go above 30%, and I can only pull down
>> about 500 10k files per second.
>
> On what kind of server?
>
> Squid can only use a single CPU core, so if this is a SMP or multi-core
> server then you won't be able to fully utilize the CPU with a single
> Squid instance..
>

I don't know if that is so, I get easily 80-90% CPU on one core at peak time

  PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
 1092 squid 1 87 -19 497M 492M select 0 524.14 59.81% squid0
 1094 squid 1 78 -19 958M 955M select 3 326:34 23.69% squid2
 1093 squid 1 78 -19 960M 957M select 1 325:08 21.86% squid1
 1103 squid 1 -4 -19 5280K 1304K msgwai 2 0:37 0.00% diskd
 1102 squid 1 -4 -19 5280K 1304K msgwai 2 0:19 0.00% diskd
 1099 squid 1 -8 -19 2444K 720K piperd 2 0:00 0.00% unlinkd
 1100 squid 1 -8 -19 2444K 720K piperd 3 0:00 0.00% unlinkd
 1101 squid 1 -8 -19 2444K 664K piperd 2 0:00 0.00% unlinkd

michel

...

****************************************************
Datacenter Matik http://datacenter.matik.com.br
E-Mail e Data Hosting Service para Profissionais.
****************************************************
Received on Mon Jul 02 2007 - 21:10:40 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT