Previous topic  Top  Next topic  Print this Topic
 

Throughput Benchmark

 

The Throughput Benchmark is parameterized by a benchmark configuration file. An example is located in the OntoBroker installation directory:

benchmark\benchmark-throughput.xml.

Each suite has 2 throughput properties for configuring the benchmark:

<suite name="Threads-10" threads="10" rounds="50">

The file benchmark.dtd helps to create valid benchmark.xml files, if your xml editor supports dtd validation.

threads: Number of threads to execute queries. This is the number of clients which execute parallel queries.
rounds: Number of queries executed by each thread.

In the example above, each of the 10 threads execute 50 queries, which means that 500 queries are executed. The benchmark diagrams show the throughput, which means how many queries are executed per second.

Throughput is the number of queries executed each time. Latency is the time a query needs to run.

Run example

To start the example delivered by the OntoBroker installation, run:

OntoBrokerHome> tools\benchmark.cmd benchmark\benchmark-throughput.xml

It takes some minutes for the benchmark to finish. To see the report, open:

OntoBrokerHome\benchmark\outputDirectory_benchmark-throughput\benchmark-throughput.html