Skip to main content

Benchmark Runner Tool

Project description

Actions Status Coverage Status

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:

** First Phase: supports benchmark-operator workloads

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

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 [IP]

mandatory:ELASTICSEARCH_PORT=$elasticsearch_port

optional:PIN_NODE1=$pin_node1 [node1 selector for running the workload]

optional:PIN_NODE2=$pin_node2 [node2 selector for running the workload, i.e. uperf there are client and server]

Run workload using Podman/Docker

sudo podman run --rm -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

benchmark-runner-1.0.51.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

benchmark_runner-1.0.51-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

Details for the file benchmark-runner-1.0.51.tar.gz.

File metadata

  • Download URL: benchmark-runner-1.0.51.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 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.6

File hashes

Hashes for benchmark-runner-1.0.51.tar.gz
Algorithm Hash digest
SHA256 075ba0f6ca7a0d4ff430bf65bb265c7e03a4fb8297c2e1cb15635c30b227f717
MD5 51650c917303cfa1c9ace926d71e3cee
BLAKE2b-256 b7138e2166562a749b3ee6350a2714f454378f34259ffa0ae9208de18b78c3f5

See more details on using hashes here.

File details

Details for the file benchmark_runner-1.0.51-py3-none-any.whl.

File metadata

  • Download URL: benchmark_runner-1.0.51-py3-none-any.whl
  • Upload date:
  • Size: 35.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 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.6

File hashes

Hashes for benchmark_runner-1.0.51-py3-none-any.whl
Algorithm Hash digest
SHA256 76b8993deda9424c077a191c1e29f667a87228b19abd696a083e0322078cb03a
MD5 2fe7c2f1664bde1a6cd2c22a8c2e708b
BLAKE2b-256 7cfe7e172be333c25d28f2248fe684c64e94678271e355bdd708fbea2e304468

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page