NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Merrimac: Supercomputing with Streams

William J. Dally, Francois Labonte, Abhishek Das, Pat Hanrahan, Jung Ho Ahn, Jayanth Gummaraju, Mattan Erez, Nuwan Jayasena, Ian Buck, Timothy J. Knight, Ujval J. KapasiSC 2003

TL;DR

This paper introduces Merrimac, a novel supercomputing architecture designed to achieve significantly higher performance per unit cost by leveraging "stream processing." By organizing computations into streams and exploiting data locality through a deep register hierarchy, Merrimac drastically reduces memory bandwidth requirements, allowing for more arithmetic units per dollar and leading to more cost-effective and reliable systems.

What Problem Does This Paper Address?

Modern semiconductor technology has made arithmetic operations incredibly cheap, while memory bandwidth remains a significant bottleneck and a major power consumer. Traditional computer architectures struggle to fully utilize the abundance of cheap arithmetic units due to this bandwidth limitation. This paper addresses the challenge of building high-performance computing systems that can effectively exploit the low cost of arithmetic by minimizing the demand on expensive memory bandwidth. The authors propose a new architectural paradigm, stream processing, to achieve this by maximizing "arithmetic intensity" (the ratio of arithmetic operations to memory bandwidth) and exploiting data locality.

Methods

The core of Merrimac is its stream processor architecture. This architecture is built around a register hierarchy designed to exploit data locality at multiple levels:

  • Local Register Files (LRFs): These are adjacent to functional units (like FPUs) and handle short-term producer-consumer locality, allowing for very fast, on-chip data movement.
  • Stream Register File (SRF): This acts as a larger buffer that stages entire streams of data from memory. It handles longer-term producer-consumer locality and allows software to hide long memory latencies by overlapping stream data transfers with computation.

This hierarchy significantly reduces the need for frequent accesses to main memory. Merrimac also employs a high-radix interconnection network (specifically a folded Clos network) to connect multiple nodes, providing a flat shared address space with a relatively consistent bandwidth across the system. The paper also discusses the development of stream programming models and the use of compilers to partition applications into kernels and manage data movement within the stream architecture.

Datasets

Not discussed in the paper. The paper focuses on evaluating the Merrimac architecture using three representative scientific applications: StreamFEM, StreamMD, and StreamFLO. These applications were coded as stream programs and run on a cycle-accurate simulator of a Merrimac node.

Key Insights and Ideas

  • Arithmetic is Cheap, Bandwidth is Expensive: This fundamental shift in VLSI costs is the driving force behind the Merrimac design. Architectures must adapt to this reality to achieve cost-effective high performance.
  • Locality is King: By organizing computations into streams and using a deep register hierarchy (LRFs and SRF), Merrimac can keep data close to the processing units, drastically reducing the need for off-chip memory accesses.
  • Stream Processing as a Solution: This paradigm exposes parallelism and locality in a way that is well-suited to modern VLSI capabilities, enabling a higher arithmetic intensity.
  • Cost-Effectiveness: The design aims to deliver significantly more performance per dollar compared to traditional cluster-based systems by making better use of expensive bandwidth.
  • Scalability: The architecture is designed to scale from a single-node workstation to a large supercomputer, with a consistent design philosophy.

Key Results

  • Order of Magnitude Bandwidth Reduction: Application experiments showed that less than 1.5% of data references traveled off-chip, with over 95% of data movement occurring on local wires (LRFs).
  • High Arithmetic Intensity: The scientific applications achieved computation-to-memory ratios ranging from 7:1 to 50:1.
  • Significant Fraction of Peak Performance: Applications sustained between 18% and 52% of the simulated node's peak performance.
  • Cost Projections: The paper projects a cost of less than $1K per 128 GFLOPS node, translating to approximately $6 per GFLOPS of peak performance.
  • Scalable System: Merrimac is designed to scale to 2 PFLOPS with 8K nodes.

Limitations and Future Work

  • Manual Restructuring: The initial experiments involved manually restructuring scientific applications into stream programs. The authors acknowledge the need for automated compilation methods to partition existing vectorized or parallelized code into kernels for stream processing.
  • Kernel Optimization: Future work includes developing compilation techniques to automatically split and merge kernels, and reschedule kernels and memory operations to optimize data staging through the SRF.
  • Alternative SRF Organizations: The authors are exploring alternative SRF designs for further reductions in memory bandwidth requirements.
  • Cache Integration: Investigating how to best use a cache in conjunction with a stream register file is an area of future research.
  • Global Communication and Synchronization: Further research is needed on global communication and synchronization mechanisms suitable for streams.
  • 3D Codes and Multi-Node Simulations: Initial experiments used 2D codes on a single node. The authors plan to explore larger, more complex 3D codes running across multiple nodes.

Summary updated

BibTeX
@inproceedings{dally2003merrimac,
  author = {William J. Dally and Francois Labonte and Abhishek Das and Pat Hanrahan and Jung Ho Ahn and Jayanth Gummaraju and Mattan Erez and Nuwan Jayasena and Ian Buck and Timothy J. Knight and Ujval J. Kapasi},
  title = {{Merrimac: Supercomputing with Streams}},
  booktitle = {SC},
  year = {2003},
  doi = {10.1145/1048935.1050187},
}
Figure