Академический Документы
Профессиональный Документы
Культура Документы
Avoidance
require decisions by the system while it is running in
order to insure that deadlocks will not occur
Detection
When detected, decide which process to rollback or
abnormally terminate.
Deadlock Prevention
Schemes that guarantee the deadlocks can never
happen because of the way the system is
structured.
One of the four conditions is prevented, thus
preventing deadlocks.
For example, to impose an order on the resources
and require processes to request resources in
increasing order. This prevents cyclical wait and
thus makes deadlocks impossible.
Interprocess Communication[1]
Lower level: Interprocess communication can
be accomplished by using simple message
passing primitives.
Higher level logical communication methods
provides the transparency:
Hide the physical details of message passing
Two important concepts :
The client/server model
Remote Procedure Call (RPC)
The Client/Server Model[1]
The client/ server model is a programming
example for structuring processes in distributed
systems.
logical communication
request
client server
reply
actual communication
kernel kernel
network
The RPC Model [3]
Multiprocessor scheduling
Minimize communication overhead with efficient
scheduling.
Load sharing
Process migration strategy & mechanism
Distributed File Systems and
Distributed Shared Memory
Distributed file systems
Issues are based on a file point of view