diff --git a/src/mpid/ch4/netmod/ofi/ofi_events.h b/src/mpid/ch4/netmod/ofi/ofi_events.h index 94011e7ae7c..1630445716e 100644 --- a/src/mpid/ch4/netmod/ofi/ofi_events.h +++ b/src/mpid/ch4/netmod/ofi/ofi_events.h @@ -63,6 +63,7 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_OFI_recv_event(struct fi_cq_tagged_entry *wc, count = wc->len; MPIR_STATUS_SET_COUNT(rreq->status, count); + 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 3354ce22d0e..8026839c3b1 100644 --- a/test/mpi/threads/perf/mt_pt2pt_msgrate.c +++ b/test/mpi/threads/perf/mt_pt2pt_msgrate.c @@ -18,8 +18,8 @@ #define CACHELINE_SIZE 64 #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? */