diff --git a/src/mpid/ch4/netmod/ofi/ofi_events.h b/src/mpid/ch4/netmod/ofi/ofi_events.h index 79f31916591..d96adb24c42 100644 --- a/src/mpid/ch4/netmod/ofi/ofi_events.h +++ b/src/mpid/ch4/netmod/ofi/ofi_events.h @@ -67,6 +67,7 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_OFI_recv_event(int vni, struct fi_cq_tagged_e MPIR_T_PVAR_COUNTER_INC(MULTINIC, nic_recvd_bytes_count[MPIDI_OFI_REQUEST(rreq, nic_num)], wc->len); } + printf("OFI_recv_event: thread_id = %d, count = %ld bytes\n", MPIR_thread_id(), count); #ifndef MPIDI_CH4_DIRECT_NETMOD int is_cancelled; MPIDI_anysrc_try_cancel_partner(rreq, &is_cancelled); diff --git a/test/mpi/threads/perf/mt_pt2pt_msgrate.c b/test/mpi/threads/perf/mt_pt2pt_msgrate.c index eaec050608b..c86462f69bd 100644 --- a/test/mpi/threads/perf/mt_pt2pt_msgrate.c +++ b/test/mpi/threads/perf/mt_pt2pt_msgrate.c @@ -21,8 +21,8 @@ #define BUFFER_ALIGNMENT 4096 #define MESSAGE_SIZE 8 -#define NUM_MESSAGES 64000 -#define WINDOW_SIZE 64 +#define NUM_MESSAGES 4 +#define WINDOW_SIZE 1 #define ERROR_MARGIN 0.05 /* FIXME: a better margin? */