Spdk/test/lib/nvme
Jim Harris bc00666271 util: enable dynamic spdk_histogram_data sizing
Currently, each histogram range is hardcoded to
128 buckets (1ULL << 7), resulting in 58 ranges
(64 - 7 + 1) and a total size of 58 * 128 *
sizeof(uint64_t) = 59392 bytes.

To allow for more usage models in cases where this
size is prohibitive, enable the following changes:

1) specify number of buckets per range (in number of bits)
2) specify max datapoint value (in number of bits)

The latter can be useful for cases where datapoints
are never close to requiring all 64 bits - and allows
reducing the number of ranges.  Any data points that
exceed the max will be tallied in the last bucket
in the last range.

Testing shows no performance disadvantage using the
dynamic approach.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I5979bcdff6209faaa9dee293918ef2a78679bcd4

Reviewed-on: https://review.gerrithub.io/392707
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-12-29 14:20:48 -05:00
..
aer log: set print level when enabling tracelogs 2017-07-11 18:02:47 -04:00
deallocated_value test/nvme: add app to check value of deallocated blocks 2017-10-13 18:09:08 -04:00
e2edp test/nvme_dp: cleanup swap16/32 with spdk endian library 2017-12-20 15:12:26 -05:00
overhead util: enable dynamic spdk_histogram_data sizing 2017-12-29 14:20:48 -05:00
reset nvme,reset: remove dpdk dependency 2017-11-27 16:54:40 -05:00
sgl astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
hotplug.sh test/nvme: increase delay between plugging devices 2017-08-11 19:45:26 -04:00
Makefile test/nvme: add app to check value of deallocated blocks 2017-10-13 18:09:08 -04:00
nvme.sh test/nvme.sh: add support for older kernel versions 2017-12-18 14:53:07 -05:00