eZPublish benchmarking

Author Message

Damien Pitard

Friday 18 July 2008 3:23:34 am

Hi,

We are going to benchmark different clustered filesystems to replace our storage database which is over stress due to big audience on our site.

Does anybody have some scripts to put an eZpublish system under stress... especially concerning filelocks?

Thx

Damien

Damien Pitard | Prisma Presse

André R.

Wednesday 23 July 2008 7:44:55 am

Since there is no point in requesting css / images when testing file locks, you can easily use ab (apache bench):
http://httpd.apache.org/docs/2.2/programs/ab.html

Note, stat calls are one of the focus points in 4.1, to improve performance on windows / os x / nfs and other clustered file systems.

One patch for 4.x that are awaiting approval might interest you (so you get a idea of how 4.1 will work):
http://issues.ez.no/IssueView.php?Id=12137&activeItem=5#comment257136

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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

eZ debug

Timing: Jan 31 2025 03:38:11
Script start
Timing: Jan 31 2025 03:38:11
Module start 'layout'
Timing: Jan 31 2025 03:38:11
Module start 'content'
Timing: Jan 31 2025 03:38:11
Module end 'content'
Timing: Jan 31 2025 03:38:11
Script end

Main resources:

Total runtime0.0269 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.1250151.2109
Module start 'layout' 0.00550.0046 739.3359220.6719
Module start 'content' 0.01010.0150 960.0078997.7578
Module end 'content' 0.02510.0017 1,957.765629.9922
Script end 0.0268  1,987.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002910.7220140.0002
Check MTime0.00124.3603140.0001
Mysql Total
Database connection0.00093.263810.0009
Mysqli_queries0.003111.490230.0010
Looping result0.00000.055910.0000
Template Total0.00124.610.0012
Template load0.00093.471410.0009
Template processing0.00031.101810.0003
Override
Cache load0.00072.478710.0007
General
dbfile0.002810.251880.0003
String conversion0.00000.029340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs