Spdk/test/lib/bdev
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
..
bdevio scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
bdevperf bdevperf: IOPS average by exponential moving average 2018-03-09 14:53:17 -05:00
bdev.conf.in rpc: add default UNIX domain socket listen address 2017-11-13 14:57:49 -05:00
blockdev.sh autotest: add test completion tracking 2018-03-01 17:13:41 -05:00
common.c test/bdev: limit memory size to 1GB 2017-08-14 13:14:47 -04:00
Makefile nbd: remove nbd test app 2018-01-05 17:39:48 -05:00
nbd_common.sh test/bdev: move nbd_common.sh to main bdev test director 2018-02-14 11:07:05 -05:00