Linux tool - FIO (Bandwidth tests)

| F.A.Q.Support

Linux tool - FIO (Bandwidth tests)

1) Random write IOPS (4 KB for single I/O):

fio -direct=1 -iodepth=32 -rw=randwrite -ioengine=libaio -bs=4k -numjobs=4 -time_based=1 -runtime=60 -group_reporting -filename=/dev/vdx -name=test

2) Random read IOPS (4 KB for single I/O):

fio -direct=1 -iodepth=32 -rw=randread -ioengine=libaio -bs=4k -numjobs=4 -time_based=1 -runtime=60 -group_reporting -filename=/dev/vdx -name=test

3) Sequential write throughput (write bandwidth) (128 KB for single I/O):

fio -direct=1 -iodepth=128 -rw=write -ioengine=libaio -bs=128k -numjobs=1 -time_based=1 -runtime=60 -group_reporting -filename=/dev/vdx -name=test

4) Sequential read throughput (read bandwidth) (128 KB for single I/O):

fio -direct=1 -iodepth=128 -rw=read -ioengine=libaio -bs=128k -numjobs=1 -time_based=1 -runtime=60 -group_reporting -filename=/dev/vdx -name=test

5) Random write latency (4 KB for single I/O):

fio -direct=1 -iodepth=1 -rw=randwrite -ioengine=libaio -bs=4k -numjobs=1 -time_based=1 -runtime=60 -group_reporting -filename=/dev/vdx -name=test

6) Random read latency (4 KB for single I/O):

fio -direct=1 -iodepth=1 -rw=randread -ioengine=libaio -bs=4k -numjobs=1 -time_based=1 -runtime=60 -group_reporting -filename=/dev/vdx -name=test

7) Sequential write latency (4 KB for single I/O):

fio -direct=1 -iodepth=1 -rw=write -ioengine=libaio -bs=4k -numjobs=1 -time_based=1 -runtime=60 -group_reporting -filename=/dev/vdx -name=test

8) Sequential read latency (4 KB for single I/O):

fio -direct=1 -iodepth=1 -rw=read -ioengine=libaio -bs=4k -numjobs=1 -time_based=1 -runtime=60 -group_reporting -filename=/dev/vdx -name=test

Related pages:

  1. How to Disable CPU Cores in Linux (How to limit power consumption server)
  2. Wireshark (Network traffic analysis)
  3. Tcpdump tool (Network traffic tracking)
  4. Bad sector removal (hdparm) - How to remove bad sectors?
  5. What is FRU (Field Replaceable Unit)?