Accommodating Heterogeneity

John Zahorjan, Edward D. Lazowska, Henry M. Levy, David Notkin, Jan SanisloExperiences With Distributed Systems 1987

Abstract

The Heterogeneous Computer Systems (HCS) project at the University of Washington presents a software infrastructure designed to bridge diverse computing environments. Unlike "coherence" projects that enforce a single operating system or protocol, HCS employs modular emulation techniques for Remote Procedure Calls (RPC) and naming services. This approach allows specialized hardware—ranging from Lisp workstations to VAX clusters—to interoperate and share high-level services like filing and mail while preserving their unique native strengths.

Introduction

By the late 1980s, research environments were increasingly characterized by a "loose interconnection" of fragmented hardware and software architectures. While specialized systems (e.g., for symbolic logic or image processing) offered significant advantages, their isolation created three primary challenges: user inconvenience, high expense due to unshared resources, and diminished engineering effectiveness as developers spent more time on "hacks" than on core research.

Existing solutions were often insufficient. Low-level protocols like TCP/IP were too difficult for general application development, while large-scale "coherence" projects (such as MIT’s Project Athena) attempted to mask heterogeneity by forcing a uniform operating system (UNIX). The HCS project proposes an alternative: loose integration through shared network services that accommodate, rather than eliminate, diversity.

System Architecture

The HCS architecture is built upon two foundational "underlying facilities" that support high-level network services such as filing, mail, and remote computation.

Figure 1: The HCS architecture showing high-level network services built upon underlying facilities.

Heterogeneous Remote Procedure Call (HRPC)

Rather than mandating a single RPC protocol, HRPC utilizes a modular design. It decomposes the RPC mechanism into five components, including transport, control, and data representation. By swapping these "black box" modules, an HRPC client can dynamically emulate a server's native RPC protocol (e.g., Sun RPC or Xerox Courier) at bind-time.

Heterogeneous Name Service (HNS)

HNS provides a global namespace by acting as a meta-directory. It does not store all naming data itself; instead, it utilizes Name Semantics Managers (NSMs). These are remote procedures capable of interpreting the specific formats of local naming services like BIND or Clearinghouse.

Remote Computation (THERE)

The THERE facility enables task execution on remote machines. It uses the THERE Programming Language (TPL) to describe the environment, command options, and file requirements necessary to run jobs on foreign systems, significantly reducing the amount of boilerplate code required for cross-platform execution.

Performance and Results

The HCS project was evaluated using a variety of systems, including Xerox Dandelion workstations, Sun workstations, and VAX clusters. Benchmarking focused on the overhead of the modular HRPC system compared to native implementations using two primary programs: NULL (parameterless call) and BYTES (transfer of a 37,000-character string).

Figure 3: Performance comparison of native RPC facilities versus HRPC emulation.

As shown in Figure 3, the performance of HRPC is essentially identical to native facilities. For example, an HRPC call emulating Sun RPC took 28ms, nearly matching the 27ms required by the native Sun implementation. This demonstrates that the flexibility of modular emulation does not come at a significant performance cost.

In the naming service (HNS), lookups with a cache hit ranged from 104ms to 181ms. While slower than a local BIND lookup (~27ms), these times were comparable to established enterprise services like Xerox Clearinghouse (~156ms). A key finding was that caching proved more critical than physical colocation; a remote cache hit was significantly faster than a local cache miss.

Furthermore, the THERE system demonstrated significant gains in developer productivity. A complex remote ADA compiler service was implemented using only 200 lines of TPL code, despite the underlying client/server agents requiring approximately 9,000 lines of C++.

Discussion and Conclusion

The HCS project demonstrates the viability of "emulation over legislation." By delaying binding decisions as late as possible, the system remains flexible enough to incorporate new architectures without requiring recompilation of existing code. Furthermore, by pushing complex logic to servers, the infrastructure allows even "weak" or simple client systems to participate in the network.

While the authors noted limitations regarding "semantic heterogeneity" in filing services—where the lack of type information occasionally required manual intervention—the HCS approach proves that heterogeneous computing environments can be integrated effectively without sacrificing the specialized features of individual systems. Through modular underlying facilities and a focus on emulation, HCS provides a scalable model for resource sharing in diverse research and engineering landscapes.

Reference: Zahorjan, J., Lazowska, E. D., Levy, H. M., Notkin, D., & Sanislo, J. (1988). Accommodating Heterogeneity. University of Washington.

Summary updated

BibTeX
@inproceedings{zahorjan1987accommodating,
  author = {John Zahorjan and Edward D. Lazowska and Henry M. Levy and David Notkin and Jan Sanislo},
  title = {{Accommodating Heterogeneity}},
  booktitle = {Experiences With Distributed Systems},
  year = {1987},
  doi = {10.1007/3-540-19333-2\_5},
}
Figure