Consider a system with five processes P1, P2, P3, P4, P5 and resources R1, R2, R3,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider a system with five processes P1, P2, P3, P4, P5 and resources R1, R2, R3, R4, R5, R6. Also assume that there are two units of each resource type. Now consider the following status: Process P1 holds 1 unit of R1 and requests 1 unit of R4. Process P2 holds 1 unit of R1 and requests 1 unit each of R1 and R2. Process P3 holds 1 unit of each R2, R3 R4 and R5, and requests 1 unit of R1. Process P4 holds 1 unit of each R3 and R5, and requests 1 unit of R6. Process P5 holds 2 units of R6 and requests 1 unit of R3. A) Show the resource allocation graph that represents this system state. (10 points) B) Is this system deadlocked? If so, state which processes are involve. If not, give an execution sequence that eventually ends, showing resource acquisition and release at each step. (5 points) ● ● ● ● ● Consider a system with five processes P1, P2, P3, P4, P5 and resources R1, R2, R3, R4, R5, R6. Also assume that there are two units of each resource type. Now consider the following status: Process P1 holds 1 unit of R1 and requests 1 unit of R4. Process P2 holds 1 unit of R1 and requests 1 unit each of R1 and R2. Process P3 holds 1 unit of each R2, R3 R4 and R5, and requests 1 unit of R1. Process P4 holds 1 unit of each R3 and R5, and requests 1 unit of R6. Process P5 holds 2 units of R6 and requests 1 unit of R3. A) Show the resource allocation graph that represents this system state. (10 points) B) Is this system deadlocked? If so, state which processes are involve. If not, give an execution sequence that eventually ends, showing resource acquisition and release at each step. (5 points) ● ● ● ● ● Consider a system with five processes P1, P2, P3, P4, P5 and resources R1, R2, R3, R4, R5, R6. Also assume that there are two units of each resource type. Now consider the following status: Process P1 holds 1 unit of R1 and requests 1 unit of R4. Process P2 holds 1 unit of R1 and requests 1 unit each of R1 and R2. Process P3 holds 1 unit of each R2, R3 R4 and R5, and requests 1 unit of R1. Process P4 holds 1 unit of each R3 and R5, and requests 1 unit of R6. Process P5 holds 2 units of R6 and requests 1 unit of R3. A) Show the resource allocation graph that represents this system state. (10 points) B) Is this system deadlocked? If so, state which processes are involve. If not, give an execution sequence that eventually ends, showing resource acquisition and release at each step. (5 points) ● ● ● ● ●
Expert Answer:
Answer rating: 100% (QA)
A Resource Allocation Graph R1 P1 R4 R2 P2 R1 R2 R3 P3 R2 R3 R4 R5 R4 P1 R1 R5 P4 R3 R5 R6 P5 R6 B D... View the full answer
Related Book For
Value at Risk The New Benchmark for Managing Financial Risk
ISBN: 978-0071464956
3rd edition
Authors: Philippe Jorion
Posted Date:
Students also viewed these operating system questions
-
ttth Suppose that the sequence of bags {Bn | n N} is recursively enumerated by the computable function e(n, x) = fn(x), [7 marks] Hence prove that the set of all recursive bags cannot be recursively...
-
Provide an elevator speech. The elevator speech should be a geared toward academics and the a community of learners, including fellow students, faculty, staff, and support teams. It should be...
-
According to USA Today (March 18, 1997), of 4 million workers in the general workforce, 5.8% tested positive for drugs. Of those testing positive, 22.5% were cocaine users and 54.4% marijuana users....
-
Southwestern Energy Company's balance sheet includes the asset Iron Ore Rights. Southwestern Energy paid $2.2 million cash for the right to work a mine that contained an estimated 190,000 tons of...
-
KKK is startup electric appliance manufacturer which has three main products in the brand of WEM - Air conditioners, Washing machines and Refrigerators. In the production of air conditioners and...
-
What questions to ask a witness in a deposition?
-
During January, Luxury Cruise Lines incurs employee salaries of $3 million. Withholdings in January are $229,500 for the employee portion of FICA, $450,000 for federal income tax, $187,500 for state...
-
Real Options are managerial flexibility to alter the fundamentals of a project based on evolving information. Typical examples include the option to expand, contract, delay, or abandon a project....
-
4. Distinct Items There is a list of items in the shopping cart, each having a cost associated with it. There are n items, the cost of the ith item is / dollars and m items have already been bought...
-
Construct a virtual 'Global Freight Enterprise modelled on your own Company if you wish. Your model must be specified in writing in terms of the nature of its business, its structure, its resources...
-
what extent do feminist theories challenge conventional understandings of gender, sexuality, and power relations in patriarchal societies ?
-
use logarithmic differentiation to find the derivative of the function: y = x x - 9 2
-
0.2 kg/s of alcohol is to be cooled from 75C to 35C in a counter flow heat exchanger. Cooling water enters the exchanger at 12C and at the rate of 0.16 kg/s. The convection heat transfer coefficient...
-
what ways do hierarchical organizational structures influence decision-making efficiency and employee autonomy, and how might these factors affect innovation and adaptability in a rapidly changing...
-
Customer Relationship Marketing (CRM) calls for a robust approach that eclipses a 360 view of the customer through development, growth and maintenance of long term cost effective relationships with...
-
1. Draw the Lewis structure of ethylene diamine, en. Be sure to include all atoms, bonds and lone pairs. Give the bond angles around each central atom (4 points). 2. Draw the skeletal formula of the...
-
Which of the following statements is false? a. Capital leases are not commonly reported in a Capital Projects Fund. b. A governmental entity may report a Capital Project Fund in one year but not the...
-
Answer the following questions using the banker's algorithm: a. What is the content of the matrix Need? b. Is the system in a safe state? c. If a request from process P1 arrives for (0, 4, 2, 0), can...
-
Some computer systems do not provide a privileged mode of operation in hardware. Is it possible to construct a secure operating system for these computer systems? Give arguments both that it is and...
-
Your company is building a computer network, and you are asked to develop a scheme for dealing with the deadlock problem. a. Would you use a deadlock-detection scheme or a deadlockprevention scheme?...
-
The W14 \(\times 43\) simply supported beam is made of A992 steel and is subjected to the loading shown. Determine the slope at \(A\) and \(B\). 60 kip ft A 12 ft- C 3 kip/ft 12 ft B
-
The W14 \(\times 43\) simply supported beam is made of A992 steel and is subjected to the loading shown. Determine the displacement of its center \(C\). 60 kip-ft A -x T -12 ft- 3 kip/ft 12 ft B
-
The W12 \(\times 45\) simply supported beam is made of A-36 steel and is subjected to the loading shown. Determine the displacement of at its center \(C\). 50 kip-ft 12 kip A 12 ft C 12 ft B
Study smarter with the SolutionInn App