Skip to content

Commit 43c985c

Browse files
Merge pull request #3 from ValidatorsDAO/ktm/dev
fix stream
2 parents 9edd5b4 + 77fafca commit 43c985c

4 files changed

Lines changed: 151 additions & 66 deletions

File tree

tools/node_bench/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
## Overview
44

5-
node_bench is a reproducible benchmark for Linux nodes (VPS / Bare Metal / Cloud). It exercises CPU with sysbench, memory with STREAM when `stream` is available, and disk with fio using direct I/O, fixed profiles, and JSON output. It prints commands to the console, logs everything, and fails fast with clear reasons (permissions, missing directory, insufficient disk space). The maintained script is hosted at [https://storage-for-testing.erpc.global/tools/node_bench.sh](https://storage-for-testing.erpc.global/tools/node_bench.sh).
5+
node_bench is a reproducible benchmark for Linux nodes (VPS / Bare Metal / Cloud). It exercises CPU with sysbench, memory with STREAM (auto-installs by default; use `--allow-missing-stream` to skip), and disk with fio using direct I/O, fixed profiles, and JSON output. It prints commands to the console, logs everything, and fails fast with clear reasons (permissions, missing directory, insufficient disk space). The maintained script is hosted at [https://storage-for-testing.erpc.global/tools/node_bench.sh](https://storage-for-testing.erpc.global/tools/node_bench.sh).
66

77
## What it measures
88

99
- CPU: `sysbench cpu` with a thread sweep (1, 2, 4, 8, 16, 32) clamped to available vCPUs; each run logs the full command.
10-
- Memory: STREAM (if `stream` is present or installed), raw output.
10+
- Memory: STREAM (auto-installs by default; falls back only with `--allow-missing-stream`), raw output.
1111
- Disk: `fio` direct I/O, time_based workloads with JSON output:
1212
- 4K randread QD1 / QD32
1313
- 4K randwrite QD1 / QD32

tools/node_bench/examples/erpc_super_vps_ams_4/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Machine (from provided panel and run output):
66
- CPU: AMD Ryzen 9 9950X (4 vCPU slice)
77
- Memory: 16GB
88
- Disk: 100GB
9-
- OS: Ubuntu
9+
- OS: Ubuntu24.04
1010

1111
Captured run (fio 4GB, direct=1, time_based=60s, ramp=10s):
1212

tools/node_bench/examples/gcp_c4d_standard_4/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Machine configuration:
66
- CPU platform: AMD Turin (5th Gen AMD EPYC)
77
- Architecture: x86_64
88
- Disk: 10GB SSD (assumed root disk)
9+
- OS: Ubuntu24.04
910

1011
Captured run (fio 4GB, direct=1, time_based=60s, ramp=10s):
1112

0 commit comments

Comments
 (0)