numam-spdk/scripts
GangCao 05b43152b2 QoS/Bdev: add RPC support for Read/Write separate bandwidth limits
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>
2019-01-22 23:21:43 +00:00
..
ceph test/rbd: add configurable monitoring IP address for ceph 2018-04-17 13:55:44 -04:00
perf scripts/perf: fix nvme perf scripts 2018-10-11 20:46:18 +00:00
rpc QoS/Bdev: add RPC support for Read/Write separate bandwidth limits 2019-01-22 23:21:43 +00:00
spdkcli test/spdkcli: Run different parts of tests with given spdk target. 2018-12-07 22:59:07 +00:00
vagrant Vagrant: Remove private network DHCP setup for all Ubuntu distros. 2019-01-07 09:31:53 +00:00
check_format.sh always ignore submodules with git-status 2019-01-18 17:21:02 +00:00
common.sh scripts: factor out iter_pci helper functions 2018-01-03 14:09:22 -05:00
config_converter.py config_converter: Fix conversion error to etc/spdk/vhost.conf.in 2018-11-19 17:58:05 +00:00
detect_cc.sh build: use linker specified by the LD env variable 2019-01-07 19:49:11 +00:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio.py scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
gen_crypto.sh test/bdev: change crypto device conf based on environment 2018-10-24 23:29:28 +00:00
gen_nvme.sh scripts/gen_nvme: don't use disks with nvme driver 2019-01-09 20:59:13 +00:00
gen_rbd.sh test/bdev: add Ceph RBD bdev to bdev tests 2018-02-26 11:12:35 -05:00
genconfig.py configure: remove CONFIG.local symlink 2018-10-19 14:26:14 +00:00
pkgdep.sh ipsec_mb: use EXTRA_CFLAGS to point DPDK to intel-ipsec-mb submodule 2019-01-18 17:21:02 +00:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh scripts: Add reset option to prep_benchmarks.sh 2018-01-09 13:40:59 -05:00
qat_setup.sh test: adjust scripts for 01.org qat driver 2018-11-15 20:08:16 +00:00
rpc_http_proxy.py scripts: Remote RPC access with authentication 2018-10-31 16:49:17 +00:00
rpc.py QoS/Bdev: add RPC support for Read/Write separate bandwidth limits 2019-01-22 23:21:43 +00:00
setup.sh setup.sh: Fix cleanup in matching files 2018-12-18 08:40:14 +00:00
spdkcli.py scripts/spdkcli: override configshell init 2018-10-01 15:04:05 +00:00