Loading
examples/bdev/fio_plugin: add the RPC listen support
With this support, user could send the RPC commands to FIO
to query the IO statistics like output of below commands:
root@storage35:/spdk# ./scripts/iostat.py
cpu_stat: user_stat nice_stat system_stat iowait_stat steal_stat idle_stat
3.18% 0.00% 0.35% 0.00% 0.00% 96.46%
Device tps KB_read/s KB_wrtn/s KB_dscd/s KB_read KB_wrtn KB_dscd
TestPT 0.01 0.00 0.04 0.00 36.00 499608.00 0.00
Malloc1 0.61 0.00 2.42 0.00 36.00 31012820.00 0.00
Malloc3 0.01 0.00 0.04 0.00 36.00 499608.00 0.00
Change-Id: I694119313fb92cf9798c6897e61f788c2ac1f013
Signed-off-by:
GangCao <gang.cao@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15984
Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by:
Xiaodong Liu <xiaodong.liu@intel.com>
Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by:
Jim Harris <james.r.harris@intel.com>
Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>