Operating Systems DSM
Distributed Shared Memory
- Distributed Shared Memory Systems
– Page based – Shared-variable based
- Consistency Models
– Strict consistency – Sequential consistency – Release consistency
Distributed Shared Memory
- Distributed Shared Memory (DSM): have collection of workstations share
a single, virtual address space.
- The main objective of DSM:
– to alleviate the burden on the programmer – by hiding the fact that physical memory is distributed and not accessible in its entirety to all processors.
- DSM creates the illusion of a single shared memory.
– much like a virtual memory creates the illusion of a memory that is larger than the available physical memory.
- Vanilla implementation:
– references to local pages done in hardware. – references to remote page cause HW page fault; trap to OS; load the page from remote; restart faulting instruction.
- Optimizations: