iperf/jenkins integration

Add a script to convert an iperf bandwidth measurement to an xml format
suitable for the jenkins perfpublisher plugin [1].

At the moment, only a single test is supported, but that will be extended
later.

[1] https://wiki.jenkins-ci.org/display/JENKINS/PerfPublisher+Plugin

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
cassandra/jenkins integration

Add a script that converts cassandra-stress output to an XML format that
is parseable by the Jenkins perfpublisher plugin.

The script is mostly a copy-paste of Avi's iperf script.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
tomcat: allow the tomcat user to manage tomcat programatically

Useful for automated tests.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
tomcat: add jenkins PerfPublisher integration

Parse wrk output files and write them in a format suitable for PerfPublisher.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
apps: added osv-memcached module

osv-memcached application connects to the FreeBSD PF (packet filtering)
interface and handles inbound memcache UDP requests.

For more info look at https://github.com/cloudius-systems/osv/wiki/osv-memcached

New in V2:
   - Changed the target name: osv-memcached -> osv-memcached.so
   - Makefile: inherit the application directory name from the git URL.
   - Makefile: Use $(notdir) instead of $(shell basename).

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>
Add fsmark module

fsmark is an I/O benchmark tool.
fsmark originally uses fork when kicking off new tasks, so I had to change
the code to use threads instead.

Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>
[ tgrabiec: resolved minor conflict in modules.json ]
Signed-off-by: Tomasz Grabiec <tgrabiec@cloudius-systems.com>
osv-memcached: Fixes in a Makefile making the developing easier

 - Don't delete old sources every time the target is built.
 - Make the module rebuilt when the sources have changed.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
osv-memcached: remove the not needed parameter

osv-memcached is using the "shrinker" interface now to triger the memory freeing,
thus no need for any "max-memory size" semantics paramater. It's the total
amount of free Guest memory and that will control the application memory usage.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Increase Java thread stack size in start-cassandra

This sets the Java thread stack size (-Xss option)
to match the setting in module.py.  Cassandra fails
to start with the original setting.

Signed-off-by: Don Marti <dmarti@cloudius-systems.com>
Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
Add Jetty application

Add Jetty in apps/. The default command line is to run Jetty's
demo on port 8080. Obviously, this is useful only for testing and
demonstration purposes - a real Jetty use-case will want to use a
different servlet.

Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>
Introduce java-example module

Reviewed-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Signed-off-by: Tomasz Grabiec <tgrabiec@cloudius-systems.com>
Add leveldb

Intro:
LevelDB is a fast key-value storage library written at Google that
provides an ordered mapping from string keys to string values.

URL: https://code.google.com/p/leveldb/

Howto:
The following will start the db_bench provided by leveldb.
$ make image=leveldb
$ scripts/run.py

LevelDB:    version 1.15
Date:       Wed Apr 16 06:45:29 2014
Keys:       16 bytes each
Values:     100 bytes each (50 bytes after compression)
Entries:    1000000
RawSize:    110.6 MB (estimated)
FileSize:   62.9 MB (estimated)
------------------------------------------------
fillseq      :       8.079 micros/op;   13.7 MB/s
fillsync     :    3371.135 micros/op;    0.0 MB/s (1000 ops)
fillrandom   :      10.913 micros/op;   10.1 MB/s
overwrite    :      13.146 micros/op;    8.4 MB/s
readrandom   :      11.831 micros/op; (1000000 of 1000000 found)
readrandom   :      10.534 micros/op; (1000000 of 1000000 found)
readseq      :       0.415 micros/op;  266.4 MB/s
readreverse  :       0.718 micros/op;  154.1 MB/s
compact      : 1676298.000 micros/op;
readrandom   :       6.208 micros/op; (1000000 of 1000000 found)
readseq      :       0.366 micros/op;  302.0 MB/s
readreverse  :       0.635 micros/op;  174.2 MB/s
fill100K     :    2104.607 micros/op;   45.3 MB/s (1000 ops)
crc32c       :       5.208 micros/op;  750.1 MB/s (4K per op)
snappycomp   :       7.972 micros/op;  490.0 MB/s (output: 55.1%)
snappyuncomp :       1.552 micros/op; 2517.3 MB/s
acquireload  :       0.734 micros/op; (each op is 1000 loads)
apps/osv-memcached: Use git tags when cloning in order to allow proper bisecting

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Add openjdk8 module sourced from the Fedora RPM

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
openjdk8-fedora: fix typo in .PHONY

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
Add and use fonts module

Per Tomek's suggestion, extract the font files from the various jdk
manifests and push them into a common module.

Reviewed-by: Tomasz Grabiec <tgrabiec@gmail.com>
Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
Add scala module, with an example user (scala-example)

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
cassandra: Capstan packaging support

This adds Capstanfile to build and run Cassandra with Capstan. It uses
basename variable substitution ("&") which depends on the following
Capstan pull request:

  https://github.com/cloudius-systems/capstan/pull/77

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Signed-off-by: Tomasz Grabiec <tgrabiec@cloudius-systems.com>
netperf: add jenkins perfpublisher parser

This allows the nightly performance test to extract and correlate netperf
benchmark results.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
Merge remote-tracking branch 'origin/master' into ruby

Conflicts:
	modules.json