Current development on JAMWiki is primarily focused on maintenance rather than new features due to a lack of developer availability. If you are interested in working on JAMWiki please join the jamwiki-devel mailing list.

Tech comments:Performance

Performance[edit]

Archived from the Feedback page:

I'm testing jamwiki 0.8.0 with an external oracle db on the same machine. To test performance I have built a spamer machine that generates and delivers (using http) random articles (approx. 10k each). The first few take between 1 and 2 seconds to load but then it slows down quickly to about 8-10seconds each. Debugging shows that the bulk of the time is consumed by the search engine for indexing. I see that this will improve with the next release but still I am wondering because the 0.* secs mentioned there for 0.8.0 are still way faster than my 1.* secs and I think my machine is quite fast. Any wild guess what could account for that? And is it possible to defer indexing? 95.115.141.6 12-Jan-2010 03:18 PST

Those times seem excessive - at my former job on a box using a remote Oracle database with older hardware topic creation/update times were less than a second. How many topics do you have? If there are tens of thousands (or more) then it's possible that the search engine indexing might take a while, but if you only have a few thousand topics it should be reasonable. -- Ryan • (comments) • 12-Jan-2010 07:59 PST
There are 7,760 articles. Loading looks like
19:22:24,626 ERROR [STDERR] Jan 11, 2010 7:22:24 PM org.jamwiki.utils.WikiLogger warning
WARNING: Slow page loading time: /jam8/en/Special:Edit (10.142 s.)
19:22:35,155 ERROR [STDERR] Jan 11, 2010 7:22:35 PM org.jamwiki.utils.WikiLogger warning
WARNING: Slow page loading time: /jam8/en/Special:Edit (10.517 s.)
19:22:45,298 ERROR [STDERR] Jan 11, 2010 7:22:45 PM org.jamwiki.utils.WikiLogger warning
WARNING: Slow page loading time: /jam8/en/Special:Edit (10.118 s.)
19:22:55,234 ERROR [STDERR] Jan 11, 2010 7:22:55 PM org.jamwiki.utils.WikiLogger warning
WARNING: Slow page loading time: /jam8/en/Special:Edit (9.926 s.)
19:23:05,444 ERROR [STDERR] Jan 11, 2010 7:23:05 PM org.jamwiki.utils.WikiLogger warning
WARNING: Slow page loading time: /jam8/en/Special:Edit (10.201 s.)
19:23:15,444 ERROR [STDERR] Jan 11, 2010 7:23:15 PM org.jamwiki.utils.WikiLogger warning
Articles look like "Omsharat buze lutof yseir lushte djynu gedjfe eizphe toto eteept eimfor fothepteipha einluk neeiphdjeirzou ag. Shokasuzeathdylusshooph ebrysh ureitheiheirdjeib, lop, belom ru. Agrothokulupdjadjok tuzashul, o moodban. Adjeth buso fedjsheizugbypho obamphei eigesh. Eneiboradj. Ypt ruloz tufhor ahaphy mabeib aeimgydje eshhofon oeph aur uyfsu gapt ptyeth, ebsolei." but to a length of ~10k. 95.115.141.6 12-Jan-2010 08:23 PST
Um, I had several retries with different tests. Can it be that when I tell jamwiki to use the same directory for system files each time that it has to deal with far more than the articles currently in the db? 95.115.141.6 12-Jan-2010 08:32 PST
Sorry, I'm not sure I understand the previous question. One additional thing to look at might be changing your log level to "FINE" and seeing if any additional messages are generated that could help track down the problem. There was a bug in 0.8.0 (fixed in 0.8.1) that could fail to release database connections in some instances, but if that were the case I think you'd see a different message so I'm not sure that's the problem. In any case, ten seconds is most definitely not normal, so either there is something odd about your configuration or else your configuration for some reason hits a JAMWiki bug that no one else has yet experienced or reported... additional info from the more detailed log level would definitely be useful. -- Ryan • (comments) • 12-Jan-2010 09:39 PST
Thank yo so far. I will try to have a closer look, than I'll post again. 95.112.191.250 13-Jan-2010 09:41 PST