Forums / Install & configuration / Speeding Up eZpublizh... Help!

Speeding Up eZpublizh... Help!

Author Message

rdav ido

Monday 28 April 2003 11:00:16 am

My pages are loading way to slow and I have read through the forums as far as I can reasonably get to [sure would be nice if there was a search function on the forums here] and caught a few suggestions on speeding up the site.

1) caching the site, but i don't see a caching function
Is there a "publishing" function in eZ publish somewhere that I have missed that will cache the site for you? It would be great if I could cache the site at time x to correlate with the times the site isn't accessed as much. Since this seems to be such a critical feature to speed and speed is such a critical function of a successful website if there isn't a caching function, we should consider developing one that will cache the site all at once.

2) Install php accellerators.
Accelerators still don't have my demo site following the 5-second rule. I installed ionCube and noted only minor increase in speed. The demo pages are taking anywhere from 9-20 seconds to load, which is simply unacceptable. The "pages" I am talking about are the content from the Demo site that comes with the basic eZ publish installation. I have looked at other people's sites that are posted here and they don't move slowly at all so I know I am missing something.

3) I looked at the amount of memory each page request consumes and it's 9-15MB per request. gawk! That's a lot, is there any way to decrease.

What can I do? or What did you do?

any assistance, anecdotal or otherwise is welcome.

I am running on RH7.3 with apache,php and mysql. Now I have the ionCube accelerator.

Paul Borgermans

Monday 28 April 2003 11:27:42 am

What are your machine specs? I'm running it on my 1.3 Ghz laptop (Linux and WinXP) , slow hard disk and 512 MB RAM without problems. Around 0.5-1 sec per request for second hits (the first hits can be slower), and Linux slightly faster than WinXP (no accelerator installed in either case).

ezp 3.0 requires quite some RAM and fast CPU's for template crunching though.

Can you try the installer bundle for redhat from ezp if that's not the apache/mysql you use?

Paul

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

rdav ido

Monday 28 April 2003 11:45:48 am

It's an intel server box with 800 mHz P4, 128 MB RAM. All it is running is apache, php and mysql. The installed apache and php versions meet the recommended versions based on the documentation. I am testing out a few other CMS systems and eZ publish is on the top of the list, but the speed and memory (~20% per request) & cpu (~30-40% per request) consumption is a major drawback.

If you are getting such good page delivery times, then perhaps you configured something I haven't. I'd be interested to find out what your php and eZ publish configurations are.

Do you have a php accelerator installed?

I would like to push forward with eZ publish and it was one of my top 3 CMS choices two years ago when I looked before. At that time it was just too complicated for end-users (the content development team) to use. Now, it's had a major upgrade and is the perfect solution as far as usability and feature set goes. However, with a single request consuming so much CPU and memory these factors will be the deciding factor against eZ publish this time around if I can't bypass or resolve it.

Obviously others may be running faster systems, but considering the low load on this server otherwise I feel that I should be able to configure it so that it the site can move quickly. I have five other CMS systems installed and none of them have slow page-delivery or are as much of a load on the server memory and CPU as eZ publish. Again, I really want to see if I can get around these issues so if anyone has suggestions let me know.

Is there a caching function where eZ publish will cache the site once you are done making changes?

It seems like a big onnous of responsibility on the end-user to generate the cache for you when they are requesting the pages on the site. Most of them will likely leave before they even get the info they want based on the page-delivery times I have seen.

Harry Fuecks

Monday 28 April 2003 6:02:37 pm

eZ publish does have caching built in (server side caching) - trawl the various site.ini files for settings with the word "cache" in them.

Also on Windows checkout Turck MMCache - ready to roll extension PHP accelerator which supports windows: http://www.turcksoft.com/en/e_mmc.htm

Scot Wilcoxon

Monday 28 April 2003 11:20:03 pm

Notice the previous performance discussion http://ez.no/developer/ez_publish_3/forum/setup_design/benchmarks_dont_look_too_great_more_efficient_caching_is_needed (hmm.. I think that is called an "overly friendly URL") in the Setup & Design forum.

In this case, I think the 128MB may be the bottleneck. The eZ specs suggest more. A lot of stuff gets shared and is instantly accessible when enough memory is provided.

Karsten Jennissen

Tuesday 29 April 2003 12:23:17 am

Hi,

apart from the things that have been said above, I'd like to add that with the ez publish 2.2.x Windows installers, there occasionally was a speed problem. Did you use the installers or did you install server / PHP yourself? The solution at that time was to use another preconfigured installation, for example foxserv and then install the ez publish source on top of that.

Just throwing it in the discussion.

Karsten

Tony Wood

Tuesday 29 April 2003 2:09:19 am

I would also check your templates, sometimes code is not cached. We had an instance where we put code in an include and it was not cached. When we moved it to a full class it was cached and we received a 300% increase in speed.

The knack with performance tuning is to look everywhere. Hardware, OS, Application software, Database and bespoke code.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Tony Wood

Tuesday 29 April 2003 5:18:48 am

After we added cache blocks correctly :) We got it working well using includes as well.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Paul Borgermans

Tuesday 29 April 2003 7:04:04 am

Tony

Are you putting cache blocks around the include statement or in the included template?

Paul

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

Tony Wood

Tuesday 29 April 2003 7:45:01 am

In the include statements.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future