subject
Engineering, 26.11.2020 04:10 RKT28

Consider the following ways of handling deadlock: (1) banker’s algorithm, (2) detect deadlock and kill thread, releasing all resources, (3) reserve all resources in advance,
(4) restart thread and release all resources if thread needs to wait, (5) resource ordering, and (6) detect deadlock and roll back thread’s actions.
a. One criterion to use in evaluating different approaches to deadlock is which
approach permits the greatest concurrency. In other words, which approach allows
the most threads to make progress without waiting when there is no deadlock?
Give a rank order from 1 to 6 for each of the ways of handling deadlock just listed,
where 1 allows the greatest degree of concurrency. Comment on your ordering.
b. Another criterion is efficiency; in other words, which requires the least processor
overhead. Rank order the approaches from 1 to 6, with 1 being the most efficient,
assuming that deadlock is a very rare event. Comment on your ordering. Does
your ordering change if deadlocks occur frequently?
I want the answer for part b.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
An air conditioning system consist of a 5 cm diameter pipe, operating at a pressure of 200 kpa. the air initially enters the pipe at 15°c with a velocity of 20 m/s and relative humidity of 80%. if the heat supply throughout the process is 960 w, determine the relative humidity and the temperature at the outlet
Answers: 3
question
Engineering, 04.07.2019 18:20
Modern high speed trains do not have perpendicular expansion gaps where rails are joined end-to-end any more they are mostly welded together but what might happen if there was a spell of particularly hot weather that causes inspection of the tracks?
Answers: 1
question
Engineering, 04.07.2019 18:20
A2-m rigid tank initially contains saturated water vapor at 100 kpa. the tank is connected to a supply line through a valve. steam is flowing in the supply line at 600 kpa and 300 c. the valve is opened, and steam is allowed to enter the tank until the pressure in the tank reaches the line pressure, at which point the valve is closed. a thermometer placed in the tank indicates that the temperature at the final state is 200°c. determine (a) the mass of steam that has entered the tank (b) the amount of heat transfer.
Answers: 3
question
Engineering, 04.07.2019 19:10
What is creep? what is stress relaxation?
Answers: 1
You know the right answer?
Consider the following ways of handling deadlock: (1) banker’s algorithm, (2) detect deadlock and k...
Questions
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Social Studies, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
question
Biology, 11.09.2020 01:01
question
Mathematics, 11.09.2020 01:01
Questions on the website: 13722359