Skip to content

A guide on basic benchmarking

Last updated: February 9, 2022


  • Perform timings of device/cache reads on device (sda):

    hparm -tT /dev/sda
  • Measure the write performance of a disk

    dd if=/dev/zero of=file_1GB bs=1024 count=1000000 conv=fdatasync
  • Benchmark with IOzone filesystem benchmarking tool and export to xls

    iozone -a /dev/sdb1 -b results.xls


  • Testing internet bandwidth

  • Measuring bandwidth between two computer:

    • Server-side (default port: 5001):

      iperf -s
    • Client-side:

      iperf -c server_ip

Last update: March 9, 2022