05b43152b2
This patch adds the RPC support for the Read/Write separate bandwidth limit controls. The basic usage as following: usage: rpc.py set_bdev_qos_limit [-h] [--rw_ios_per_sec RW_IOS_PER_SEC] [--rw_mbytes_per_sec RW_MBYTES_PER_SEC] [--r_mbytes_per_sec R_MBYTES_PER_SEC] [--w_mbytes_per_sec W_MBYTES_PER_SEC] name positional arguments: name Blockdev name to set QoS. Example: Malloc0 optional arguments: -h, --help show this help message and exit --rw_ios_per_sec RW_IOS_PER_SEC R/W IOs per second limit (>=10000, example: 20000). 0 means unlimited. --rw_mbytes_per_sec RW_MBYTES_PER_SEC R/W megabytes per second limit (>=10, example: 100). 0 means unlimited. --r_mbytes_per_sec R_MBYTES_PER_SEC Read megabytes per second limit (>=10, example: 100). 0 means unlimited. --w_mbytes_per_sec W_MBYTES_PER_SEC Write megabytes per second limit (>=10, example: 100). 0 means unlimited. Change-Id: I822ec4814d21adff9826ce03a6af3783b1b98f44 Signed-off-by: GangCao <gang.cao@intel.com> Reviewed-on: https://review.gerrithub.io/c/417650 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
ceph | ||
perf | ||
rpc | ||
spdkcli | ||
vagrant | ||
check_format.sh | ||
common.sh | ||
config_converter.py | ||
detect_cc.sh | ||
eofnl | ||
fio.py | ||
gen_crypto.sh | ||
gen_nvme.sh | ||
gen_rbd.sh | ||
genconfig.py | ||
pkgdep.sh | ||
posix.txt | ||
prep_benchmarks.sh | ||
qat_setup.sh | ||
rpc_http_proxy.py | ||
rpc.py | ||
setup.sh | ||
spdkcli.py |