Skip to content

Distributed shared memory

A shared-data programming view maintained across physically separate computer memories by a distributed implementation.

Core Idea

Distributed shared memory (DSM) presents logically shared data to processes whose physical memories are separate. Its implementation coordinates remote operations so the shared-data interface has stated access and visibility rules. What is shared is the programming view and coordinated state, not one physical memory device.[1]

DSM does not require one flat address space. Levelt and colleagues compare page-based shared virtual memory (SVM) with Orca's typed shared data objects, calling both DSM. In one case processes load and store through a common virtual address space; in the other they use programmer-defined operations on objects shared across machines.[1][2]

How would you explain it like I'm…

The Pretend Shared Notebook

Imagine friends in different houses, each with their own notebook. A clever helper keeps passing notes between them so it feels like they all share one big notebook. Distributed shared memory works like that for computers. Each computer keeps its own memory, but they get to act as if they share one.

Many Computers, One Memory View

Distributed shared memory lets programs on different computers act as if they share the same memory, even though each computer has its own. The computers send messages behind the scenes to keep the data in step and follow rules about who sees which changes when. Some systems share memory as big numbered pages, and others share named objects you can only change with certain actions. Both count, because what is shared is the view the programs see, not the actual memory chips.

Logical Shared View, Physically Distributed

Distributed shared memory (DSM) gives processes on machines with physically separate memories a logical view of shared data. Programs access that data through a declared interface. Underneath, communication and a distributed implementation enforce the rules about access and about when updates become visible. The memory stays physically spread out; what is shared is the programming view and the coordinated state behind it. That view can take different forms. Shared virtual memory offers pages within a common virtual address space, while the Orca system offers typed shared objects used through defined operations. Both count as DSM even though they share different units of data and update them in different ways.

 

Distributed shared memory is an abstraction that lets processes on separate machines program against a logically shared data space, though the memory remains physically distributed. The application uses a declared access interface; underneath, a runtime uses communication to maintain that interface's access and visibility (consistency) rules. DSM is defined by this shared programming view, not by a particular granularity. In the comparison by Levelt and colleagues, shared virtual memory (SVM) is page-based, exposing a common virtual address space, whereas Orca exposes typed shared data objects manipulated only through defined operations. These differ in access unit, protection boundaries, and update mechanisms, yet both are DSM. Orca's runtime, for example, keeps local replicas of objects on different machines consistent through ordered write broadcasts.

Use Within the Domain

The term helps compare distributed parallel-programming systems that promise common data while storing it across private memories. Describe the programmer-visible access unit, the allowed operations, and the guarantee governing what other processes can observe. Then identify the remote mechanisms that implement that promise. A particular page protocol, broadcast scheme, or consistency model belongs to its implementation and should not silently be imposed on every DSM.[1][2]

The shared-data interface is an internal Interface Prime constituent of DSM. Both SVM and Orca expose bounded operations and results while hiding remote placement and communication; their implementations can differ behind the promised contract. DSM adds physically separate memory and remote maintenance, so the whole model is not merely an interface.

Clarity

Three roles distinguish DSM: separate physical memories, a logical shared-data interface, and distributed maintenance of declared operation visibility. Private memories alone make a system distributed but do not make its programming model shared-memory. Conversely, physical shared memory needs no distributed imitation to be shared.[1]

The access unit explains the two inspected forms. SVM uses pages in a flat address space, with the paper's implementation coordinating coherent reads and writes. Orca uses typed objects and indivisible operations; its cited runtime can replicate objects and broadcast writes in a common order. Those details identify the cases, not universal DSM membership tests.[1][2]

Manages Complexity

DSM lets application code use common logical data without explicitly describing each interprocessor message. The runtime still has to coordinate remote access, copies, updates, and visibility. Comparing the programmer's simpler view with that hidden work exposes where costs and guarantees come from.[1][2]

In the studied SVM, page placement can cause contention when unrelated variables share a page. Orca's object unit changes that tradeoff: operations and sharing are defined at the object level. The concept groups both under a shared-data question without erasing their different costs.[1]

Abstract Reasoning

To assess a system, ask whether data is physically split among memories, whether processes operate on logically common data rather than only exchange explicit copies, and what rule controls the visibility of those operations. Removing the shared-data interface turns the model into explicit messaging or remote storage; removing the cross-node visibility rule leaves the shared-memory promise unspecified.[1]

Changing pages to typed objects can preserve DSM because the three roles remain. It does not preserve every SVM-specific claim about flat addresses, page faults, or false sharing. The distinction supports careful transfer of an idea across implementations.

Knowledge Transfer

The useful transferable reasoning within computing is to separate a stable shared-data operation surface from its changing distributed machinery. Both SVM and Orca hide implementation details behind declared operations, but their contract details differ. The broader bounded-exchange pattern belongs to the Interface Prime; the DSM name remains specific to computer memory and distributed runtime semantics.[1][2]

Example

In shared virtual memory, processes on loosely coupled processors use one virtual address space divided into pages. The studied system coordinates page placement, rights and coherent reads and writes. The physical memories are separate, the common address space is the logical interface, and page maintenance provides the visibility rule.[1]

In Orca, processes on different machines share typed data objects. They invoke each object's declared operations rather than load or store arbitrary flat-address words. The cited implementation keeps local replicas and broadcasts writes in an agreed order. The same three DSM roles are present, while the access unit and maintenance mechanism differ from SVM.[1][2]

Relationships to Other Abstractions

Local relationship map for Distributed shared memoryParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Distributedshared memoryDOMAINPrime abstraction: Interface — includesInterfacePRIME

Current abstraction Distributed shared memory Domain-specific

Parents (1) — outgoing typed relations

  • Distributed shared memory includes Interface Prime

    Every DSM programming model contains a bounded shared-data access interface that hides its distributed implementation behind declared operation and visibility rules.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Distributed shared memory sits in a sparse region of the domain-specific corpus (84th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Concurrency & Parallel Computation (35 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

Not to Be Confused With

Physical shared memory lets processors directly access a common memory carrier; DSM maintains a logical view across physically separate ones. Shared virtual memory is one page-based DSM approach, not the full class. Non-uniform memory access names locality-dependent hardware access costs. Distributed data storage need not offer a shared-memory programming interface. Orca's checkpoint and rollback machinery is described in one cited paper but is not a defining DSM requirement.[1][2]

References

[1] Willem G. Levelt, M. Frans Kaashoek, Henri E. Bal, and Andrew S. Tanenbaum, “A Comparison of Two Paradigms for Distributed Shared Memory,” Software: Practice and Experience 22, no. 11 (1992): 985–1010, doi:10.1002/spe.4380221105. Abstract and sections 1–2, author-hosted PDF pp. 1–4. https://www.cs.vu.nl/~ast/Publications/Papers/spe-1992.pdf registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g ↩h ↩i ↩j ↩k ↩l

[2] M. Frans Kaashoek, Raymond Michiels, Henri E. Bal, and Andrew S. Tanenbaum, “Transparent Fault-Tolerance in Parallel Orca Programs,” Proceedings of the Symposium on Experiences with Distributed and Multiprocessor Systems III (1992), 297–312. Sections 2.1–2.2, author-hosted PDF pp. 3–4. The paper's fault-tolerance design is not treated as part of the DSM identity. https://www.cs.vu.nl/~ast/Publications/Papers/sedms-1992.pdf registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g