RE: [squid-users] How to increase the performance of Squid in acc elerator mode?!

From: Chris Robertson <[email protected]>
Date: Tue, 14 Dec 2004 10:15:32 -0900

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:hno@squid-cache.org]
Sent: Tuesday, December 14, 2004 5:27 AM
To: Squid Mailinglist Member
Cc: squid-users@squid-cache.org
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
Received on Tue Dec 14 2004 - 12:16:55 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST