Title :
Simulation analysis of multithreaded programs under deadlock-avoidance control
Author :
Liao, Hongwei ; Zhou, Hao ; Lafortune, Stéphane
Author_Institution :
Dept. of Electr. Eng. & Comput. Sci., Univ. of Michigan, Ann Arbor, MI, USA
Abstract :
We employ discrete event simulation to evaluate the performance of deadlock-prone multithreaded programs, either general-purpose software or parallel simulators, under a novel technique for deadlock-avoidance control recently proposed in the literature. The programs are modeled by a special class of Petri nets, called Gadara nets. We propose a formal simulation methodology for Gadara nets. We then use simulation to analyze two deadlock-prone multithreaded programs, where we study system performance in terms of safety, efficiency, and activity level, both before and after deadlock-avoidance control is applied. We further conduct a sensitivity analysis to investigate the effect of key parameters on the program´s performance. We discuss the implications of the above results on the practical implementation of control strategies that prevent deadlocks in multithreaded programs.
Keywords :
Petri nets; discrete event simulation; multi-threading; system recovery; Gadara nets; Petri net; deadlock-avoidance control; deadlock-prone multithreaded program; discrete event simulation; formal simulation methodology; general-purpose software; parallel simulator; sensitivity analysis; simulation analysis; system performance; Fires; Legged locomotion; System recovery;
Conference_Titel :
Simulation Conference (WSC), Proceedings of the 2011 Winter
Conference_Location :
Phoenix, AZ
Print_ISBN :
978-1-4577-2108-3
Electronic_ISBN :
0891-7736
DOI :
10.1109/WSC.2011.6147798