Skip to main content
SHARE
Publication

An Evaluation of OpenSHMEM Interfaces for the Variable-length Alltoallv() Collective Operation...

by Matthew G Lopez, Pavel Shamis, Manjunath Gorentla Venkata
Publication Type
Conference Paper
Book Title
OpenSHMEM and Related Technologies
Publication Date
Conference Name
OpenSHMEM and Related Technologies
Conference Location
Annapolis, Maryland, United States of America
Conference Date
-

Alltoallv() is a collective operation which allows all pro- cesses to exchange variable amounts of data with all other processes in the communication group. This means that Alltoallv() requires not only O(N2) communications, but typically also additional exchanges of the data lengths that will be transmitted in the eventual Alltoallv() call. This pre-exchange is used to calculate the proper offsets for the re- ceiving buffers on the target processes. However, we propose two new can- didate interfaces for Alltoallv() that would mitigate the need for the user to set up this extra exchange of information at the possible cost of memory efficiency. We explain the new interface variants and show how a single call can be used in place of the traditional Alltoall()/Alltoallv() pair. We then discuss the performance tradeoffs for overall communica- tion and memory costs, as well as both software and hardware-based optimizations and their applicability to the various proposed interfaces.