Open-Source Linux Benchmark Harness · v1.0.0

Reproducible VPS Benchmark Suite

Deterministic bash harness measuring single-core & multi-core compute, 4K random IOPS, memory bandwidth, network throughput, and hypervisor CPU steal — outputting structured JSON you can audit and run on any node.

vps-bench.sh · v1.0.0 Sysbench · fio · iperf3 · /proc/stat

Open-Source Linux Benchmark Harness

Run the exact deterministic sysbench, fio, and iperf3 suite on any Ubuntu or Debian VPS. Outputs standardized JSON ready for direct ingestion into src/data/benchmarks.json.

Run on a fresh Ubuntu/Debian instance:
curl -fsSL https://vpsgauge.com/scripts/vps-bench.sh | bash -s -- \
  --install-deps --plan-id hetzner-cx23 --provider hetzner --region eu-fsn1
Inspect standardized JSON output schema (src/data/benchmarks.json) ▾
{
  "planId": "hetzner-cx23",
  "provider": "hetzner",
  "region": "eu-fsn1",
  "runDateUtc": "2026-12-15T06:00:00Z",
  "harnessVersion": "1.0.0",
  "hostInfo": {
    "cpuModel": "Intel Xeon Processor (SapphireRapids)",
    "vcpuDetected": 2,
    "ramMbDetected": 3920,
    "virtualization": "kvm",
    "kernel": "6.8.0-49-generic"
  },
  "metrics": {
    "sysbenchCpu1T": 0,
    "sysbenchCpuMT": 0,
    "sysbenchMemMiBs": 0,
    "fio4kRandReadIops": 0,
    "fio4kRandWriteIops": 0,
    "fio4kMixedIops": 0,
    "networkDownMbps": 0,
    "networkUpMbps": 0,
    "cpuStealPct": 0.0
  }
}

6 VPS Benchmark Metrics That Predict Production Speed

Exact commands executed by vps-bench.sh and what each metric isolates.

METRIC 01

Sysbench CPU (Single-Core 1T)

Single-thread clock speed dictates PHP/WordPress TTFB, Node.js event-loop latency, and single-connection SQLite/Postgres query speed.

sysbench cpu --threads=1 --time=30 --cpu-max-prime=20000 run
METRIC 02

Sysbench CPU (Multi-Core MT)

Measures aggregate compute scaling across all allocated vCPUs for Docker builds, Go/Rust compilation, worker queues, and parallel APIs.

sysbench cpu --threads=$(nproc) --time=30 --cpu-max-prime=20000 run
METRIC 03

fio 4K Random Disk IOPS

Sequential MB/s rarely reflects web app I/O. Direct 4K random IOPS with O_DIRECT exposes real database WAL writes and Ceph/NVMe throttling.

fio --rw=randrw --rwmixread=70 --bs=4k --direct=1 --iodepth=64 --ioengine=libaio
METRIC 04

Sysbench Memory Bandwidth

Captures RAM throughput (MiB/s) across DDR4 vs DDR5 platforms (e.g., older Xeon nodes vs modern AMD EPYC Genoa hosts).

sysbench memory --memory-block-size=1M --memory-total-size=10G --threads=1 run
METRIC 05

iperf3 Network Throughput

Verifies sustained bidirectional throughput against advertised port caps (e.g., Contabo 200 Mbps or OVH 500 Mbps vs Hetzner/Vultr 10 Gbps).

iperf3 -c <regional-target> -t 10 -P 4 -J (upload & -R download)
METRIC 06

CPU Steal % (Noisy Neighbor Check)

The #1 hidden tax on cheap shared VPS nodes. High CPU steal (>3%) proves the hypervisor is oversubscribed and throttling your instance.

Sampled from /proc/stat field 8 during the 30s multi-core load window

How Benchmark Telemetry Populates This Site

1

Fresh Instance Provisioning

Clean Ubuntu 24.04 LTS instances are provisioned on identical plan IDs via API with zero background workloads.

2

Deterministic Script Execution

vps-bench.sh executes the same 6 tests, records detected CPU model and virtualization, and outputs structured JSON.

3

Automatic UI & Chart Rendering

Adding JSON entries to src/data/benchmarks.json automatically reveals comparative bar charts and the Benchmark column site-wide.

Frequently Asked Questions

Can I run vps-bench.sh on a production server? +
Run vps-bench.sh on a fresh or staging instance rather than a busy production box. It drives 100% CPU across all cores for 60 seconds total and writes a temporary 1 GB fio test file (automatically removed via a bash EXIT trap).
How do measured results appear in the main VPS finder table? +
Whenever verified run entries are added to src/data/benchmarks.json, the Benchmark column in the main finder table and the visual bar charts on this page activate automatically from that structured JSON dataset.
Why test 4K random IOPS with direct=1 instead of dd? +
Running dd mostly tests Linux page cache (RAM) or sequential write buffers, which can make heavily throttled network block storage look fast. Using fio with direct=1 and 4K random blocks bypasses the OS cache and reflects real PostgreSQL, MySQL, and container disk latency.