Forums / Install & configuration / ProcessCaching enabled degrades performance

ProcessCaching enabled degrades performance

Author Message

Paul Borgermans

Thursday 10 April 2003 10:32:38 am

Weird

When I set ProcessCaching enabled, the time needed to generate a page almost doubles!

Is the meaning of "enabled" here reversed or am I missing something?

BTW, best performance until now with php accelerator (ioncube) +
[Templatesettings]
NodeTreeCaching=enabled
ProcessCaching=disabled

The slowest combination of these 3 parameters gives a whoppy 0.8 sec versus 0.21 sec for the fastest combination with the accelerator (machine used: Dual PIII 1.8 Ghz, SCSI disk subsystem, SuSE Linux).

Template processing still takes the most time (40-60%)

Paul

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

Jan Borsodi

Friday 11 April 2003 6:57:16 am

Process caching is not done yet so it's really not adviced to use it. Once it is done (or at least improved) the processing times of templates will decrease significantly.

Tree caching only removes the parsing stage of the template engine, meaing that the template tree is cached as a PHP array ready for use.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Paul Borgermans

Friday 11 April 2003 10:42:09 am

Thanks Jan

I hope these speedups make it for the 3.1 release. Right now, around 5-10 pages per second seems to be the limit on recent machinery with ezp. No doubt, load in the future (large collaborative sites) may grow well beyond this for our projects.

Regards

Paul

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

Tony Wood

Friday 11 April 2003 10:52:37 am

Paul,

I'm getting around 70 pages per minute on hardware of a similar spec to yours... I have viewcaching turned on and node and process caching turned off... Are your pages doing some heavy duty work?

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

Friday 11 April 2003 11:32:26 am

Well 70 pages per minute or per second?

Here an average page takes around 0.2 to 0.35 sec to be generated. So something like 100-150 pages per minute is currently a reasonable figure.

But I expect for some sites to go up to 20-30 pages per second, so the (granular) caching efficiency will be very important to sustain such scenarios as it consumes the bulk of the processing time.

Paul

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

Tony Wood

Friday 11 April 2003 11:40:25 am

Arh... Sorry Paul I misread... been a long day.

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

eZ debug

Timing: Jan 18 2025 11:26:32
Script start
Timing: Jan 18 2025 11:26:32
Module start 'content'
Timing: Jan 18 2025 11:26:33
Module end 'content'
Timing: Jan 18 2025 11:26:33
Script end

Main resources:

Total runtime1.7838 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.0781180.8047
Module start 'content' 0.00721.6270 769.8828628.4688
Module end 'content' 1.63430.1495 1,398.3516341.0313
Script end 1.7837  1,739.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2256210.0002
Check MTime0.00150.0842210.0001
Mysql Total
Database connection0.00070.037010.0007
Mysqli_queries1.697995.18412050.0083
Looping result0.00280.15572030.0000
Template Total1.752598.220.8763
Template load0.00190.109120.0010
Template processing1.750698.135620.8753
Template load and register function0.00010.005910.0001
states
state_id_array0.00110.063910.0011
state_identifier_array0.00080.045020.0004
Override
Cache load0.00170.0939370.0000
Sytem overhead
Fetch class attribute can translate value0.00230.131140.0006
Fetch class attribute name0.00110.063990.0001
XML
Image XML parsing0.00260.143740.0006
class_abstraction
Instantiating content class attribute0.00000.0013120.0000
General
dbfile0.00270.1530410.0001
String conversion0.00000.000330.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
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs