Lecture 10 - Parallel and Distributed Computing CSC 4106
Lecture 10 - Parallel and Distributed Computing CSC 4106
Computing
Lecture 10
CSC 4106
Process-centric
Shared Memory
The programmer task is to specify the activities of a set of processes that
communicate by reading or writing shared memory.
Advantage : the programmer need not to concerned about data distribution issues.
Disadvantage : performance implementations may be difficult on computers that
lack hardware support for shared memory and race condition tends to arise more
easily.
Distributed memory
Processes have only local memory and must use some other mechanism to
collect results. e.g Message passing, Remote procedure call
Advantage : programmer have explicit control over data distribution and
communication.
Shared / distributed memory
Scalability and Performance Studies