In this recipe, we will be discussing how to benchmark the disk speed using open source tools.
The well-known command to perform disk I/O benchmarking is dd. We all use the dd command to measure read/write operations by specifying the required block size, and we also measure the direct I/O by skipping the system write buffers. Similarly, phoronix supports a complete test suite for the disk as CPU and memory that perform different storage-related tests. Another famous disk benchmarking tool is bonnie++, which provides more flexibility in measuring the disk I/O.
Let us discuss how to run the disk benchmarking using phoronix and using bonnie++ testing tools:
To run the complete disk test suite on ...