Performance test on Jetty/MySQL with 100 wikis

Last modified by Thomas Mortagne on 2014/09/13 16:56

Environment

  • Ubuntu 14.04 64b
  • Quad core i7
  • Oracle JDK 1.8.0_20 64b
  • standard jetty+hsqldb modified to use MySQL
  • 100 standard wikis

Time to create the 100 wikis

  • 5.4.5 : 2h30 (70) + 1h45 (71 -> 84) + 30min (85 -> 100). So 4h45. Was a pain, it failed twice, then I got a OOM and finally was able to finish it with one more restarts
  • 6.0.1 : TODO
  • 6.1 : TODO
  • 6.2-20140903 : 3h (0 -> 100). Worked like a charm. Heap memory right after creating the 100 wikis was 313M

Jetty startup

Until end message is printer. Done by hand with a chronometer.

Unit: seconds

  • 5.4.5 : 15s
  • 6.0.1 : TODO
  • 6.1 : TODO
  • 6.2-20140903 : 22s

First access

First HTTP request after starting Jetty. Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account).

First access to not existing page without UI (/xwiki/bin/get/NoSpace/NoPage).

Unit: seconds

  • 5.4.5 : [30, 40]
  • 6.0.1 : TODO
  • 6.1 : TODO
  • 6.2-20140903 : [30, 40]

Reload

XWiki is doing nothing on background and everything is both in server and client cache already. Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account).

Reload of not existing page without UI (/xwiki/bin/get/NoSpace/NoPage)

Unit: milliseconds

  • 5.4.5 : 15
  • 6.0.1 : 30
  • 6.1 : 45
  • 6.2-rc1 : 45

Reload of not existing page with UI (/xwiki/bin/view/NoSpace/NoPage)

Unit: milliseconds

  • 5.4.5 : TODO
  • 6.0.1 : TODO
  • 6.1 : TODO
  • 6.2-20140903 : [550, 650]

SOLR

Full SOLR reindex

TODO

SOLR init when there is nothing to do

Unit: seconds

  • 5.4.5 : TODO
  • 6.0.1 : TODO
  • 6.1 : TODO
  • 6.2-20140903 : 10

Rendering

Page with 1000 macros without UI

TODO

Memory

Memory after full SOLR index

Unit: MB

  • 5.4.5 : TODO (OOM with standard setup which is 512 so need to retest with more allocated memory)
  • 6.0.1 : TODO
  • 6.1 : TODO
  • 6.2-20140903 : 313

Get Connected