iscsi: enable per-core cache for PDU data-out pool
With the preferred per core operation for the lockless consideration, having some per core cache instead of the shared gloal cache will help the performance. Change-Id: Ib3cfaac5bad7062b15643d5b151d4c7c6051ddf1 Signed-off-by: GangCao <gang.cao@intel.com> Reviewed-on: https://review.gerrithub.io/404533 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
583bc2efad
commit
3bce351916
@ -369,7 +369,7 @@ static int spdk_iscsi_initialize_pdu_pool(void)
|
||||
|
||||
iscsi->pdu_data_out_pool = spdk_mempool_create_ctor("PDU_data_out_Pool",
|
||||
DATA_OUT_POOL_SIZE(iscsi),
|
||||
dout_mobj_size, 0,
|
||||
dout_mobj_size, 256,
|
||||
spdk_env_get_socket_id(spdk_env_get_current_core()),
|
||||
spdk_mobj_ctor, NULL);
|
||||
if (!iscsi->pdu_data_out_pool) {
|
||||
|
Loading…
Reference in New Issue
Block a user