numam-spdk/examples/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
..
arbitration astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
fio_plugin fio_plugin: check the whether the qpair can be allocated. 2017-11-15 18:00:07 -05:00
hello_world nvme: add I/O qpair creation options 2017-07-18 18:33:20 -04:00
hotplug examples/nvme/hotplug: free task on error path 2017-10-17 15:21:39 -04:00
identify astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
nvme_manage astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
perf util: enable dynamic spdk_histogram_data sizing 2017-12-29 14:20:48 -05:00
reserve astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
Makefile example: Add example for nvme hotplug. 2016-12-01 10:23:10 +08:00