IOzone Filesystem Benchmark

IOzone Filesystem Benchmark
A very simple approach for measuring a hard disk throughput (at least reading is):
sudo hdparm -Tt /dev/sda

But for a more exhaustive measurement, taking in account tests like writing, random access etc. you could use IOzone, which is available for Linux and Windows.
It can generate Excel files which permits to create charts from the plain measurement numbers.

Example run


  1. Make sure you have some valid partition with a valid filesystem created on the disk to test. For example, on your third disk, the first partition is a XFS filesystem.

  2. Mount the partition and enter it as working directory:

    mkdir /tmp/test ; sudo mount /dev/sdc1 /tmp/test; cd /tmp/test

  3. Now run the IOzone test (we put a small maximum limit to get results quickly):

    sudo iozone -Ra -g 6M -b /tmp/Results.wks

  4. Finally, unmount the partition:
    cd /tmp ; sudo umount /tmp/test

No comments:

Post a Comment