Efficient context switching for the stack cache: Implementation and analysis

Sahar Abbaspour, Florian Brandner, Amine Naji, Mathieu Jan

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

Abstract

The design of tailored hardware has proven a successful strategy to reduce the timing analysis overhead for (hard) real-time systems. The stack cache is an example of such a design that has been proven to provide good average-case performance, while being easy to analyze. So far, however, the analysis of the stack cache was limited to individual tasks, ignoring aspects related to multitasking. A major drawback of the original stack cache design is that, due to its simplicity, it cannot hold the data of multiple tasks at the same time. Consequently, the entire cache content needs to be saved and restored when a task is preempted. We propose (a) an analysis exploiting the simplicity of the stack cache to bound the overhead induced by task preemption and (b) an extension of the design that allows to (partially) hide the overhead by virtualizing stack caches.

Original languageEnglish
Title of host publicationProceedings of the 23rd International Conference on Real Time Networks and Systems, RTNS 2015
PublisherAssociation for Computing Machinery
Pages119-128
Number of pages10
ISBN (Electronic)9781450335911
DOIs
Publication statusPublished - 4 Nov 2015
Externally publishedYes
Event23rd International Conference on Real-Time Networks and Systems, RTNS 2015 - Lille, France
Duration: 4 Nov 20156 Nov 2015

Publication series

NameACM International Conference Proceeding Series
Volume04-06-November-2015

Conference

Conference23rd International Conference on Real-Time Networks and Systems, RTNS 2015
Country/TerritoryFrance
CityLille
Period4/11/156/11/15

Keywords

  • Cache-related preemption delays
  • Program analysis
  • Real-time systems
  • Stack cache

Fingerprint

Dive into the research topics of 'Efficient context switching for the stack cache: Implementation and analysis'. Together they form a unique fingerprint.

Cite this