add documentation for execution control in job
Compare changes
+ 52
− 16
@@ -32,7 +32,7 @@ Further you need to set `path` to the path on the node where the results should
@@ -32,7 +32,7 @@ Further you need to set `path` to the path on the node where the results should
@@ -145,7 +145,7 @@ helm install kafka-lag-exporter https://github.com/lightbend/kafka-lag-exporter/
@@ -145,7 +145,7 @@ helm install kafka-lag-exporter https://github.com/lightbend/kafka-lag-exporter/
@@ -162,8 +162,6 @@ pip install -r requirements.txt
@@ -162,8 +162,6 @@ pip install -r requirements.txt
* Change Kafka and Zookeeper servers in the Kubernetes deployments (uc1-application etc.) and `run_XX.sh` scripts
* Change the path to your Python 3.7 virtual environment in the `run_XX.sh` schripts (to find the venv's `bin/activate`)
* Change the name of your Kubernetes namespace for [Prometheus' ClusterRoleBinding](infrastructure/prometheus/cluster-role-binding.yaml)
@@ -171,26 +169,64 @@ Depending on your setup, some additional adjustments may be necessary:
@@ -171,26 +169,64 @@ Depending on your setup, some additional adjustments may be necessary:
The `./theodolite.py` is the entrypoint for all benchmark executions. Is has to be called as follows:
./theodolite.sh <use-case> <wl-values> <instances> <partitions> <cpu-limit> <memory-limit> <commit-interval> <duration> <domain-restriction> <search-strategy>
* `<use-case>`: Stream processing use case to be benchmarked. Has to be one of `1`, `2`, `3` or `4`.
* `<wl-values>`: Values for the workload generator to be tested, separated by commas and sorted in ascending order. For example `100000,200000,300000`.
* `<instances>`: Numbers of instances to be benchmarked, separated by commas and sorted in ascending order. For example `1,2,3,4`.
* `<domain-restriction>`: The domain restriction: `restrict-domain` to use domain restriction, `no-domain-restriction` to not use domain restriction. Default `no-domain-restriction`. For more details see Section _Domain Restriction_.
* `<search-strategy>`: The benchmarking search strategy. Can be set to `check-all`, `linear-search` or `binary-search`. Default `check-all`. For more details see Section _Benchmarking Search Strategies_.
For dimension value, we have a domain of the amounts of instances. As a consequence, for each dimension value the maximum number of lag experiments is equal to the size of the domain. How the domain is determined is defined by the following domain restriction strategies.
* `no-domain-restriction`: For each dimension value, the domain of instances is equal to the set of all amounts of instances.