Spdk/test
Shuhei Matsumoto 1732428a2b bdevperf: IOPS average by exponential moving average
- Cumulative Moving Average (CMA): average of all data up to current
- Exponential Moving Average (EMA): weighted mean of the previous n
  data and more weight is given to recent
- Simple Moving Average (SMA): unweighted mean of the previous n data

Currently bdevperf support only CMA to know average of IOPS. However
CMA may not be appropriate to know the trend of IOPS. EMA or SMA will
be better to take the role.

The formula of EMA utilized in bdevperf is the following

Multiplier = (2 / (Time periods + 1))
EMA: EMA[n+1] = (IOPS - EMA[n]} x multiplier + EMA[n].

One of the source of the formula is https://github.com/patharanordev/ema

Change-Id: Ia7a282f6d173ace470e05b19ee6dee5edf640617
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/398886
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: GangCao <gang.cao@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-03-09 14:53:17 -05:00
..
app lib: Return instead of exit in event 2018-03-08 11:47:01 -05:00
blobfs/rocksdb autotest: add test completion tracking 2018-03-01 17:13:41 -05:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common test/common: exit with error in waitforlisten() if app crashed 2018-03-07 11:02:35 -05:00
config test/vm_setup: don't change global git config 2018-03-08 11:22:19 -05:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
iscsi_tgt test/iscsi: disable calsoft tc_ffp_29_4 2018-03-08 19:09:40 -05:00
lib bdevperf: IOPS average by exponential moving average 2018-03-09 14:53:17 -05:00
lvol test/lvol: functional tests for rename 2018-03-08 11:26:16 -05:00
nvmf test/nvme-cli: use the macro instead of hard-coded value 2018-03-09 13:10:32 -05:00
pmem autotest: add test completion tracking 2018-03-01 17:13:41 -05:00
unit iscsi: Change function names of iSCSI subsystem configuration 2018-03-09 13:52:04 -05:00
vhost test/vhost: Vhost blk hotremove test plan. 2018-03-09 13:17:14 -05:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00