BRYT: Data Rich Analytics Based Computer Architecture for A New Paradigm of Chip Design to Supplant Moore's Law

Ian McDougall, Shayne Wadle, Harish Batchu, Michael Davies, Karthikeyan SankaralingamarXiv 2023 · DOI

Abstract

Modern silicon design faces a transparency crisis; once a chip is manufactured, its internal microarchitectural behaviors become a "black box" to architects and developers. This paper introduces the Introspection Processing Unit (IPU), a programmable, low-overhead RISC-V core embedded within hardware modules to provide real-time, cycle-level visibility. Occupying less than 1% area and power overhead, the IPU enables post-silicon A/B testing and fine-grained performance debugging, bridging the gap between hardware design and real-world software execution.

Introduction: The Transparency Crisis in Modern Silicon

As chip designs grow in complexity, the ability to observe and debug them in real-world environments has diminished. Traditional Performance Monitoring Units (PMUs) offer only coarse, fixed counters that fail to explain why specific performance bottlenecks occur. This lack of visibility prevents hardware architects from performing A/B testing on live silicon and leaves software developers guessing at microarchitectural interactions. The Introspection Processing Unit (IPU) addresses these hurdles by providing a programmable framework for deep hardware visibility.

The Introspection Processing Unit (IPU) Architecture

The IPU is designed as a modular framework where small, programmable processors are embedded next to critical Hardware-module Introspection Targets (HITs).

IPU Architecture and Organization showing the RISC-V core, soft-logic, and interface.

The architecture consists of two primary variants:

  • IPUlite: A streamlined version utilizing a simple RISC-V (RV32I) core with built-in primitives for tasks like histogram generation and loop counting.
  • IPUpro: An enhanced version that integrates "soft-logic" (a lightweight eFPGA). This allows the IPU to handle high-speed state machine transitions and complex logic that would exceed the cycle-by-cycle processing capabilities of a standard RISC-V core.

Each IPU monitors up to 32 internal signals from its associated HIT. To the host system, the IPU appears as a standard PCIe device, running "introspection binaries"—small programs deployed post-manufacture to analyze hardware signals and return condensed summaries via a logical FIFO.

Evaluation and Key Results

The IPU was evaluated using RTL implementations synthesized in a 7nm process and architectural simulators (Gem5, Champsim, AccelSim) across various workloads, including SPECCPU and AI/GPU traces.

Negligible Overhead and High Fidelity

Physical synthesis shows that an IPUpro adds a mere 0.22 mm² of area (approximately 0.7% overhead for a typical CPU core) and consumes less than 25mW. Despite this small footprint, the IPU provides high-fidelity insights. In studies emulating new hardware prefetchers, the IPU's predictions were within 1.8% of full-scale hardware simulations.

Box plots showing the percent error for Miss, Coverage, and Accuracy metrics, demonstrating high fidelity.

Advanced Debugging and Optimization

The IPU enables "impossible" tasks such as generating Per-Instruction Cycle Stacks (PICS) in the field. This allows developers to pinpoint specific instructions causing stalls due to cache misses or branch mispredictions. Furthermore, in GPU workloads, the IPU identified underutilization between SIMT and Tensor cores, suggesting significant opportunities for future hardware-software co-optimization.

Limitations and Future Directions

While the IPU is highly programmable, its visibility is limited to the 32 signals wired during design time. Future work aims to automate signal selection to maximize utility. Additionally, while the IPU is a "one-way mirror" that cannot inject signals into the main logic, the high level of detail it provides necessitates robust security policies and code signing to mitigate potential side-channel information leaks.

Conclusion

The IPU represents a shift from fixed-function hardware monitoring to programmable introspection. By providing deep, real-time visibility with minimal overhead, it empowers architects to refine designs based on actual field data, effectively opening the "black box" of modern silicon.

Summary updated

BibTeX
@misc{mcdougall2023bryt,
  author = {Ian McDougall and Shayne Wadle and Harish Batchu and Michael Davies and Karthikeyan Sankaralingam},
  title = {{BRYT: Data Rich Analytics Based Computer Architecture for A New Paradigm of Chip Design to Supplant Moore's Law}},
  year = {2023},
  eprint = {2312.13428},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.13428},
}
Figure