Skip to main content

A generic benchmark orchestration framework for automated parametric experiments

Project description

IOPS

A generic benchmark orchestration framework for automated parametric experiments.

IOPS transforms benchmark experiments from manual scripting into automated, reproducible workflows. Define a YAML configuration describing what to vary, what to run, and what to measure—IOPS handles the rest.

Features

  • Parameter Sweeping — Automatically generate and execute tests for all parameter combinations
  • Multiple Search Strategies — Exhaustive, Bayesian optimization, or random sampling
  • Execution Backends — Run locally or submit to SLURM clusters
  • Smart Caching — Skip redundant tests with parameter-aware result caching
  • Budget Control — Set core-hour limits to avoid exceeding compute allocations
  • Automatic Reports — Generate interactive HTML reports with plots and statistical analysis

Quick Start

# Generate a configuration template
iops generate my_config.yaml

# Preview what will be executed
iops run my_config.yaml --dry-run

# Run the benchmark
iops run my_config.yaml

# Explore executions and filter by parameters
iops find ./workdir/run_001
iops find ./workdir/run_001 threads=4 buffer_size=256

# Generate an HTML report
iops report ./workdir/run_001

Example Configuration

benchmark:
  name: "My Benchmark Study"
  workdir: "./workdir"
  executor: "local"
  repetitions: 3

vars:
  threads:
    type: int
    sweep:
      mode: list
      values: [1, 2, 4, 8]

  buffer_size:
    type: int
    sweep:
      mode: list
      values: [64, 256, 1024]

command:
  template: "my_benchmark --threads {{ threads }} --buffer {{ buffer_size }}"

scripts:
  - name: "benchmark"
    submit: "bash"
    script_template: |
      #!/bin/bash
      # Built-in variables: execution_id, execution_dir, repetition
      echo "Running execution {{ execution_id }}, repetition {{ repetition }}"
      {{ command.template }} > output.txt

    parser:
      # execution_dir is automatically set to each execution's folder
      file: "{{ execution_dir }}/output.txt"
      metrics:
        - name: throughput
      parser_script: |
        import re

        def parse(file_path: str):
            with open(file_path) as f:
                content = f.read()
            match = re.search(r"throughput:\s*([\d.]+)", content)
            return {"throughput": float(match.group(1)) if match else 0}

output:
  sink:
    type: csv
    path: "{{ workdir }}/results.csv"

Documentation

Full documentation, examples, and tutorials: https://lgouveia.gitlabpages.inria.fr/iops/

License

BSD-3-Clause — Developed at Inria.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iops_benchmark-3.4.0.tar.gz (247.0 kB view details)

Uploaded Source

Built Distribution

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

iops_benchmark-3.4.0-py3-none-any.whl (198.1 kB view details)

Uploaded Python 3

File details

Details for the file iops_benchmark-3.4.0.tar.gz.

File metadata

  • Download URL: iops_benchmark-3.4.0.tar.gz
  • Upload date:
  • Size: 247.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for iops_benchmark-3.4.0.tar.gz
Algorithm Hash digest
SHA256 d6160add15d4d2f623bb9140220437da3e78ea77aeac8e8a09f35f7257418694
MD5 e215b9cfc846591f5d55c94073caa61d
BLAKE2b-256 2b6a9a12bf5a908bf0a421d09c20063cacc2924af5b893062fe51a61e4ee4b92

See more details on using hashes here.

File details

Details for the file iops_benchmark-3.4.0-py3-none-any.whl.

File metadata

  • Download URL: iops_benchmark-3.4.0-py3-none-any.whl
  • Upload date:
  • Size: 198.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for iops_benchmark-3.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 145a1b1b1f5240c8c57dee9d88626d81dc3ebd73d8ff18a4590ad3fcbb762fe0
MD5 e84c7ef0b1a7157c8cebed352fe488d7
BLAKE2b-256 f6ead8b6b65b410e03de3495bae57d228db84aceb6e996615202e01e014ab207

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