Docsity

Comparison of Centralized and Distributed Mutex Algorithms: ECE 151 Assignment 3, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 151
Assignment 3
Due Monday May 1
1. a) Describe and compare the centralized algorithm for mutual exclusion
using a coordinator, with the distributed mutual exclusion algorithm
of Ricart and Agrawala.
b) Explain how each of the two algorithms ensures mutual exclusion
when two processes request entry to the critical region at
approximately the same time.
b) How do the algorithms compare in performance, and in load on the
various processors and on the communication medium, under fault free
conditions?
c) How do the algorithms compare when there is a faulty processor
in the system? For each algorithm, how would you handle such a
fault?

Partial preview of the text

Download Comparison of Centralized and Distributed Mutex Algorithms: ECE 151 Assignment 3 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 151

Assignment 3 Due Monday May 1

  1. a) Describe and compare the centralized algorithm for mutual exclusion using a coordinator, with the distributed mutual exclusion algorithm of Ricart and Agrawala. b) Explain how each of the two algorithms ensures mutual exclusion when two processes request entry to the critical region at approximately the same time. b) How do the algorithms compare in performance, and in load on the various processors and on the communication medium, under fault free conditions? c) How do the algorithms compare when there is a faulty processor in the system? For each algorithm, how would you handle such a fault?