Performance: LightTPD + Win2003

Author Message

Markus Birth

Tuesday 29 January 2008 1:15:56 am

I think we stumpled upon the following problem:

http://bugs.php.net/bug.php?id=38825

On a Win2k3 machine, eZ needs almost half a second for things which run in 0,0x seconds on a Linux machine.

Are there any new infos on how to speed up Win2k3? Any hints to speed up the whole thing a bit?

We are already using FastCGI but suffer from the crashing php-cgi.exe mentioned in the last post at http://forum.lighttpd.net/topic/1164 . But that's another story...

Thanks in advance.

Regards,
Markus Birth

André R.

Tuesday 29 January 2008 1:42:27 am

* Tweak NTFS settings
http://www.windowsdevcenter.com/pub/a/windows/2005/02/08/NTFS_Hacks.html

* Try testing out Windows Server 2008:
http://www.microsoft.com/windowsserver2008/audsel.mspx

* Experiment with Fascgi and IIS, its supported by Microsoft:
http://www.iis.net/default.aspx?tabid=1000051
(But iis does not have mod_rewrite support out of the box)

Oh and post back any success / failure you have! :)

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

Markus Birth

Tuesday 29 January 2008 2:35:55 am

I already tweaked the NTFS settings (Disable8Dot3NameCreation, NtfsDisableLastAccessTime) without a noticeable improvement in performance.

Since we have to test a site on the same system our customer will run it, we have to choice but to use Win2k3.

And finally I'd prefer to do without any Microsoftware when it comes to serving sites. So Lighty should stay. There has to be another way.

André R.

Tuesday 29 January 2008 6:32:46 am

Yes, Linux or even Solaris :)
If they want to pay there are several Linux distros that lets you (SUSE, RedHat and so on..).

On the other hand, what eZ Publish version are you using?

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 18 2025 05:00:54
Script start
Timing: Jan 18 2025 05:00:54
Module start 'layout'
Timing: Jan 18 2025 05:00:54
Module start 'content'
Timing: Jan 18 2025 05:00:56
Module end 'content'
Timing: Jan 18 2025 05:00:56
Script end

Main resources:

Total runtime1.0992 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.1484152.6406
Module start 'layout' 0.00500.0028 741.789139.4766
Module start 'content' 0.00781.0897 781.2656552.1406
Module end 'content' 1.09750.0017 1,333.406312.1484
Script end 1.0992  1,345.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2936160.0002
Check MTime0.00130.1196160.0001
Mysql Total
Database connection0.00090.078310.0009
Mysqli_queries1.040694.6722600.0173
Looping result0.00060.0555580.0000
Template Total1.058696.320.5293
Template load0.00200.180320.0010
Template processing1.056696.120620.5283
Template load and register function0.00020.016210.0002
states
state_id_array0.00170.153010.0017
state_identifier_array0.00250.226420.0012
Override
Cache load0.00180.1625300.0001
Sytem overhead
Fetch class attribute can translate value0.00110.097820.0005
Fetch class attribute name0.00170.152850.0003
XML
Image XML parsing0.00060.056920.0003
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00080.0741170.0000
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
4content/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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs