Usage
Benchmarks are run in docker-compose environment. You can start a benchmark with
make benchmark_run
To run benchmarks of old AVR you need to put .deb file with AVR into /bin and name it avr.deb
and do the same with dependencies but with deps.deb
file name. We are running AVR benchmarks on Ubuntu:xenial.
Configuration
Benchmarks are configurated via .test_env
file committed into this repository.
File should look something like this:
export SOCKET_DIR=/tmp
export UNIQUE_DIMENSION_PERCENTAGE=0
export DIMENSION_SIZE=4
export METRICS_PER_MINUTE=100000
export DURATION=10m
export PROMETHEUS_PORT_ADVANCED_METRICS=2112
export PROMETHEUS_PORT_GENERATOR=2113
export NATS_PORT=4222
export SIMPLE_BENCHMARK=true
Setting up external machine for benchmarking
Use setup_external_ubuntu.sh
script
Prometheus and benchmarking metrics
Benchmarks start a prometheus docker that exposes its ui on http://localhost:9090/
.
Metrics from benchmarks are prefixed with generator_
and avr_