scripts/calc-iobuf.py
0 → 100755
+185
−0
Loading
The script parses a JSON config and will print out the minimum sizes of the iobuf pools required for a given core mask. For example: $ scripts/calc-iobuf.py -m 0xff -c nvmf.conf This script will only calculate the minimum values required to populate the per-thread caches. Most users will usually want to use larger values to leave some buffers in the global pool. Minimum small pool size: 5488 Minimum large pool size: 3696 Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18300 (master) (cherry picked from commit 6410eea4) Change-Id: Ica83735fb720b22c5ad781d3027d943c78cc8cf7 Signed-off-by:
Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18403 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>