- Reduce the size of initial memory needed by OCF.
Number of allocator buffers equal to 16383 is tested to work
on 24 caches running IO of io_size=512 and io_depth=512, which
should be more than enough for any real life scenario.
This reduces initial OCF memory usage from 726 MiB to 392 MiB.
- Fix string handling for the name of the mempool.
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10843 (master)
(cherry picked from commit
|
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
mpool.c | ||
mpool.h | ||
ocf_env_headers.h | ||
ocf_env_list.h | ||
ocf_env.c | ||
ocf_env.h |