OpenBSD IO Benchmarking: How Many Jobs Are Worth It?
2 days ago
- #fio
- #OpenBSD
- #benchmarking
- The post details fio benchmarking on OpenBSD 7.7-current, focusing on random reads, writes, and latency.
- Test setup includes a 1TB Crucial P3 Plus SSD, 64GB test file size, 4 KiB block size, and I/O depth of 32.
- Random read performance peaks at 8 jobs with 1,712.0 MiB/s bandwidth and 439,728 IOPS.
- Random write performance peaks at 18 jobs with 1,428.1 MiB/s bandwidth and 366,830 IOPS.
- Latency increases significantly beyond 8 jobs, with read latency reaching 180.56 µs and write latency 230.42 µs at 32 jobs.
- OpenBSD scales I/O well up to 6-8 jobs, beyond which performance degrades due to contention and CPU overhead.
- Comparison with Linux shows OpenBSD has lower bandwidth and higher latency, with potential for improvement.
- Optimal performance on OpenBSD is achieved with 6-8 parallel jobs, balancing throughput and latency.
- Future tests may explore RW performance on USB sticks to stress additional subsystems.