I'm trying to run some fio benchmarks and it doesn't seem to work for me. The example in GitHub (https://github.com/spdk/spdk/tree/master/examples/nvme/fio_plugin) doesn't work (says "size=" is required) and it's very unclear if there needs to be any configuration to point to the device. 

 It seems that when I run it everything goes straight to the root filesystem (drive gets saturated with writes, all terminals freeze) or memory (ungodly throughputs). Here's one input file:

[global]
ioengine=/home/hfingler/mlfs/libfs/lib/spdk/examples/nvme/fio_plugin/fio_plugin
thread=1
group_reporting=1
direct=1
verify=0
time_based=1
ramp_time=0
runtime=1
 
[test]
iodepth=128
rw=randread
bs=4k
numjobs=1
size=512M

 And I get:

Run status group 0 (all jobs):
   READ: io=10227MB, aggrb=10227MB/s, minb=10227MB/s, maxb=10227MB/s, mint=1000msec, maxt=1000msec

 Am I using it correctly? Something seems off. Also, my root filesystem gets saturated with writes. I can easily notice it using dstat. Is this normal?
  
 Could anyone give me a pointer or an example which works? My end goal is to do some random writes benchmarks.

 Thank you.