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

The comparison of two mutual exclusion algorithms: the centralized algorithm using a coordinator and the distributed algorithm of ricart and agrawala. The assignment covers the description and comparison of these algorithms, their mutual exclusion mechanisms, performance under fault-free conditions, and handling of faulty processors.

Typology: Assignments

Pre 2010

Uploaded on 09/17/2009

koofers-user-heq-2
koofers-user-heq-2 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

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?