August 2015

Conference Paper

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

By:
Lopez, Matthew G; Shamis, Pavel ; Gorentla Venkata, Manjunath
Book Title:
OpenSHMEM and Related Technologies
Publication Date:
August 2015
Publisher Location:
Springer
Conference Name:
OpenSHMEM and Related Technologies
Conference Location:
Annapolis, Maryland, United States of America
View DOI Listing:
https://doi.org/10.1007/978-3-319-26428-8_6

Abstract

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.