Toward Scalable Parallel Software: An Active Object Model and Library to Support von Neumann Languages

George K. ThiruvathukalLoyola 1994

Abstract

Scalable parallel processing has been proposed as the technology scientists and engineers can use today to solve the problems of tomorrow. Many computational Grand Challenge problems require between two and three orders of magnitude than can be provided with the scalable parallel hardware of the early nineteen-nineties. While hardware continues to become more scalable and cheaper, software is not advancing at the same pace and remains a very expensive part of systems development. A great deal of emphasis on software technology to support scalable parallel processing is placed on von Neumann languages. One of two approaches is common: (a) augment the von Neumann language with explicit parallel constructs or (b) write super-optimizing compilers to “find ” the parallelism in a von Neumann program. These two approaches appear to be useful at some level; however, this paper argues that software constructed using these approaches is not likely to scale very well, because an appropriate level of abstraction is not being used to solve the problem. We propose a simple layered architecture for doing parallel processing. The outer layer is the composition layer. This layer is used from a von Neumann language to encode algorithms using standard building blocks (objects). The middle layer uses objects. These objects exhibit high potential for parallelism. In our application, we focus on multidimensional arrays. At the lowest level, Itinerant Actors is used. Itinerant Actors is an object model developed by Christopher and Thiruvathukal at IIT to support asynchronous message-passing between active objects with a number of other useful ideas.

Introduction

In the early 1990s, the field of high-performance computing faced a significant divergence: while parallel hardware was scaling rapidly, software development remained tethered to the "von Neumann bottleneck." This gap created what the authors describe as a "software crisis." While massive clusters were becoming more accessible, the cost and complexity of writing software to utilize them efficiently remained prohibitively high.

The core of this issue lies in artificial complexity. Scientists and engineers are often forced to abandon the mathematical foundations of their algorithms to manage low-level system mechanics, such as message-passing libraries, memory layouts, and compiler pragmas. Existing solutions generally fall into two categories: augmenting languages with explicit parallel constructs or relying on super-optimizing compilers to automatically detect parallelism. The authors argue that neither approach provides the necessary level of abstraction to address "Grand Challenge" problems effectively.

Proposed Layered Architecture

To bridge the gap between sequential programming and scalable parallel execution, the paper introduces a three-layer architecture designed to separate algorithmic intent from execution mechanics:

  1. Composition Layer (Outer): This layer utilizes standard von Neumann languages, such as C++, to encode algorithms using high-level building blocks or objects.
  2. Object Layer (Middle): This layer focuses on objects with high intrinsic parallel potential. In the context of this research, the focus is primarily on multidimensional arrays, which are fundamental to scientific computation.
  3. Itinerant Actors Layer (Lowest): This is the execution engine based on the Actor model. It facilitates asynchronous message-passing between "Active Objects," providing a robust foundation for concurrency.

Technical Components: Itinerant Actors and Macro-Dataflow

The architectural foundation rests on the Itinerant Actors model, developed at the Illinois Institute of Technology (IIT). This model integrates the Actor model with "Memo," a coordination model that decouples the "Mailbox" (where messages reside) from the "Actor" (the processing code). This decoupling allows for highly flexible synchronization, supporting both synchronous (blocking) and asynchronous (non-blocking) coordination.

The system implements Macro-Dataflow rather than instruction-level dataflow. In this paradigm, the execution of entire objects or tasks is triggered once their required data (messages) arrive in their mailboxes. To maintain high performance, the system uses unique IDs and bit-vectors for message pattern matching, enabling task triggering in constant time—a critical requirement for efficient dataflow execution.

Practical Implementation: The TLC Library

Recognizing that developers are often resistant to adopting entirely new programming languages, the authors developed TLC (Tools, Libraries, and Catalogues). TLC is a C++ class library that implements these architectural concepts, offering a pragmatic "evolutionary" path. It enables "object-brokering," allowing parallel capabilities to be integrated into familiar sequential codebases without requiring a complete paradigm shift.

At the time of publication, a parallel version of the library called DOPPLER was under development at Argonne National Laboratory. DOPPLER was designed to abstract heterogeneous computing environments, specifically targeting high-performance platforms like the IBM SP-X.

Insights and Future Directions

The authors contend that an object-oriented methodology is the most effective way to prevent underlying algorithms from being lost in low-level system details. By decoupling mailboxes from actors, the framework simplifies the implementation of complex structures such as I-structures and Futures.

While early implementations were primarily sequential—intended for the design and testing of parallel algorithms—the authors reported that for appropriate computational granularities, the dataflow solution achieved near-linear speedup. Future work suggested a move toward CORBA (Common Object Request Broker Architecture) to allow diverse procedural and functional languages to manipulate parallel active objects. However, the authors acknowledged that debugging and comprehending parallel algorithms remains a significant challenge that the framework helps manage but does not entirely solve.

Summary updated

BibTeX
@inproceedings{thiruvathukal1994toward,
  author = {George K. Thiruvathukal},
  title = {{Toward Scalable Parallel Software: An Active Object Model and Library to Support von Neumann Languages}},
  booktitle = {Loyola},
  year = {1994},
}
Figure