12–NVMe-oF Configuration with RDMA
Testing the NVMe-oF Devices
194
AH0054601-00 B
4.
Run FIO to measure bandwidth of the local NVMe device on the target
server. Issue the following command:
fio --verify=crc32 --do_verify=1 --bs=8k --numjobs=1
--iodepth=32 --loops=1 --ioengine=libaio --direct=1
--invalidate=1 --fsync_on_close=1 --randrepeat=1
--norandommap --time_based --runtime=60
--filename=/dev/nvme0n1 --name=Write-BW-to-NVMe-Device
--rw=randwrite
where
--rw
can be
randread
for reads only,
randwrite
for writes only, and
randrw
for reads and writes.