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.50.tar.gz (24.2 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.50-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: benchmark-runner-1.0.50.tar.gz
  • Upload date:
  • Size: 24.2 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.50.tar.gz
Algorithm Hash digest
SHA256 fa4f0f7170162e9e7083325610e7d37c2ac861fbcec8baabe4abab462fa944b9
MD5 8123c1f26e30a0cbb216160ea54d6feb
BLAKE2b-256 07b0281563a3927e6c9b9f82fbed25865928ba1013da10b074009d2aa1ceb2d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: benchmark_runner-1.0.50-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.50-py3-none-any.whl
Algorithm Hash digest
SHA256 0179df4c02f13b26d6a6988e20696879dbf47feab2879ed8aaac15a828852ea1
MD5 6c20bbe9308379f869349f85da3a24e7
BLAKE2b-256 e1ab064cdeaf617323b76727c6c39bf2ca83ca8d120f34404cdd3222d235b03c

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