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
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
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.
Offline
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 ![]()
Last edited by zaher (2006-03-15 06:04:37)
Offline
I just tested the speed difference between your two wikis:
$> 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.
Offline
You are not logged in.