Modeling and analysis of remote memory access programming
Autor: | Andrei Marian Dan, Martin Vechev, Torsten Hoefler, Patrick Lam |
---|---|
Rok vydání: | 2016 |
Předmět: |
010302 applied physics
Network architecture Computer science Semantics (computer science) Programming language 020207 software engineering 02 engineering and technology computer.software_genre Computer Graphics and Computer-Aided Design 01 natural sciences Networking hardware Axiomatic semantics 0103 physical sciences 0202 electrical engineering electronic engineering information engineering Programming paradigm Memory model computer Software Constraint satisfaction problem |
Zdroj: | OOPSLA |
DOI: | 10.1145/2983990.2984033 |
Popis: | Recent advances in networking hardware have led to a new generation of Remote Memory Access (RMA) networks in which processors from different machines can communicate directly, bypassing the operating system and allowing higher performance. Researchers and practitioners have proposed libraries and programming models for RMA to enable the development of applications running on these networks, However, the memory models implied by these RMA libraries and languages are often loosely specified, poorly understood, and differ depending on the underlying network architecture and other factors. Hence, it is difficult to precisely reason about the semantics of RMA programs or how changes in the network architecture affect them. We address this problem with the following contributions: (i) a coreRMA language which serves as a common foundation, formalizing the essential characteristics of RMA programming; (ii) complete axiomatic semantics for that language; (iii) integration of our semantics with an existing constraint solver, enabling us to exhaustively generate coreRMA programs (litmus tests) up to a specified bound and check whether the tests satisfy their specification; and (iv) extensive validation of our semantics on real-world RMA systems. We generated and ran 7441 litmus tests using each of the low-level RMA network APIs: DMAPP, VPI Verbs, and Portals 4. Our results confirmed that our model successfully captures behaviors exhibited by these networks. Moreover, we found RMA programs that behave inconsistently with existing documentation, confirmed by network experts. Our work provides an important step towards understanding existing RMA networks, thus influencing the design of future RMA interfaces and hardware. |
Databáze: | OpenAIRE |
Externí odkaz: |