Title :
Deadlock Avoidance: A Dynamic Programming Approach
Author :
Singh, Rajni Ranjan ; Singh, Dileep Kumar
Author_Institution :
Dept. of Inf. Technol., Gyan Ganga Inst. of Technol. & Manage., Bhopal, India
Abstract :
Deadlock is an indefinite blocking condition, occurs when two or more processes are each waiting for each other to release a resource. One way to overcome the deadlock problem in operating system environment is deadlock avoidance using Bankers safety algorithm. Safety algorithm decides whether the system will be in safe or unsafe state, on the basis of processes needs and its availability. If safety algorithm successfully generates a safe sequence of the processes, then system will be in safe state and so deadlock will not occur otherwise the system will be in unsafe state and deadlock can occur. The conventional safety algorithm is totally based on the processes resource need and its availability and finally it generate a safe sequence. In this paper, dynamic programming approach is used to solve the safety algorithm. Apart from processes resource needs and its availability, here, burst time of the processes is also considered to find the optimal safe sequence of processes that leads minimum average waiting time.
Keywords :
dynamic programming; operating systems (computers); safety; system recovery; bankers safety; burst time; deadlock avoidance; dynamic programming; indefinite blocking; operating system; Deadlock; dynamic programming; safety algorithm;
Conference_Titel :
Computational Intelligence and Communication Networks (CICN), 2010 International Conference on
Conference_Location :
Bhopal
Print_ISBN :
978-1-4244-8653-3
Electronic_ISBN :
978-0-7695-4254-6
DOI :
10.1109/CICN.2010.130