Run some I/O tests with nvmecontrol and diskinfo
```text
# diskinfo -ciStw /dev/nvme0ns1
/dev/nvme0ns1
512 # sectorsize
2147483648 # mediasize in bytes (2.0G)
4194304 # mediasize in sectors
0 # stripesize
0 # stripeoffset
No # TRIM/UNMAP support
Unknown # Rotation rate in RPM
I/O command overhead:
time to read 10MB block 0.019035 sec = 0.001 msec/sector
time to read 20480 sectors 0.977857 sec = 0.048 msec/sector
calculated command overhead = 0.047 msec/sector
Seek times:
Full stroke: 250 iter in 0.024211 sec = 0.097 msec
Half stroke: 250 iter in 0.023469 sec = 0.094 msec
Quarter stroke: 500 iter in 0.039334 sec = 0.079 msec
Short forward: 400 iter in 0.034748 sec = 0.087 msec
Short backward: 400 iter in 0.031097 sec = 0.078 msec
Seq outer: 2048 iter in 0.108007 sec = 0.053 msec
Seq inner: 2048 iter in 0.105674 sec = 0.052 msec
Transfer rates:
outside: 102400 kbytes in 0.097164 sec = 1053888 kbytes/sec
middle: 102400 kbytes in 0.097458 sec = 1050709 kbytes/sec
inside: 102400 kbytes in 0.097434 sec = 1050968 kbytes/sec
Asynchronous random reads:
sectorsize: 56278 ops in 3.000200 sec = 18758 IOPS
4 kbytes: 57708 ops in 3.000118 sec = 19235 IOPS
32 kbytes: 52476 ops in 3.000122 sec = 17491 IOPS
128 kbytes: diskinfo: aio_read: Operation not supported
# nvmecontrol perftest -p -n 5 -s 512 -t 120 -o read nvme0ns1
Threads: 5 Size: 512 READ Time: 120 IO/s: 22143 MB/s: 10
0: 5692 IO/s
1: 5606 IO/s
2: 5342 IO/s
3: 0 IO/s
4: 5501 IO/s
# nvmecontrol perftest -p -n 5 -s 512 -t 120 -o write nvme0ns1
Threads: 5 Size: 512 WRITE Time: 120 IO/s: 17934 MB/s: 8
0: 2270 IO/s
1: 4350 IO/s
2: 4507 IO/s
3: 2270 IO/s
4: 4535 IO/s
```