Evaluating different approaches to deadlock

Assignment Help Basic Computer Science
Reference no: EM131212098

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?

Reference no: EM131212098

Questions Cloud

Perform the same function as a j-k flip-flop : How do you modify a D-type flip-flop to perform the same function as a J-K flip-flop?
Compare the writing and information and references : Write a short  paper in which you compare and contrast the writing, information, references, and another other elements of the sources as appropriate.
Chronology of the development of the internet : 1) When looking at the chronology of the development of the Internet, which development do you believe to be the most important? Why?
Computing technologies on business productivity : Describe the impact of software development and computing technologies on business productivity.
Evaluating different approaches to deadlock : 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 ..
Describe why the article''s argument is stronger than other : Describe why the article's argument is stronger than the other. Give examples from both. Include how current perspectives and theories support your rationale.
Can one be productive working at home : Can one be productive working at home? Please describe in detail of whether or not your choice on this. What is the difference in a Consultant vs a Contractor? Please describe the differences.
Separation of duties : Have you seen a movie where nuclear missiles were being test launched? If so, you might recall that two military officers followed a complex procedure to initiate the test launch. Each officer had half of what was needed to complete the procedure...
Write the research paper on building collapse in benue state : Write the Research Problem. - The topic is: Investigation on the natural and man-made causes of building collapse in Benue State.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Popular day-trip destination for local families

Two large international holiday companies have been planning to build hotel and leisure facilities for tourists on one of the island's beaches, which is also a popular day-trip destination for local families.

  The capabilities of today''s smartphones

20 years ago, no one could have predicted the capabilities of today's smartphones. 10 years ago, when the smartphones of today were in their infancy, there were hints and clues about the future, but no one knew for sure exactly how it would all devel..

  What are the mission, values, goals and objectives

What are the (mission, values, goals and objectives) of the organization?

  Describing equivalence relation

Let X = Z × (Z {0}). Define the relation  on X by (x, y)  (z, t) ↔ xt = yz for every (x, y), (z, t) ∈ X. Show that this is an equivalence relation on X.

  What are the costs of this massive expansion of information

does this increase in data and computing power always benefit companies that employ these tools? what are the costs of

  Modify the addressing properties of workstations

Is ther a way you could modify the addressing properties of the workstations at each small office remotely, without having to visit those offices? Why or Why not?

  Big-oh definition for a function

By using the definition of Big-Oh show that if g1(n) is in O(f(n)) and g2(n) is in O(f(n)), then the sum g1(n) + g2(n) is in O(f(n)).

  How the pages hold style continuity in grid system

Export the finished article as PDF format AND also give me the original indesign file, and the fonts you used.

  Determine the horizontal force p the man

The uniform 20-lb ladder rests on the rough floor for which the coefficient of static friction is µS = is and against the smooth wall at B. Determine the horizontal force P the man must exert on the ladder in order to cause it to move.

  Would you consider the problem to be tractable

Suppose the best algorithm for solving a problem would require 100 years to execute. Would you consider the problem to be tractable? Why?

  The menu structure for holiday travel vehicle"s existing

The menu structure for Holiday Travel Vehicle's existing character-based system is shown here. Develop and prototype a new interface design for the system's functions, using a graphical user interface.

  How mime deals with new or system

Consult the MIME RFC to find out how MIME deals with new or system-specific image and text formats.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd