How to test disk latency on Linux?

Solution 1:

IOzone great benchmark.

Run Random Read, Random Write, Random Mix test to check latencies.

Solution 2:

The common tool in Linux hard disk tuning and basic performance monitoring is hdparm.