Implementation and performance of Munin

John B. Carter, John K. Bennett, Willy Zwaenepoel

ACM SIGOPS Operating Systems Review · 1991 · 79 citations · 22 references

Concepts

TL;DR

Munin is a distributed shared memory system that enables efficient execution of shared memory parallel programs on distributed memory multiprocessors, uniquely employing multiple consistency protocols and release consistency. The study evaluates Munin’s implementation and reports on two programs that run within ten percent of equivalent message‑passing versions. Munin annotates shared variables with expected access patterns, and its runtime selects the most suitable consistency protocol, using release consistency with a delayed update queue to mask latency and reduce messages; a sixteen‑processor prototype is operational. Munin attains this performance with only minor annotations to the shared memory programs.

Abstract

Munin is a distributed shared memory (DSM) system that allows shared memory parallel programs to be executed efficiently on distributed memory multiprocessors. Munin is unique among existing DSM systems in its use of multiple consistency protocols and in its use of release consistency. In Munin, shared program variables are annotated with their expected access pattern, and these annotations are then used by the runtime system to choose a consistency protocol best suited to that access pattern. Release consistency allows Munin to mask network latency and reduce the number of messages required to keep memory consistent. Munin's multiprotocol release consistency is implemented in software using a delayed update queue that buffers and merges pending outgoing writes. A sixteen-processor prototype of Munin is currently operational. We evaluate its implementation and describe the execution of two Munin programs that achieve performance within ten percent of message passing implementations of the same programs. Munin achieves this level of performance with only minor annotations to the shared memory programs.

References

22