Title :
Multicore SDK: A Practical and Efficient Deadlock Detector for Real-World Applications
Author :
Zhi Da Luo ; Das, Raja ; Qi, Yao
Author_Institution :
IBM China Dev. Lab., Beijing, China
Abstract :
Traditional deadlock detection algorithms depend on finding cycles in lock graphs created from the application code. Usually, these approaches suffer from scalability and performance problems and cannot handle large industrial strength applications. The main problem for lack of scalability and poor performance is caused by the size of the lock graphs that have to be analyzed. In this paper we show a new two-phase deadlock detection algorithm that is efficient both in terms of memory utilization and time and also very scalable. In the first phase of the algorithm we consider a reduced lock graph based on program locations. We filter out certain locks that cannot participate in a deadlock by analyzing the lock graph created in the first phase. In the second phase of the algorithm we create an even smaller lock graph considering only those locks that were not filtered in the first phase. Finally, the second phase lock graph is analyzed for cycles to find potential deadlocks in the application. We present results from various open-source and commercial software, and also compare the performance of our algorithm with traditional approach.
Keywords :
concurrency control; graph theory; multiprocessing systems; public domain software; system recovery; application code; commercial software; deadlock detection algorithms; deadlock detector; industrial strength applications; lock graphs; memory utilization; multicore SDK; open-source software; potential deadlocks; program locations; real-world applications; reduced lock graph; second phase lock graph; two-phase deadlock detection algorithm; Conferences; Multicore processing; Software testing; System recovery; Multicore; concurrent programming; deadlock detection; dynamic analysis;
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2011 IEEE Fourth International Conference on
Conference_Location :
Berlin
Print_ISBN :
978-1-61284-174-8
Electronic_ISBN :
978-0-7695-4342-0
DOI :
10.1109/ICST.2011.22