CS604 GDB Solution Fall 2017
#1
CS604 Graded Discussion Board Solution
Fall 2017

GDB Topic:
 
Suppose a system allows deadlocks to occur in a system and then run deadlock detection algorithm to detect deadlocks in the system and then recover system from deadlocks.
 
You have been given two approaches for running a deadlock detection algorithm:
a.        Running an algorithm on the system every time a request is granted.
b.        Running an algorithm on the system after specified period of time.
 
In your opinion, which approach will best suit the system considering that deadlocks are less likely to occur in the system and processes are frequently requesting resources.
 
You are required to give your own opinion. Keep your answer precise and to the point.

Solution:

In my opinion, approach 'b' will best suit this system because as the deadlocks are less likely to happen and processes are frequently requesting resources, running the algorithm after specified period of time will not slow down the system much but if the first approach is used that after every request the algorithm is run, and as the requests are quite frequent, it will slow down the system a log and processes will experience lag.
Hence its best to run the detection algorithm after a specified time for deadlock detection.
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  CS604 GDB Idea Mishi Khan 0 83 02-10-2019, 01:54 AM
Last Post: Mishi Khan
  CS604 Assignment 2 Solution Mishi Khan 0 187 02-01-2019, 01:46 AM
Last Post: Mishi Khan
  CS604 MidTerm Past Paper Mishi Khan 0 246 12-22-2018, 08:23 PM
Last Post: Mishi Khan
  CS610 GDB Assignment Solution Fall 2018 Mishi Khan 0 132 12-13-2018, 11:58 PM
Last Post: Mishi Khan
  cs610 GDB solution fall 2018 fahadmukhtar 0 130 12-13-2018, 03:01 PM
Last Post: fahadmukhtar
  CS601 GDB Fall 2018 Solution Mishi Khan 0 370 12-12-2018, 10:29 PM
Last Post: Mishi Khan
  CS601 Assignment 1 Solution Fall 2018 Pakistani 0 362 12-03-2018, 10:15 AM
Last Post: Pakistani
  CS608 Assignment 1 Solution Fall 2018 Admin 0 371 11-30-2018, 11:37 PM
Last Post: Admin
  cs609 assignment 1 fall 2018 solution fahadmukhtar 2 322 11-30-2018, 11:06 PM
Last Post: Admin
  CS601 - Assignment No. 1 Solution - Fall 2018 Angry_Bird 1 682 11-16-2018, 05:09 PM
Last Post: Zara Shahid



Users browsing this thread:
1 Guest(s)