Title :
Combining compile-time and run-time support for efficient software distributed shared memory
Author :
Dwarkadas, Sandhya ; Lu, Honghui ; Cox, Alan L. ; Rajamony, Ramakrishnan ; Zwaenepoel, Willy
Author_Institution :
Dept. of Comput. Sci., Rochester Univ., NY, USA
fDate :
3/1/1999 12:00:00 AM
Abstract :
We describe an integrated compile time and run time system for efficient shared memory parallel computing on distributed memory machines. The combined system presents the user with a shared memory programming model. The run time system implements a consistent shared memory abstraction using memory access detection and automatic data caching. The compiler improves the efficiency of the shared memory implementation by directing the run time system to exploit the message passing capabilities of the underlying hardware. To do so, the compiler analyzes shared memory accesses and transforms the code to insert calls to the run time system that provide it with the access information computed by the compiler. The run time system is augmented with the appropriate entry points to use this information to implement bulk data transfer and to reduce the overhead of run time consistency maintenance. In those cases where the compiler analysis succeeds for the entire program, we demonstrate that the combined system achieves performance comparable to that produced by compilers that directly target message passing. If the compiler analysis is successful only for parts of the program, for instance, because of irregular accesses to some of the arrays, the resulting optimizations can be applied to those parts for which the analysis succeeds. If the compiler analysis fails entirely, we rely on the run time maintenance of shared memory and thereby avoid the complexity and the limitations of compilers that directly target message passing. The result is a single system that combines efficient support for both regular and irregular memory access patterns
Keywords :
distributed shared memory systems; message passing; parallel programming; program compilers; storage management; access information; automatic data caching; bulk data transfer; compile time system; compiler analysis; consistent shared memory abstraction; distributed memory machines; entry points; irregular accesses; irregular memory access patterns; memory access detection; message passing; message passing capabilities; run time consistency maintenance; run time maintenance; run time system; shared memory accesses; shared memory implementation; shared memory parallel computing; shared memory programming model; software distributed shared memory; Failure analysis; Hardware; Information analysis; Message passing; Optimizing compilers; Parallel processing; Performance analysis; Program processors; Runtime; Time sharing computer systems;
Journal_Title :
Proceedings of the IEEE