Benchmark Runner Tool
Project description
Benchmark-Runner
This tool provides a lightweight and flexible framework for running benchmark workloads on Kubernetes/OpenShift Pod or VM.
This tool support the following workloads:
- hammerdb: running hammerdb workload on the following databases: MSSQL, Mariadb, Postgresql on Pod and VM with Configuration
- stressng: running stressng workload on Pod or VM with Configuration
- uperf: running uperf workload on Pod or VM with Configuration
** First Phase: support benchmark-operator workload
Hammerdb Kibana dashboard:
Reference:
- The benchmark-runner package is located in PyPi
- The benchmark-runner container image is located in Quay.io
Table of Contents
- Installation
- Run workload using Docker/Podman
- Run workload in Pod using Kubernetes/OpenShift
- Post Installation
Installation
Download benchmark-runner image from quay.io
sudo podman pull quay.io/ebattat/benchmark-runner:latest
Environment variables description:
mandatory:KUBEADMIN_PASSWORD=$kubeadmin_password
mandatory:WORKLOAD=$workload
Choose one from the following list:
['stressng_pod', 'stressng_vm','uperf_pod', 'uperf_vm', 'hammerdb_pod_mariadb', 'hammerdb_pod_mssql', 'hammerdb_pod_postgres', 'hammerdb_vm_mariadb', 'hammerdb_vm_mssql', 'hammerdb_vm_postgres']
mandatory:ELASTICSEARCH=$elasticsearch
mandatory:ELASTICSEARCH_PORT=$elasticsearch_port
optional:PIN_NODE1=$pin_node1
optional:PIN_NODE2=$pin_node2
Run workload using Podman/Docker
sudo podman run --rm -it -e WORKLOAD=stressng_pod -e KUBEADMIN_PASSWORD=$kubeadmin_password -e ELASTICSEARCH=$elasticsearch -e ELASTICSEARCH_PORT=$elasticsearch_port -e PIN_NODE1=$pin_node1 -v /root/.kube/config:/root/.kube/config -e log_level=INFO --privileged quay.io/ebattat/benchmark-runner:latest
# For custom workload data configuration add:
-v /home/user/stressng/stressng_data.yaml:/benchmark_runner/benchmark_operator/template/stressng/stressng_data.yaml
Run workload in Pod using Kubernetes/OpenShift]
[TBD]
Post Installation
Delete benchmark-runner image
sudo podman rmi quay.io/ebattat/benchmark-runner:latest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file benchmark-runner-1.0.21.tar.gz.
File metadata
- Download URL: benchmark-runner-1.0.21.tar.gz
- Upload date:
- Size: 22.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a7b996aecc4d081f9bec07e2f7c3e41995f856bd9f3a4de9c9adf7ef4a8c14b
|
|
| MD5 |
2c4b5497192d968457adfbc109424f43
|
|
| BLAKE2b-256 |
c5aa6727a8e6862149613cceda14f3cd997d7d3913822f17ac63844fd99d626b
|
File details
Details for the file benchmark_runner-1.0.21-py3-none-any.whl.
File metadata
- Download URL: benchmark_runner-1.0.21-py3-none-any.whl
- Upload date:
- Size: 33.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d64986106254e8841b64e9098f69004957c577aa58f323bb91fbcd5d6a3791ad
|
|
| MD5 |
1f41ac1bc69b78ec8e52804ec9933789
|
|
| BLAKE2b-256 |
a03bc749f2e6a46d6a0a9d43b4b275598771f1293a3bac2acdd09e6dbe17bdf7
|