0

I'm Looking for assistance with reading and decoding fio --bandwidth-log.

I've run the below command and the output includes a few columns as listed below, how to read and decode each column?

fio --invalidate=1 --filename=/dev/nvme0n1 --direct=1 --ioengine=libaio --iodepth=32 --time_based --runtime=3600 --bandwidth-log --name=/dev/nvme0n1 --rw=randread --bs=4k --log_avg_msec=1000

Output example (first few lines):

501, 334730, 0, 0, 0

1177, 647294, 0, 0, 0

1678, 985860, 0, 0, 0

2180, 948023, 0, 0, 0

2681, 967369, 0, 0, 0

3182, 977405, 0, 0, 0

3683, 982035, 0, 0, 0

  1. How to read the 1st column? No matter what period I provide for --timebased I get 1024 results in total.
  2. The 2nd column doesn't fit IOPS, nor BW in MB/s. I read somewhere that it is in KB/s and tried conversion which provides reasonable MB/s in some cases but doesn't mix RW commands.

If I read the fio man page it is only mention the below with no explanation:

--bandwidth-log

Generate aggregate bandwidth logs.

0 Answers0