QoS-Aware Dynamic Frequency Scaling for Mixed-Critical Systems based on Shielded Reinforcement Learning

Florian Maurer, Michael Meidinger, Yiming Lu, Thomas Hallermeier, Anmol Surhonne, Thomas Wild, Andreas Herkersdorf

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In recent years, several approaches have proposed dynamic voltage-frequency scaling (DVFS) controllers for power management in multiprocessor system-on-chips based on reinforcement learning (RL) to cope with changing system dynamics. Those implemented in software cannot respond to short-term changes in processor load, which occur at a sub-millisecond scale. On the other hand, modern processors contain various built-in hardware features, like prefetchers, reacting to short-term variations to improve system performance. Previously, we integrated such an RL-based DVFS algorithm into the hardware and applied it to optimize the performance of best-effort tasks. In this work, we augment it with preemptive shielding and eligibility traces to employ it on deadline-bound quality of service (QoS) tasks. The algorithm takes advantage of short-term variations to minimize power usage while ensuring the application's QoS. Additionally, our algorithm complies with the power constraints necessary in mixed-critical systems unlike state-of-the-art algorithms. We demonstrate the features of our algorithm in a hardware-in-the-loop simulation by running LLVM's single-source benchmarks on SparcV8 processors.

Original languageEnglish
Title of host publication2024 IEEE Nordic Circuits and Systems Conference, NORCAS 2024 - Proceedings
EditorsJari Nurmi, Joachim Rodrigues, Luca Pezzarossa, Viktor Aberg, Baktash Behmanesh
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798331517663
DOIs
StatePublished - 2024
Event10th IEEE Nordic Circuits and Systems Conference, NORCAS 2024 - Lund, Sweden
Duration: 29 Oct 202430 Oct 2024

Publication series

Name2024 IEEE Nordic Circuits and Systems Conference, NORCAS 2024 - Proceedings

Conference

Conference10th IEEE Nordic Circuits and Systems Conference, NORCAS 2024
Country/TerritorySweden
CityLund
Period29/10/2430/10/24

Keywords

  • DFS
  • FPGA
  • Hardware
  • MPSoC runtime management
  • Optimization
  • Reinforcement learning
  • Self-awareness

Fingerprint

Dive into the research topics of 'QoS-Aware Dynamic Frequency Scaling for Mixed-Critical Systems based on Shielded Reinforcement Learning'. Together they form a unique fingerprint.

Cite this