Question

In: Computer Science

Consider the four distributed mutual exclusion algorithms Permission Based ---#1: Centralized Mutual Exclusion ---#2: Decentralized Mutex...

Consider the four distributed mutual exclusion algorithms
Permission Based
---#1: Centralized Mutual Exclusion
---#2: Decentralized Mutex Algorithm
---#3: Distributed Mutual Exclusion
#4: A Token Ring Algorithm
Discuss their relative fault tolerance – basically the effect of processor crashes on the
performance of the algorithm. You don’t have to come up with a 1-2-3-4 ordering.

Solutions

Expert Solution

1.Centralized Mutual Exclusion :

a) Single point of failure.

b) Blocking requests mean client processes have difficulty distinguishing crashed coordinatore from long wait.

c) Bottlenecks.

2.Decentralized Mutex Algorithm:

a)More fault tolerant than the Centralized approach.Use DHT approach to locate objects.

b)More robust than the central coordinator approach. If one coordinator goes down other are available.

c)Process may wait a long time to get permission-Possibility of starvation exists.

d) Resource usage drops.

e)High level of contention.

f)Low effeicency.

3. Distributed Mutual Exclusion:

a)Probabilistic algorithms do not guarantee mutual exclusion is correctly enforced.

b)Lots of message traffic,n bottlenecks instead of one.

c)In this voting scheme modification improve the fault tolerance

d)Less robust than centralized mutual exclusion.

e) Problem is crash of any process.

4.Token Ring Algorithm:

1.The only issue in token ring algorithm is lost token and process crash.

2.Starvation is impossible, since no processor will get the token again until every other processor has had a chance.

c) More robust than distributed mutual exclusion.

d)Detecting the lost token and regeneration is difficult.


Related Solutions

Write a program to simulate the Distributed Mutual Exclusion in ‘C’.
Write a program to simulate the Distributed Mutual Exclusion in ‘C’.
What, in your opinion, is the difference in decentralized/distributed (client/server) architecture and centralized (Cloud Computing or...
What, in your opinion, is the difference in decentralized/distributed (client/server) architecture and centralized (Cloud Computing or Mainframe) architecture? Give an example of a business decision that would be affected by the choice of the architecture
Consider various staffing issues such centralized and decentralized staffing, informal and formal networks, and the importance...
Consider various staffing issues such centralized and decentralized staffing, informal and formal networks, and the importance of forming relationships, networks and alliances within the health care delivery system. Describe the importance of these within your role as a future health care manager/leader and identify some key advantages/disadvantages associated with each.
1. How has Amazon responded to the design challenges? (a) Is it centralized or decentralized? How...
1. How has Amazon responded to the design challenges? (a) Is it centralized or decentralized? How do you know? (b) Is it highly differentiated? Can you identify any integrating mechanisms used by Amazon? What is the match between the complexity of differentiation and the complexity of the integrating mechanisms that are used? (c) Is behavior in the organization very standardized, or does mutual adjustment play an important role in coordinating people and activities? What can you tell about the level...
Question Four Explain Peterson’s solution for critical-section problem and show that mutual exclusion is preserved with...
Question Four Explain Peterson’s solution for critical-section problem and show that mutual exclusion is preserved with Peterson’s solution. (Assume there are only two processes P0 and P1)
Compare Disney and Netflix structures. Consider such items as hierarchy, centralized/decentralized, geography, functional/divisional. Include other comparatives....
Compare Disney and Netflix structures. Consider such items as hierarchy, centralized/decentralized, geography, functional/divisional. Include other comparatives. Include a Comments/Notes column for additional thoughts.
Page Replacement Algorithms. Consider the following page reference stream and 3 page frames: 0 1 2...
Page Replacement Algorithms. Consider the following page reference stream and 3 page frames: 0 1 2 3 2 4 3 1 1 5 2 4 6 3 3 4 6 3 4 7. For the MIN, FIFO, and LRU algorithms, show the contents of the page frame after each reference, and then compute the total number of page faults, divided in to cold misses and other misses.
1. Suppose the returns of a particular group of mutual funds are normally distributed with a...
1. Suppose the returns of a particular group of mutual funds are normally distributed with a mean of 9.7% and a standard deviation of 3.8%. If the manager of a particular fund wants to be sure that his fund is NOT in the bottom 25% of funds with the lowest return, what return must his fund have? (please round your answer to 2 decimal places). 2. Suppose the following data show the prices of 4 cars with similar characteristics that...
Answer this question in a 1-2 paragraphs The experiment that was performed was size exclusion chromatography....
Answer this question in a 1-2 paragraphs The experiment that was performed was size exclusion chromatography. it involved: - sephadex G75 (separates up to 80,000 g/mol) - buffer: 20mM sodium Phosphate @ ph 7.0 - three compounds that were separated 1.) blue dextron (2,000,000 g/mol) blue 2.) cytochrome C (~12,000 g/mol) orange 3.) potassium chromate (194.2 g/mol) yellow 1 eluded first followed by 2 and then 3 as expected. ••• Come up with a creative, some sort of experiment that...
Graph theory unit. 1. List important computing algorithms in Computer Networking based on application of graph...
Graph theory unit. 1. List important computing algorithms in Computer Networking based on application of graph theory. 2. Explain following using an example. a. graph, edges and vertices of the graph, directed graph, in-degree and outdegree of vertex, incident, a path, a distance 3. What is the worst – case memory usage of DFS? 4. Does DFS find the shortest path from start node to some node w ?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT