CG-OoO: Energy-Efficient Coarse-Grain Out-of-Order Execution

Milad Mohammadi, Tor M. Aamodt, William J. Dally

TL;DR

This paper introduces the Coarse-Grain Out-of-Order (CG-OoO) processor architecture, which aims to achieve the performance of traditional Out-of-Order (OoO) processors while consuming significantly less energy. By processing code in larger blocks and employing a hierarchical scheduling and register file system, CG-OoO reduces energy consumption by over 50% compared to baseline OoO designs.

What Problem Does This Paper Address?

Modern processors have become increasingly complex and power-hungry, largely due to the energy demands of Out-of-Order (OoO) execution. While OoO architectures provide high performance by dynamically reordering instructions to hide latencies, this flexibility comes at a substantial energy cost. Studies indicate that a significant portion of this excess energy is attributed to instruction-level speculation and dynamic scheduling. The challenge is to maintain the performance benefits of OoO execution without incurring its prohibitive energy overhead. This paper questions the inherent energy efficiency of the OoO model and proposes an alternative that bridges the performance-energy gap between In-Order (InO) and OoO processors.

Methods

The core of the CG-OoO architecture is its coarse-grain, block-level execution model. Instead of processing instructions individually, CG-OoO groups them into blocks. This block-level granularity is applied across several pipeline stages:

  • Block-Level Speculation: Control speculation and fetch operations are performed at the block level, reducing the overhead of individual instruction speculation. A special head instruction signals the start of a new block and aids in block-level control speculation.
  • Hierarchical Instruction Scheduling: CG-OoO combines static instruction scheduling (performed by the compiler) with a limited dynamic scheduler. Static scheduling optimizes predictable instruction sequences within blocks, while a Skipahead scheduler allows limited out-of-order issue within a block to handle unpredictable stalls.
  • Hierarchical Register File: A multi-level register file system is employed, with small, energy-efficient Local Register Files (LRFs) for block-local data and a segmented Global Register File (GRF) for inter-block communication. This reduces data movement and access energy.
  • Complexity-Effective Design: The architecture eliminates unnecessary accesses to large, energy-consuming tables by using smaller, distributed tables and optimizing pipeline stages for energy efficiency.

Datasets

The evaluation uses the SPEC Int 2006 benchmarks for performance and energy analysis. No new benchmarks were introduced.

Key Insights and Ideas

  • Block-level granularity is key: Processing instructions in larger chunks (blocks) rather than individually is the fundamental enabler of CG-OoO's energy efficiency. This simplifies many pipeline stages and reduces speculative overhead.
  • Hybrid scheduling is effective: Combining static compiler-based scheduling with a limited dynamic "Skipahead" scheduler strikes a balance between predictable optimization and handling dynamic events, leading to both performance and energy gains.
  • Hierarchical register files pay off: The LRF/GRF hierarchy significantly reduces register file access energy by localizing data and segmenting the global file.
  • Energy is distributed: The paper highlights that OoO's excess energy is spread across all pipeline stages, necessitating a holistic approach to energy reduction, which CG-OoO aims to provide.
  • Energy-performance proportionality: The CG-OoO architecture exhibits energy-performance proportionality, meaning its energy consumption scales predictably with its resource complexity.

Key Results

  • CG-OoO achieves the performance of a baseline Out-of-Order (OoO) processor.
  • It consumes over 50% less energy than the baseline OoO processor across all SPEC Int 2006 benchmarks.
  • The energy-delay product inverse (a measure of energy efficiency) is 1.9x better for CG-OoO compared to OoO on average.
  • Specific pipeline stages show significant energy savings:
  • Branch Prediction: 53% more energy efficient.
  • Register Rename: 23% average reduction.
  • Register File Access: 94% more efficient overall (LRF: 25x smaller per-access energy, GRF: 68% reduction due to segmentation).
  • Instruction Scheduling (Issue Stage): 84% more efficient.
  • Block Re-Order Buffer (BROB): 76% average saving due to a 10x smaller buffer.

Limitations and Future Work

  • Compiler Dependence: The effectiveness of CG-OoO relies on compiler optimizations for static scheduling and code clustering. While the paper states it requires no profiling, the compiler's role is crucial.
  • Performance Trade-offs: While CG-OoO achieves OoO performance, some configurations with fewer execution units per cluster might offer lower performance than the OoO baseline, albeit with much higher energy efficiency.
  • Future Work: The authors suggest exploring checkpoint-based processing for further energy efficiency gains and investigating the "energy-performance point" where increasing resource complexity might break the proportionality. They also mention that techniques from other energy-efficient designs could further enhance CG-OoO.

Summary updated

Abstract

We introduce the Coarse-Grain Out-of-Order (CG- OoO) general purpose processor designed to achieve close to In-Order processor energy while maintaining Out-of-Order (OoO) performance. CG-OoO is an energy-performance proportional general purpose architecture that scales according to the program load. Block-level code processing is at the heart of the this architecture; CG-OoO speculates, fetches, schedules, and commits code at block-level granularity. It eliminates unnecessary accesses to energy consuming tables, and turns large tables into smaller and distributed tables that are cheaper to access. CG-OoO leverages compiler-level code optimizations to deliver efficient static code, and exploits dynamic instruction-level parallelism and block-level parallelism. CG-OoO introduces Skipahead issue, a complexity effective, limited out-of-order instruction scheduling model. Through the energy efficiency techniques applied to the compiler and processor pipeline stages, CG-OoO closes 64% of the average energy gap between the In-Order and Out-of-Order baseline processors at the performance of the OoO baseline. This makes CG-OoO 1.9x more efficient than the OoO on the energy-delay product inverse metric.
BibTeX
@misc{mohammadi2016cg,
  author = {Milad Mohammadi and Tor M. Aamodt and William J. Dally},
  title = {{CG-OoO: Energy-Efficient Coarse-Grain Out-of-Order Execution}},
  year = {2016},
  eprint = {1606.01607},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1606.01607},
}

Loading related content...

Figure