DocumentCode
2333750
Title
Efficient deadlock analysis of clients/server systems with two-way communication
Author
Zhou, Jun ; Tai, Kuo-Chung
Author_Institution
Electron. Design Autom., IBM Corp., Hopewell Junction, NY, USA
fYear
2001
fDate
27-30 Nov. 2001
Firstpage
222
Lastpage
231
Abstract
Deadlocks are a common type of fault in distributed programs. To detect deadlocks in a distributed program P, one approach is to construct the reachability graph (RG) of P, which contains all possible states of P. Since the size of RG(P) is an exponential function of the number of processes in P, the use of RGs for deadlock detection has limited success. The authors present an efficient technique for deadlock analysis of client/server programs with two-way communication, where the server and clients communicate through channels supporting synchronous message-passing. We consider client/server programs in which the server saves the IDs of some clients for future communication. For such a program, we describe how to construct its abstract client/server reachability graph (ACSRG), which contains a significantly smaller number of global states than the corresponding RG. One example is that for a solution to the gas station problem with one pump and six customers, its RG has 25394 states and its ACSRG 74 states. We show that the use of ACSRGs not only greatly reduces the effort for deadlock analysis but also provides a basis for proving freedom from deadlocks for any number of clients.
Keywords
client-server systems; concurrency control; distributed programming; message passing; reachability analysis; ACSRG; IDs; abstract client/server reachability graph; client/server programs; client/server systems; deadlock analysis; deadlock detection; distributed programs; exponential function; future communication; gas station problem; global states; reachability graph; synchronous message-passing; two-way communication; Computer science; Distributed computing; Electronic design automation and methodology; Fault detection; Intrusion detection; Roentgenium; System recovery; Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Reliability Engineering, 2001. ISSRE 2001. Proceedings. 12th International Symposium on
ISSN
1071-9458
Print_ISBN
0-7695-1306-9
Type
conf
DOI
10.1109/ISSRE.2001.989476
Filename
989476
Link To Document