Added Initiator configuration option to point to the fio source directory used when compiling SPDK with the --with-fio option and run SPDK test with the fio plugin. Signed-off-by: John Kariuki <John.K.Kariuki@intel.com> Change-Id: I097cb17691a72d7c2a0e198dccd12cf3d1c3474c Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/468890 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com>
37 lines
724 B
JSON
37 lines
724 B
JSON
{
|
|
"general": {
|
|
"username": "uname",
|
|
"password": "pass",
|
|
"transport": "transport_type"
|
|
},
|
|
"target": {
|
|
"nic_ips": ["192.0.1.1", "192.0.2.1"],
|
|
"mode": "spdk",
|
|
"use_null_block": false,
|
|
"nvmet_dir": "/path/to/nvmetcli",
|
|
"num_cores": "1",
|
|
"num_shared_buffers": 4096
|
|
},
|
|
"initiator1": {
|
|
"ip": "10.0.0.1",
|
|
"nic_ips": ["192.0.1.1"],
|
|
"mode": "spdk",
|
|
"nvmecli_dir": "/path/to/nvmecli",
|
|
"fio_dir": "/path/to/fio binary"
|
|
},
|
|
"initiator2": {
|
|
"ip": "10.0.0.2",
|
|
"nic_ips": ["192.0.2.1"],
|
|
"mode": "spdk"
|
|
},
|
|
"fio": {
|
|
"bs": ["4k"],
|
|
"qd": [128],
|
|
"rw": ["randrw"],
|
|
"rwmixread": 100,
|
|
"run_time": 5,
|
|
"ramp_time": 1,
|
|
"run_num": 3
|
|
}
|
|
}
|