Skip to content

Commit d2298b9

Browse files
committed
ch4/ipc: default MPIR_CVAR_CH4_IPC_XPMEM_P2P_THRESHOLD to 64K
Small buffers are less likely be used persistently. XPMEM's mapping cost will slow down the intranode message performance unless the buffer is persistent and the mapping cost get amortized. Apply a larger threshold to avoid slow down applications that use ad-hoc memory for small messages.
1 parent c61d0fb commit d2298b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpid/ch4/shm/ipc/xpmem/xpmem_post.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
- name : MPIR_CVAR_CH4_IPC_XPMEM_P2P_THRESHOLD
2727
category : CH4
2828
type : int
29-
default : 1024
29+
default : 65536
3030
class : none
3131
verbosity : MPI_T_VERBOSITY_USER_BASIC
3232
scope : MPI_T_SCOPE_ALL_EQ

0 commit comments

Comments
 (0)