Just curious if its worth looking into: http://eaccelerator.net/

Would like to hear your feedback if it improved your drupal load speed or not. :)

eAccelerator is a free open-source PHP accelerator, optimizer, encoder and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.

Comments

WillieBHines’s picture

I am using it, but did not benchmark with an without. My sysadmin had no problem installing it and I haven't seen it interfering at all with functionality. I'm sure it's doing something, but I don't know how much.

arkepp’s picture

Yes, it works like a charm. I run big phpBB and Drupal sites on one of my servers, it drops the load to about 1/5th. You get an additional 5-10% if you configure eaccelerator to not check the mtime of files that are already compiled, only when you manually clear the cache (or clear the cache as part of a cron-job).

The other three thing that help a lot are:
1) tuning the MySQL query-cache, because a lot of the queries are about the same stuff.
2) configuring Apache to not look at .htaccess files, do everything within the configuration file.
3) have enough Apache servers (threads) available

I notice no difference whatsoever if I turn on Drupal's caching functionality. On other sites, which run more complicated PHP programs, I notice much better responsetime.

hba’s picture

I just installed eAccelerator on my site, and I'm impressed by the results. I only benchmarked the front page with ab (ApacheBench) for 10 seconds with 20 threads. Before the install I managed 110 completed requests, afterwards I got 1040. One thousand and forty!

I'm impressed.