Ez 3.7.2 and PHP-accelerating

Author Message

Steph A

Tuesday 24 January 2006 11:57:29 pm

I was just wondering what kind a PHP-accelerator to use for 3.7.2 that supports PHP 4.4.1?

I am currently running FreeBSD 5.4 without any accelerators - and the speed is painfully slow. 10 sec loadtime on a dedicated server... :)

Ɓukasz Serwatka

Wednesday 25 January 2006 12:03:03 am

Hi Steph,

I have been working with IonCube, APC and eAccelerator. The last one had the best performance. But your 10s is really to much, I suspecting that problem is somewhere else. PHP Accelerator can help, but don't expect performance boost from 10s to 0,12s.

Take a look at this topic:

http://ez.no/community/forum/general/ez_speed_optimisation_faq/re_ez_speed_optimisation_faq__14

http://ez.no/community/forum/install_configuration/ez_publish_performance

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Steph A

Wednesday 25 January 2006 1:45:11 am

Thanx for the suggestion. I have fixed some server issues - and now the loadtime is about 1.4 sec ... still not too fast. Havent got too many nodes either, and the templatecode is pretty simple....

I had someone to install a php-accelerator, but and they said that there where some version conflict, and that I could not use the accelarator with php 4.4.1...

I think they tried to install the accelerator from www.php-accelerator.co.uk ... is there any problem getting a accelerator to php 4.4.1?

Any to recommend?

Thanx..

Paul Borgermans

Wednesday 25 January 2006 2:58:42 am

Try eaccelerator, slightly better performance:

http://eaccelerator.net/

I installed (compiled) and tested on 3.7.2 with PHP 4.4.0 (64 bit)

hth

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Sebastian Picklum

Thursday 26 January 2006 12:29:13 pm

I hope the following information is still valid: with FreeBSD Version 5.4:
Please notice that FreeBSD is a performance killer itself, since it does a stat()-call for on every file access for every directory level. e.g. /home/youruser/public_html/ezpublish/index.php would result in 5 stat() calls.
You can boost performance by placing ezpublish direct under the root directory or by using Linux as server os.

Regards

Sebastian

sp@php.net

Xavier Dutoit

Thursday 26 January 2006 11:51:53 pm

Hi,

I know that Gabriel is into BSD and from what I heard, he's happy with the performance, at least better than 10 seconds to load a page ;)

Don't know if it's related but if I'm right he uses XFS.

Gabriel, over to you...

X+

http://www.sydesy.com

Gabriel Ambuehl

Friday 27 January 2006 12:08:51 am

Actually, I had sub 1 second load times on FreeBSD 4.11 without eaccelerator and sub 0.2s with eaccelerator. There should be accelerators in the ports tree IIRC. (I think latest eaccelerator supports PHP 4.4)

Visit http://triligon.org

Steph A

Sunday 29 January 2006 7:23:15 am

Thanx for all inputs guys. I still use FreeBSD 5.4 - but managed to get the loadtime down to 0.14 sec with eAccelerator :D

Now I`m happy... :)

If anyone was wondering about hard/software:
Apache/2.1.4 (FreeBSD) PHP/4.4.1
AMD Sempron(tm) 2400+ (686-class CPU) 1666.49- MHz RAM: 239,94 MB

Gabriel Ambuehl

Sunday 29 January 2006 7:31:31 am

That machine ss awfully low on RAM. 512 or more (preferably 1G+) wouldn't hurt at all under load.

But the times seem ok.

Visit http://triligon.org

Steph A

Sunday 29 January 2006 7:50:29 am

Yes I know its low on ram, but for now I just use this as develop-space. When I go live I will upgrade it as needed :)

But still, 0,14sec and often lower is not too bad - or what?

Gabriel Ambuehl

Sunday 29 January 2006 7:53:30 am

That's rather good, actually.

Visit http://triligon.org

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.