-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
If --size 128G is specified, it's supposed to take some time to complete the test. However, bench-fio ends after 60 seconds due to the implicit --runtime=60(default).
# time bench-fio \
--type device --target /dev/sda \
--size 128G \
--iodepth 1 --numjobs 1 --mode write -b 4M \
--output output/test \
--destructive
Bench-fio
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┓
┃ Setting ┃ value ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━┩
│ Estimated Duration │ 0:01:00 │
│ Number of benchmarks │ 1 │
│ Test target(s) │ /dev/sda │
│ Target type │ device │
│ I/O Engine │ libaio │
│ Test mode (read/write) │ write │
│ Specified test data size │ 128G │
│ Block size │ 4M │
│ IOdepth to be tested │ 1 │
│ NumJobs to be tested │ 1 │
│ Time duration per test (s) │ 60 │
│ Benchmark loops │ 1 │
│ Direct I/O │ 1 │
│ Output folder │ output/test │
│ Log interval of perf data (ms) │ 1000 │
│ Invalidate buffer cache │ 1 │
│ Allow destructive writes │ True │
│ Check remote timeout (s) │ 2 │
└────────────────────────────────┴─────────────┘
/dev/sda ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
real 1m0.610s
user 0m1.838s
sys 0m5.033sA workaround is to pass --runtime 0 explicitly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels