Slide 1
DISTRIBUTED SYSTEMS [COMP9243] Lecture 3b: Distributed Shared Memory
➀ DSM ➁ Case study ➂ Design issues ➃ Implementation issues
Slide 2
DISTRIBUTED SHARED MEMORY (DSM)
DSM: shared memory + multicomputer
16 1 2 3 4 5 6 7 8 10 11 9 12 13 14 15
Shared global address space CPU 1 CPU 2 CPU 3 CPU 4
2 5 9 1 3 6 8 10 4 7 11 12 14 13 15 16
SHARED ADDRESS SPACE 1 Slide 3
SHARED ADDRESS SPACE
DSM consists of two components:
➀ Shared address space ➁ Replication and consistency of memory objects
Shared address space:
Network Node 1 Node 2 0x1000 0x1000 0x2000 0x2000➜ Shared addresses are valid in all processes
Slide 4 Transparent remote access:
Network Node 1 Node 2 0x1000 0x1000 0x2000 0x2000Properties:
➜ Remote access is expensive compared to local memory access ➜ Individual operations can have very low overhead ➜ Threads can distinguish between local and remote access
SHARED ADDRESS SPACE 2