bdev/compress: increase mbuf pool size
Was 1024 but w/the performance optimizations we can now use up to 4 mbufs per outstanding IO so going to 8192 only uses 1MB of mem and gives us better head room before we have to start queueing compression operations to wait for mbufs. Note: the mbuf pool is shared accross all virtual compression bdevs. Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I64d3973e7c7d31925b1ce5028ef960f90331c067 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/463538 Reviewed-by: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
7c0887879e
commit
562a93e45b
@ -61,7 +61,7 @@
|
|||||||
|
|
||||||
#define ISAL_PMD "compress_isal"
|
#define ISAL_PMD "compress_isal"
|
||||||
#define QAT_PMD "compress_qat"
|
#define QAT_PMD "compress_qat"
|
||||||
#define NUM_MBUFS 1024
|
#define NUM_MBUFS 8192
|
||||||
#define POOL_CACHE_SIZE 256
|
#define POOL_CACHE_SIZE 256
|
||||||
|
|
||||||
static enum compress_pmd g_opts;
|
static enum compress_pmd g_opts;
|
||||||
|
Loading…
Reference in New Issue
Block a user