Forums / Install & configuration / RAQ4 - Performance problem on installation.

RAQ4 - Performance problem on installation.

Author Message

boris vanrillaer

Monday 09 June 2003 12:43:31 pm

Hi All,

Guess this will be some kind of last resort to see if I had a fun adventure game for the weekend as someone called it inhere or I might still make a chance on getting it to work ...

My basic question is ... Should my hardware be capable of running eZ performant (response time below 1.2 sec) ?

I have a RAQ4 with 500 and a little of RAM with no real activity going on ... well not for the moment.

It's _was_ a rather new clean installed box with all latest RAQ4 patches.

Let me start in the beginning ...

I discovered eZ a few years ago and almost fell in love directly, however running on a RAQ3 then it seemed like mission impossible and with sadness I turned away and left eZ behind at that time.

Right now I have a smaller project that is screaming for eZ and I returned to see if it would be doable to get it up and running on my new RAQ4 ... ( well I know RAQ4 is old, but it is a new box for me)

Given the specs and memory / CPU requirements I thought it would be a mission I could try to take ...

However, after four clean installs, some forced upgrades, and still a killing performance I start to wonder if I will be forced to go back to some other solutions or I might manage ...

Initial install of eZ3

> no complaints
> no images
> performance average 10 / 20 seconds for the demo page
> CPU 100 %

verified config again and decided to install the required php 4.3.2 cause it could be in the php ... (i was on 4.0.x)

but before I would try this I decided to take eZ2 up for run ...

Initial install of eZ2

> no complaints
> no images
> performance average 8 / 15 seconds for the demo page

Scrathched the whole install and installed php 4.3.2

> compiled it without DOM

> Reinstalled eZ3 without demo date ...

Same result, found some references to DOM and tried to compile it with DOm

Old libxml

> upgraded ...

Retried ... still the same ...

> found a language patch for high CPU times, applied

... still the same ...

So according to me something fishy must be going on and I am missing something here ( seems like so many others *grin* ) but I would really like some advice IF it is possible to run eZ on a RAQ4 with 500 MB of RAM or is it normal that every "click" takes up to 10/15 seconds with 100 % CPU and thus killing my only box I have ...

If the answer is in the doc or the forums, excuse me ... I have been trying to find it for the last 4 days ... but I guess I will need some advice if I want to continue with eZ

*** edited ***

Images are working due to the SUB document ...

http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/typical_problems_and_solutions/images_do_not_work/you_are_sure_that_you_have_imagemagick_but_its_not_working

*** thanks already for that, who know I might get it to work even ****

Any help truly appreciated !

Greetz
Boris

Paul Borgermans

Monday 09 June 2003 2:30:19 pm

Boris,

The amount of RAM is OK, but ezp3 is very cpu intensive as you noticed. Is this a model with a 450 Mhz CPU?

On a 1Ghz machine, a typical demo-page takes 0.6-0.9 sec with a php accelerator. So it may be just feasible, but you have to tune your machine to the max and certainly use a php compiler cache, eg:

http://www.php-accelerator.co.uk/

Another point for optimisation is the use of cache-blocks in the templates (they are not used in the demo's): you inflate the disk space requirements, but reduce the load significantly the more your site is used.

This feature is not yet well documented, so it will require some experiments before you reach your goals of response times.

Your concern with a "low-end" server (cpu-wise) equally applies to "high-end" servers with a large load.

Paul

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

boris vanrillaer

Monday 09 June 2003 3:05:19 pm

Paul,

THNX already ... just quickly installed the accelerator and the initial results are looking promising ...

I'm not going to get picky about a few seconds now ... ;-)

Keep you posted of the results, but it seems it helped already a lot !!!

I indeed might get somewhere ... getting some sleep now after 4 days of eZ'ng

THNX again,
Boris

eZ debug

Timing: Jan 18 2025 15:54:29
Script start
Timing: Jan 18 2025 15:54:29
Module start 'content'
Timing: Jan 18 2025 15:54:30
Module end 'content'
Timing: Jan 18 2025 15:54:30
Script end

Main resources:

Total runtime0.6576 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 587.8672180.8047
Module start 'content' 0.00750.5224 768.6719591.0938
Module end 'content' 0.52980.1277 1,359.7656336.7344
Script end 0.6575  1,696.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.6148210.0002
Check MTime0.00160.2432210.0001
Mysql Total
Database connection0.00130.191810.0013
Mysqli_queries0.581488.41991960.0030
Looping result0.00190.28821940.0000
Template Total0.634796.520.3173
Template load0.00200.304020.0010
Template processing0.632796.211420.3163
Template load and register function0.00010.021310.0001
states
state_id_array0.00050.074810.0005
state_identifier_array0.00070.101720.0003
Override
Cache load0.00170.2626610.0000
Sytem overhead
Fetch class attribute can translate value0.00110.161540.0003
Fetch class attribute name0.00150.232240.0004
XML
Image XML parsing0.00100.151640.0002
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00701.0604280.0002
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs