Author Topic

Christian Johansen

Monday 03 July 2006 7:11:50 am

Comment32699

Hi, this thread has been very helpful in speeding up my general access pages. They still lag a little bit too much when they're not cached, but it's getting better. However, publishing is starting to become a real pain. I was hoping someone could offer some insight as my admin interface is very slow. See this example - this is from viewing Content Structure only:

Time accumulators:
 Accumulator	 Elapsed	 Percent	 Count	 Average
ini_load				
Load cache	0.4961 sec	4.3630%	12	0.0413 sec
FindInputFiles	0.1142 sec	1.0044%	12	0.0095 sec
Parse	0.0147 sec	0.1295%	2	0.0074 sec
Save Cache	0.0101 sec	0.0886%	2	0.0050 sec
Mysql Total				
Mysql_queries	2.3232 sec	20.4304%	739	0.0031 sec
Looping result	0.0898 sec	0.7896%	735	0.0001 sec
Template Total	10.8045 sec	95.0%	2	5.4023 sec
Template load	0.1505 sec	1.3238%	2	0.0753 sec
Template processing	10.6532 sec	93.6862%	2	5.3266 sec
override				
Cache load	0.1080 sec	0.9499%	2	0.0540 sec
General				
INI string conversion	0.0006 sec	0.0054%	2	0.0003 sec
String conversion	0.0002 sec	0.0014%	2	0.0001 sec
Total script time:	11.3711 sec	

That's probably hard to read but, the last line says it all - 11 seconds! That's way too much just to view things. When publishing an article it usually takes 30-60 seconds. Here's the details:

CPU: 2,4GHz Celeron
Memory: 512M
Disk space: about 30GB free

OS: Win XP
SQL: MySQL 4.1
WebServer: Apache 2
PHP: 4.4.0
Accelerator: eAccelerator with eaccelerator.shm_size="256"
eZ Version: 3.7.4

Site.ini
[ContentSettings]
ViewCaching=enabled
PreViewCache=disabled # Slows down publishing don't it?

[TemplateSettings]
TemplateCache=enabled
TemplateCompile=enabled
TemplateCompression=disabled # caused me trouble before
TemplateOptimization=enabled

[SearchSettings]
DelayedIndexing=enabled # In fact, we don't use the search engine at all

I also switched the default tree menu with enhanced Ajax treemenu, extension called ezodcsm, saves a bit of time

From what I can gather, this should be the recipy for a relatively successful installation, however, with around 1000 nodes, the admin is becoming increasingly hard to work with. Any hints?