Question

In: Computer Science

In operating systems class you experienced a little about how simulation can be applied in analyzing...

In operating systems class you experienced a little about how simulation can be applied in analyzing scheduling and deadlock problems.

  • Do you think if this is the only available analysis tool? Be sure to explain why or why not.
  • If not, list an alternative analysis method, and explain two advantages and two disadvantages of simulation versus this method

Solutions

Expert Solution

In a deadlock situation the process is blocked because the current running process will be acquired by the another process.So this process cannot be normal until and unless we reset it to normal manually.

This situation of deadlock can be prevented by using certain protocols which will prevent the deadlock to occur.so that it can be detected and prevented.

In some scenarios the operating system behaves like the deadlock is not occurred,Because the deadlock is ignored and cannot be detected by the operating system.some additional information must be provided to the operating system so that it can avoid the deadlocks.

By using a wait for graph we can detect deadlocks in this we can obtain the graph from the resource nodes by which the graph can be collapsed.and also the number of processes that are affected when the deadlock has occurred must be analyzed.we can abort all the deadlock processes so that the deadlock cycle can be broken.


Related Solutions

Now that you have a better idea about how markets work, you can do a little...
Now that you have a better idea about how markets work, you can do a little mental forecasting. You can ask yourself “how do I expect prices to change in this situation?”   Take the market for housing and the current situation we are in with the pandemic.   What do you expect to happen to home prices over the upcoming months: rise, fall, not change? In real estate lingo do you think this will be a buyer’s market or a seller’s...
Firm X, operating in a perfectly competitive market, can sell as much or as little as...
Firm X, operating in a perfectly competitive market, can sell as much or as little as it wants at the market price. The firm’s cost function is C(Q) = 600 + 8Q + 6Q 2 . a. At a market price of $140 per unit, what is the firm’s profit maximizing quantity? What is their profit? b. At a market price of $80 per unit, will the firm stay in business in the short-run? If so, what quantity would they...
Firm Z, operating in a perfectly competitive market, can sell as much or as little as...
Firm Z, operating in a perfectly competitive market, can sell as much or as little as it wants of a good at a price of $16 per unit. Its cost function is C = 50 + 4Q + 2Q2. (a) Determine the firm’s profit-maximizing level of output. Compute its profit. (b) The industry demand curve is QD = 200 - 5P. What is the total market demand at the current $16 price? If all firms in the industry have cost...
How can Locke’s claims about the appropriate quantity of possessions be applied to the pharmaceutical industry...
How can Locke’s claims about the appropriate quantity of possessions be applied to the pharmaceutical industry today? What does Smith claim about the “Invisible Hand” of the economy as regards domestic industry? Would Marx agree that raising the minimum wage of workers would increase their human dignity?
How can I answer this question in Capsim simulation ? "If you could go back and...
How can I answer this question in Capsim simulation ? "If you could go back and change your company decisions for one of the 6 rounds which round would it be and why. "
What can you tell me about analyzing the statistical significance and p-values
What can you tell me about analyzing the statistical significance and p-values
In this chapter, you learn a little more about liabilities and how to classify them. What...
In this chapter, you learn a little more about liabilities and how to classify them. What was added to your knowledge of liabilities? Why is this important for financial reporting? 
How can you use the material learned in this class at your workplace? Either about computer-based...
How can you use the material learned in this class at your workplace? Either about computer-based decision-making tools in management, or use of excel solver, linear programming in solving managerial decision-making problems, or nonlinear programming techniques.
There are various systems of accounting that can be applied by any entity while maintaining accounting...
There are various systems of accounting that can be applied by any entity while maintaining accounting system. Fundamentally, there are two systems of accounting viz. cash basis and accrual basis which are directly associated with the type and nature of entity. They have their own pros and cons; however, accrual basis of accounting system is more suitable for business entities from income recognition and measurement point of view. Work sheet is a useful device adopted by accountants to determine financial...
Consider how Coase Theorem can be applied to the following scenarios. Specifically, think about the following...
Consider how Coase Theorem can be applied to the following scenarios. Specifically, think about the following issues for each of the scenarios: 15 Marks (i) Are property rights well defined? (ii) Will trading take place? (iii) Are any of the key assumptions within Coase Theorem likely to be violated in any way? a. A chicken farming factory has opened in industrial Unanderra. The factory produces a foul smell that settles over the center of Unanderra as well as increased traffic...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT