WikiMatrix

#1 2006-03-09 17:50:58

zaher
Member
From: Syria
Registered: 2006-03-09
Posts: 3
Website

Performance

Hi, i like DokuWiki but
1 - It is very slow, is there any config or options to make it more faster
2 - All media are downloaded by php script so maybe it take more than 30 second the max limit to execute php script.

Thanks

Offline

 

#2 2006-03-11 19:38:26

safl
Member
Registered: 2006-03-11
Posts: 1

Re: Performance

I've installed 2006-03-09 on FreeBSD 5.4-RELEASE-p6, Apache2 and php5.

The wiki is really slow... load times ~6seconds.
Im running on a lowend 266mhz, 32mbram. But a wiki really should't be that inefficient... anybody else experiencing performance issues?

Offline

 

#3 2006-03-13 10:16:52

andi
Administrator
From: Berlin, Germany
Registered: 2005-11-17
Posts: 182
Website

Re: Performance

The thing which needs most proccessing time is parsing (we're using a real parser not just a bunch of regexps) but also rendering (creating XHTML from the parsed data) needs some time. DokuWiki uses caching to speed up repetitive pageviews.

However a 266Mhz processor is probably too slow for anything. You may be able to run one of the simpler Wikis on this system but I guess any of the bigger ones will have problems on your machine.

@zaher: the fetch.php is needed to make sure ACL are honored for media files. The script resets the timelimit if possible to avoid the problem you describe. If this doesn't work for you, you should host big files at a different location and just link to them.


Careful: I'm the lead developer of WikiMatrix and DokuWiki so my posts may be biased ;-)

Offline

 

#4 2006-03-15 06:04:02

zaher
Member
From: Syria
Registered: 2006-03-09
Posts: 3
Website

Re: Performance

I hope there is an option to download media file directly like as old versions of DokuWiki, not over fetch.php
i know mybe break some of security.

for slow you can compare with two installed in my site

old but fast http://www.parmaja.com/forums/doku.php
new but very slow http://www.parmaja.com/wiki/

in facts i stuck with DokuWiki style and like it too match, i need it to be very fast smile

Last edited by zaher (2006-03-15 06:04:37)

Offline

 

#5 2006-03-15 10:01:35

andi
Administrator
From: Berlin, Germany
Registered: 2005-11-17
Posts: 182
Website

Re: Performance

I just tested the speed difference between your two wikis:

Code:

$> time for x in `seq 5`; do wget 'http://www.parmaja.com/forums/doku.php?id=innosetup' -O foo; done
real    0m3.086s
user    0m0.004s
sys    0m0.028s

$> time for x in `seq 5`; do wget 'http://www.parmaja.com/wiki/innosetup' -O foo; done
real    0m3.537s
user    0m0.020s
sys    0m0.008s

So for 5 requests on the same page the difference is a half second - not critical I would say. However I can give you one recommendation for speed improvement: install the mb_string extension for PHP - it gives a huge boost in handling UTF-8 data.


Careful: I'm the lead developer of WikiMatrix and DokuWiki so my posts may be biased ;-)

Offline

 

#6 2006-03-16 00:45:03

zaher
Member
From: Syria
Registered: 2006-03-09
Posts: 3
Website

Re: Performance

Ok, i will keep at the new version and remove the old, but still looking for more improvment in the future smile

Thanks Andi

Offline

 

You are not logged in.


Board footer

Forum powered by PunBB (© 2002–2005 Rickard Andersson)