Recent dual in-line memory modules (DIMMs) increasingly support processing-in-memory (PIM) by integrating processing elements (PEs) within memory banks, enabling applications to mitigate the data movement bottleneck. While many highly parallel applica...
Recent dual in-line memory modules (DIMMs) increasingly support processing-in-memory (PIM) by integrating processing elements (PEs) within memory banks, enabling applications to mitigate the data movement bottleneck. While many highly parallel applications benefit from PIM-enabled DIMMs, performance gains are often constrained by substantial inter-PE collective communication overhead, primarily due to slow CPU-mediated communication methods. Although prior work has attempted to address this bottleneck, existing solutions lack the flexibility and performance necessary for diverse applications.
This dissertation presents PID-Comm, a fast and flexible collective communication framework for commodity PIM-enabled DIMMs. PID-Comm introduces a multi-dimensional hypercube abstraction for PE organization, enabling concurrent collective communication among PEs within specific hypercube dimensions. Building on this abstraction, PID-Comm provides high-performance implementations of eight inter-PE collective communication patterns optimized for the DIMMs. Evaluation on 16 UPMEM DIMMs using representative parallel algorithms demonstrates that PID-Comm achieves up to 5.19× performance improvement over existing implementations.