









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Based on Reference paper: Distributed SharedMemory, Concepts and Systems
We have already seen some kinds of shared memorymechanisms •^ shared memory symmetric multiprocessors:^ –^ all memory is shared and equidistant from processors^ –^ caching is used for performance There are also other kinds of shared memory approaches •^ NUMA (non-uniform memory access) machines^ –^ each machine has its own memory but the
hardware^ allows accessing remote memory – remote addresses are no different than local accesses at theassembly level – access to remote memory is much slower – no hardware caching occurs (but the software may docaching)
-^ objectives:^ minimize latency
-^ Think of how you would implement such a“virtual”^ shared memory among workstations^ –^ Software: at the OS level for unsuspecting processes^ •^ how can this be done efficiently?^ –^ Software: at a language runtime level (e.g., Java VM)^ •^ how can it be done without hardware support?^ –^ Hardware level support^ •^ most efficient, but costly; many exotic interconnects have somesupport (Quadrics, Infiniband…)^ –^ Hybrid
of a page can be changing (e.g., can be the last writer to the page) • The owner is responsible for blocking “writes”
until
all outstanding copies have been invalidated • How to find the owner?^ –^ directories^ –^ distributed directories (statically or dynamically)^ –^ hints (probable owner, owner links, and periodicbroadcasts so that all processors know a recentowner)