Title :
Parallel and distributed programming with Pthreads and Rthreads
Author :
Dreier, Bernd ; Zahn, Markus ; Ungerer, Theo
Author_Institution :
Inst. of Inf., Augsburg Univ., Germany
Abstract :
The paper describes Rthreads (Remote threads), a software distributed shared memory system that supports sharing of global variables on clusters of computers with physically distributed memory. Other DSM systems either use virtual memory to implement coherence on networks of workstations or require programmers to adopt a special programming model. Rthreads uses primitives to read and write remote data and to synchronize remote accesses similar to the DSM systems that are based on special programming models. Unique aspects of Rthreads are: the primitives are syntactically and semantically closely related to the POSIX thread model (Pthreads). A precompiler automatically transforms Pthreads (source) programs into Rthreads (source) programs. After the transformation the programmer is still able to alter the Rthreads code for optimizing run time. Moreover Pthreads and Rthreads can be mixed within a single program. We support heterogeneous workstation clusters by implementing the Rthreads system on top of PVM, MPI and DCE. We demonstrate that programmer based optimizations may reach a significant performance increase. Our performance results show that the Rthreads system introduces few overhead compared to equivalent programs in the baseline system PVM, and a superior performance compared to the DSM systems, Adsmith and CVM
Keywords :
distributed memory systems; parallel programming; program compilers; shared memory systems; Adsmith; CVM; DCE; DSM systems; MPI; POSIX thread model; PVM; Pthreads; Remote threads; Rthreads; distributed programming; global variable sharing; heterogeneous workstation clusters; parallel programming; physically distributed memory; precompiler; primitives; programmer based optimizations; programming models; remote accesses; software distributed shared memory system; Computer networks; Fault tolerant systems; Informatics; Operating systems; Parallel programming; Physics computing; Programming profession; Runtime; Workstations; Yarn;
Conference_Titel :
High-Level Parallel Programming Models and Supportive Environments, 1998. Proceedings. Third International Workshop on
Conference_Location :
Orlando, FL
Print_ISBN :
0-8186-8412-7
DOI :
10.1109/HIPS.1998.665141