16:45 - 17:15
Performance Trade-offs in GPU Communication: A Study of Host and Device-initiated Approaches
Taylor Groves, Khaled Ibrahim, Lenny Oliker, Nicholas J. Wright, Samuel Williams, Katherine Yelick
Lawrence Berkeley National Laboratory, CA
University of California, Berkeley, CA
University of California, Davis, CA
Network communication on GPU-based systems is a significant roadblock for many applications with small but frequent messaging requirements. One common question for application developers is, “How can they reduce the overheads and achieve the best communication performance on GPUs?” This work examines device initiated versus host initiated inter-node GPU communication using NVSHMEM. We derive basic communication model parameters for single message and batched communication before validating our model against distributed GEMM benchmarks. We use our model to estimate performance benefits for applications transitioning from CPUs to GPUS for fixed-size and scaled workloads and provide general guidelines for reducing communication overheads. Our findings show that the host-initiated approach generally outperforms the device-initiated approach for the system evaluated.