Files
PFVCluster/proxmox/perf/bench/install-bench.sh
T
mrcharles 7586605b70 fix(perf): bench jq direction bug + libaio + json note guard [#709]
- write tests read .write.* explicitly (jq // kept read=0 for writes)
- libaio1 installed everywhere (real aio engine, no sync cap)
- fio stdout notes stripped before jq parse

Ticket: https://projects.knownelement.com/issues/709
2026-09-03 07:53:37 -05:00

10 lines
515 B
Bash

#!/bin/bash
# install-bench.sh — install the #709 benchmark toolset (fio + iperf3 + jq)
# on a Debian-based guest or LXC. Idempotent. Not for Proxmox hosts directly:
# on hosts, create the bench LXC (see lxc-bench-setup.sh) and run this inside.
set -eu
export DEBIAN_FRONTEND=noninteractive
apt-get update -qq
apt-get install -y -qq fio iperf3 jq libaio1 >/dev/null
echo "bench toolset installed: fio=$(fio --version 2>/dev/null | awk '{print $3}') iperf3=$(iperf3 --version 2>/dev/null | awk 'NR==1{print $2}')"