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
  CS601 Assignment 2 Solution Fall 2017 Admin 1 372 01-14-2018, 10:21 PM
Last Post: fahadmukhtar
  CS605 Assignment 2 Solution Fall 2017 Pakistani 0 192 01-02-2018, 01:38 PM
Last Post: Pakistani
  CS601 Assignment 1 Solution Fall 2017 Pakistani 0 2,061 11-03-2017, 07:50 PM
Last Post: Pakistani
  CS605 Assignment 1 Solution Fall 2017 Pakistani 0 411 10-31-2017, 02:37 PM
Last Post: Pakistani
  CS604 Assignment 3 Solution Pakistani 2 456 07-26-2017, 06:17 PM
Last Post: Rubaisha(Moody Girl)
  CS615 Assignement 3rd solution 2017 Rubaisha(Moody Girl) 0 295 07-26-2017, 12:13 PM
Last Post: Rubaisha(Moody Girl)
Lightbulb CS604 GDB 01 Discussion Halaa_Syed_NEW 1 334 07-18-2017, 07:44 PM
Last Post: Pakistani
  CS609 3rd Assignment 2017 Rubaisha(Moody Girl) 0 402 07-03-2017, 08:31 PM
Last Post: Rubaisha(Moody Girl)
  cs604 assignment complete solution Rubaisha(Moody Girl) 0 985 05-12-2016, 07:50 PM
Last Post: Rubaisha(Moody Girl)
  cs604 assignment solution Rubaisha(Moody Girl) 0 1,623 05-12-2016, 03:49 PM
Last Post: Rubaisha(Moody Girl)



Users browsing this thread:
1 Guest(s)