I was also under the impression that storeio method "aufs" was the best
choice for Linux.

Another good thing to do (not Squid related) is use a PHP profiler to see
where your PHP could use optimization.  PHP|Architect had a good article on
this: http://www.phparch.com/issue.php?mid=24 (no affiliation, I just
happened to read this edition).  You might also look into using a PHP
caching add-on such as APC (http://apc.communityconnect.com/about.html).

Chris

-----Original Message-----
From: Henrik Nordstrom [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 5:27 AM
To: Squid Mailinglist Member
Cc: [EMAIL PROTECTED]
Subject: Re: [squid-users] How to increase the performance of Squid in
accelerator mode?!


On Tue, 14 Dec 2004, Squid Mailinglist Member wrote:

> we are running a Squid on a dual xeon LAMP machine (so it's a LSAMP ;-) as
an 
> accelerator for the web page on the machine.
> So far so good, but the traffic would be bigger in future so what can I do
to 
> increase the performance or reduce the cpu usage of Squid?

The simplest action is to

  a) Make Squid conservative with the number of filedescriptors it uses by 
disabling persistent connections and support for half closed connections.

  b) If your Squid is I/O bound then add more drives. Should not be the 
case in an accelerator.

Then there is the more long term action of helping with getting Squid-3 
and it's epoll implementation stable. epoll should allow Squid to manage 
significantly more concurrent connections without wasting too much CPU.


And are you sure you want these?

>        --with-dl \
>        --enable-arp-acl \
>        --enable-underscores \
>        --enable-x-accelerator-vary


Regards
Henrik

Reply via email to