Skip to main navigation Skip to search Skip to main content

Compiler-Directed Constant Execution Time on Flat Memory Systems

  • TU Wien

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Abstract

Time predictability is a central requirement for real-time systems. The correct behavior of such a system can only be achieved if the results of programs are ready in time to affect the environment. Execution times of modern systems can vary for many reasons, meaning complex analyses must be performed to ensure that the execution time is bounded and that a task always finishes before its deadline. Care must also be taken to ensure that nefarious actors do not exploit the varying execution time to compromise the system’s integrity. Avoiding variable execution times can greatly simplify systems, is inherently more secure, and eliminates the need for complex analyses.
In this paper, we first argue for the value of having programs with constant execution times. We then show how the memory system around a processing core can affect execution times even on systems without intermediate storage like caches or scratch-pads. We present automatic compiler techniques for generating constant execution time programs and evaluate their implementation on the Patmos architecture. We show that combining our two compensation techniques is generally superior to either on their own. We compare the performance of our implementation to the estimates produced by the Platin worst-case execution time analyzer. While our implementation significantly impacts performance, it is generally manageable and has the potential for comparable execution times.
Original languageEnglish
Title of host publicationProceedings of the 2023 IEEE 26th International Symposium on Real-Time Distributed Computing (ISORC)
PublisherIEEE
Publication date2023
Pages64-75
ISBN (Print)979-8-3503-3903-1
ISBN (Electronic)979-8-3503-3902-4
DOIs
Publication statusPublished - 2023
Event2023 IEEE 26th International Symposium on Real-Time Distributed Computing - Nashville, TN, USA, Nashville, United States
Duration: 23 May 202325 May 2023

Conference

Conference2023 IEEE 26th International Symposium on Real-Time Distributed Computing
LocationNashville, TN, USA
Country/TerritoryUnited States
CityNashville
Period23/05/202325/05/2023

Keywords

  • Real-time systems
  • Time-predictable computer architecture
  • Single-path
  • Constant execution time

Fingerprint

Dive into the research topics of 'Compiler-Directed Constant Execution Time on Flat Memory Systems'. Together they form a unique fingerprint.

Cite this