Spdk/test
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
..
app nbd: add NBD subsystem to apps 2017-12-12 13:36:22 -05:00
blobfs/rocksdb test/rocksdb: reduce test time for per-patch tests 2017-12-15 15:48:06 -05:00
config test/vm_setup.sh: add missing packages from pkgdep.sh 2017-12-15 16:16:31 -05:00
cpp_headers build: include spdk.app.mk in all app Makefiles 2017-11-15 17:57:07 -05:00
iscsi_tgt scsi&test/iscsi_tgt: SCSI device == iSCSI name 2017-12-19 13:34:03 -05:00
lib util: enable dynamic spdk_histogram_data sizing 2017-12-29 14:20:48 -05:00
lvol test/lvol: update help message 2017-12-28 11:42:56 -05:00
nvmf test/nvmf: increase number of subsystems in lvol test 2017-12-21 12:20:42 -05:00
pmem bdev/pmem: require name in construct_pmem_bdev RPC 2017-12-04 18:51:14 -05:00
unit scsi: convert unmap command to bdev blocks API 2017-12-29 13:43:29 -05:00
vhost test/vhost: use full path in spdk_vhost.sh 2017-12-26 11:17:12 -05:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00