f4cb6c90b4
The problem with registering the entire hotplugged memory region is that it won't necessarily be unregistered in one go. Registering each hugepage separately solves that problem. This puts a limitation on the number of pages that can be allocated when using RDMA. We'll hopefully lift this limitation sometime in future - probably levereging ibv_rereg_mr, but for now we'll have to resort to either: a) using 1GB hugepages b) preallocating memory (with [-s|--mem-size <size>] app param) as it will be registered as just one region no matter what size it is. This memory won't be returned to the system until the SPDK app exits. Change-Id: I6de997fb4901b772730ba6fe995dcc0640b85749 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/428716 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
memory | ||
pci | ||
vtophys | ||
env.sh | ||
Makefile |