Docsity

OS Power Management: Minimizing Consumption via Processor Resource Adaptation, Slides of Computer Architecture and Organization

Partial preview of the text

Download OS Power Management: Minimizing Consumption via Processor Resource Adaptation and more Slides Computer Architecture and Organization in PDF only on Docsity!

Operating System Power

Minimization Trough

Run-Time Processor Resource

Adaptation

Index

  • Introduction
  • Experimental Methodology
  • OS Performance Analysis
  • Sampling Based Adaptation
  • OS-aware Routine Based Adaptation
  • Power Savings and Performance Evaluation
  • Conclusion

Introduction

  • Previous studies focused on reducing power

for user-only applications.

  • Power saving and optimization for the OS

itself has received little attention.

  • OS draws 32% of the total energy
  • Adaptation of processor resources to reduce

OS power consumption provides significant efficiency.

Introduction

  • OS manages both hardware and software

resources.

  • Hardware can be dynamically adapted to

provide appropriate resources to the program’s computational demand to reduce power consumption.

Introduction

  • Advantages of the proposed method;
    • OS-aware resource adaptation guarantees the timely and fine-grained resolution required to capture the exception-driven, short-lived OS activity.
    • Adapting processor resources only at OS routine boundaries largely eliminates reconfiguration latency.
    • Routine based adaptation selects the optimal configuration for each individual routine, yielding a more attractive power and performance trade-off.
    • Aggressive optimizations can be safely applied to certain OS routines to further save energy without degrading performance.

Introduction

  • Contributions:
    • Employing a full-system power simulation framework which profiles the power behavior of a commercial operating system across a wide range of applications.
    • Analysis of performance/power trade-offs at the OS service routine level to identify power saving opportunities in the OS.
    • A novel mechanism that allows the microprocessor to adapt its resources to OS execution for power saving without incurring significant overhead.

Experimental Methodology

Experimental Methodology

OS Performance Analysis

  • The processor spends 41% of its time on the

OS

  • The OS draws 32% of the total energy,
  • These make it a major power consumer.
  • This implies that overlooking the OS effect can

cause significant software energy estimation error.

OS Performance Analysis

OS Performance Analysis

  • IPC of user and OS on an eight-issue machine.

OS Performance Analysis

  • An eight-issue superscalar processor can be reconfigured to six-issue, four- issue, two-issue and one-issue modes by reducing its computational capacity.
  • Previous studies observe that power consumption of a high-performance superscalar machine is largely determined by the instruction issue width and the scale of major microarchitectural structures. - instruction window (IW) - reorder buffer (ROB) - load store queue (LSQ)
  • Example for six-issue;
    • we limit the instruction fetch, decode, issue and retire width to be six and disable 1/4 of the IW, ROB and LSQ entries.

Sampling Based Adaptation

  • Program execution cycles are partioned into fixed period intervals.
  • The duration between each window is called sampling window.
  • The performance metrics are measured within a sampling window is used to estimate the program computation demand for next interval.

Sampling Based Adaptation

  • Current sampling-adaptation approaches use a finite state machine(FSM) to specify the transitions between different configurations.