From d6c5b8072d9957f17dcba085aa0e9aa86ea9534a Mon Sep 17 00:00:00 2001 From: Michael Axtmann Date: Tue, 30 Jul 2024 14:07:30 +0000 Subject: [PATCH] param: increase CQ read count to 16 for performance This patch increases CQ read count to 16. Experiments turned out that reading up to 16 (instead of 4) CQ entries at once improves performance. Signed-off-by: Michael Axtmann (cherry picked from commit 346be40c777c996932e9474d781dc6fb8dafbc56) --- include/nccl_ofi_param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nccl_ofi_param.h b/include/nccl_ofi_param.h index 8a4dc17e0..23c9d56e8 100644 --- a/include/nccl_ofi_param.h +++ b/include/nccl_ofi_param.h @@ -129,7 +129,7 @@ OFI_NCCL_PARAM_INT(mr_key_size, "MR_KEY_SIZE", 2); * Maximum number of cq entries to read in a single call to * fi_cq_read. */ -OFI_NCCL_PARAM_INT(cq_read_count, "CQ_READ_COUNT", 4); +OFI_NCCL_PARAM_INT(cq_read_count, "CQ_READ_COUNT", 16); /* * Protocol to use for send/recv operations. Valid options are