In a certain system, each process typically uses a critical section many times before another
process requires it. Explain why Ricart and Agrawala’s multicast-based mutual exclusion
algorithm is inefficient for this case, and describe how to improve its performance. Does your
adaptation satisfy liveness condition ME2?
What will be an ideal response?
In Ricart and Agrawala’s multicast-based mutual exclusion algorithm, a client issues a multicast request every
time it requires entry. This is inefficient in the case described, of a client that repeatedly enters the critical
section before another needs entry.
Instead, a client that finishes with a critical section and which has received no outstanding requests could mark
the token as JUST_RELEASED, meaning that it has not conveyed any information to other processes that it
has finished with the critical section. If the client attempts to enter the critical section and finds the token to be
JUST_RELEASED, it can change the state to HELD and re-enter the critical section.
To meet liveness condition ME2, a JUST_RELEASED token should become RELEASED if a request for entry
is received.
You might also like to view...
The main suite of Internet protocols used to transmit data is called
a. DNS. b. XML. c. HTTP. d. TCP/IP.
RIP routing has been enabled on the router. Which command is issued to use RIP routing to a host computer with an IP address of 192.168.20.3?
A) router(config-router)# network 192.168.20.0 B) router(config-router)# network 192.168.20.3 C) router(config)# network 192.168.20.3 D) router(config)# network 192.168.20.0 E) router(config-router-rip)# network 192.168.20.0
The ____ box shows the address of the selected cell.
A. formula B. data C. name D. address
Discuss the difference between Datasheet view and Design view in a table.
What will be an ideal response?