Title :
An optimal algorithm for global termination detection in shared-memory asynchronous multiprocessor systems
Author :
Leung, Ho-fung ; Ting, Hing-Fung
Author_Institution :
Dept. of Comput. Sci., Chinese Univ. of Hong Kong, Shatin, Hong Kong
fDate :
5/1/1997 12:00:00 AM
Abstract :
In the literature, the problem of global termination detection in parallel systems is usually solved by message passing. In shared-memory systems, this problem can also be solved by using exclusively accessible variables with locking mechanisms. In this paper, we present an algorithm that solves the problem of global termination detection in shared-memory asynchronous multiprocessor systems without using locking. We assume a reasonable computation model in which concurrent reading does not require locking and concurrent writing different values without locking results in an arbitrary one of the values being actually written. For a system of n processors, the algorithm allocates a working space of 2n+1 bits. The worst case time complexity of the algorithm is n+2√+1, which we prove is the lower bound under a reasonable model of computation
Keywords :
computational complexity; message passing; parallel algorithms; program verification; shared memory systems; computation model; global termination detection; lower bound; optimal algorithm; shared-memory asynchronous multiprocessor systems; worst case time complexity; Computational modeling; Concurrent computing; Message passing; Multiprocessing systems; Virtual reality; Writing;
Journal_Title :
Parallel and Distributed Systems, IEEE Transactions on