+1
−0
include/spdk/zipf.h
0 → 100644
+83
−0
+2
−2
+5
−0
lib/util/zipf.c
0 → 100644
+139
−0
Loading
zipf is a power law probability distribution. When applied to performance testing of block devices, it will select blocks over the full range of LBAs, but will more frequently select lower-numbered LBAs. The theta parameter governs the distribution - higher values of theta will concentrate the distribution on a smaller number of LBAs. Note that fio supports zipf, so adding it to SPDK will enable our perf tools (bdevperf, nvme-perf) to provide similar functionality. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I7df129c9d61996a2070188c6cd9f1fde631ac208 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7779 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>