DocumentCode
3301151
Title
Gadara nets: Modeling and analyzing lock allocation for deadlock avoidance in multithreaded software
Author
Wang, Yin ; Liao, Hongwei ; Reveliotis, Spyros ; Kelly, Terence ; Mahlke, Scott ; Lafortune, Stephane
Author_Institution
HP Labs., Palo Alto, CA, USA
fYear
2009
fDate
15-18 Dec. 2009
Firstpage
4971
Lastpage
4976
Abstract
Deadlock avoidance in shared-memory multithreaded programs is receiving increased attention as multicore architectures and parallel programming are becoming more prevalent. In our on-going project, called Gadara, the objective is to control the execution of multithreaded programs in order to avoid deadlocks by using techniques from discrete-event control theory. In this project, Petri nets are employed to model parallel programs. This paper formally defines the class of Petri nets that emerges from modeling multithreaded programs, called Gadara nets. Gadara nets are related to, but different from, other classes of nets that have been characterized in deadlock analysis of manufacturing systems. The contributions of this paper include: (i) formal definition of Gadara nets and of controlled Gadara nets; (ii) a behavioral analysis of Gadara nets for liveness and reversibility using siphons; and (iii) identification of a convexity-type property for the set of live markings.
Keywords
Petri nets; multi-threading; operating systems (computers); Gadara nets; Petri nets; analyzing lock allocation; deadlock avoidance; discrete event control theory; modeling lock allocation; multicore architectures; multithreaded software; parallel programming; Computer architecture; Concurrent computing; Control theory; Manufacturing systems; Multicore processing; Parallel programming; Petri nets; Programming profession; System recovery; Yarn;
fLanguage
English
Publisher
ieee
Conference_Titel
Decision and Control, 2009 held jointly with the 2009 28th Chinese Control Conference. CDC/CCC 2009. Proceedings of the 48th IEEE Conference on
Conference_Location
Shanghai
ISSN
0191-2216
Print_ISBN
978-1-4244-3871-6
Electronic_ISBN
0191-2216
Type
conf
DOI
10.1109/CDC.2009.5399950
Filename
5399950
Link To Document