Skip to main navigation Skip to search Skip to main content

Eager stack cache memory transfers

  • ENSTA ParisTech
  • Université Paris-Saclay

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

Abstract

The growing complexity of modern computer architectures increasingly complicates the prediction of the run-time behavior of software. For real-time systems, where a safe estimation of the program's worst-case execution time is needed, time-predictable computer architectures promise to resolve this problem. The stack cache, for instance, allows the compiler to efficiently cache a program's stack, while static analysis of its behavior remains easy. This work introduces an optimization of the stack cache that allows to anticipate memory transfers that might be initiated by future stack cache control instructions. These eager memory transfers thus allow to reduce the average-case latency of those control instructions, very similar to "prefetching" techniques known from conventional caches. However, the mechanism proposed here is guaranteed to have no impact on the worst- case execution time estimates computed by static analysis. Measurements on a dual-core platform using the Patmos processor and time-division-multiplexing-based memory arbitration, show that our technique can eliminate up to 62% (7%) of the memory transfers from (respectively to) the stack cache on average over all programs of the MiBench benchmark suite.

Original languageEnglish
Title of host publication16th International Workshop on Worst-Case Execution Time Analysis, WCET 2016
EditorsMartin Schoeberl
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Pages5.1-5.11
ISBN (Electronic)9783959770255
DOIs
Publication statusPublished - 1 Dec 2016
Externally publishedYes
Event16th International Workshop on Worst-Case Execution Time Analysis, WCET 2016 - Toulouse, France
Duration: 5 Jul 2016 → …

Publication series

NameOpenAccess Series in Informatics
Volume55
ISSN (Print)2190-6807

Conference

Conference16th International Workshop on Worst-Case Execution Time Analysis, WCET 2016
Country/TerritoryFrance
CityToulouse
Period5/07/16 → …

Keywords

  • Eager eviction
  • Eager memory transfers
  • Predictability
  • Prefetching
  • Real-time systems
  • Stack cache

Fingerprint

Dive into the research topics of 'Eager stack cache memory transfers'. Together they form a unique fingerprint.

Cite this