Influence of Memory Hierarchies on Predictability for Time Constrained Embedded Software
Lars Wehmeyer, Peter Marwedel

TL;DR
This paper compares the impact of caches and scratchpad memories on the predictability and worst-case execution time analysis of safety-critical embedded systems, highlighting the advantages of scratchpad memories for maintaining predictability.
Contribution
It demonstrates that scratchpad memories provide predictable WCET estimates with performance benefits, unlike caches which complicate analysis and can negatively affect predictability.
Findings
Caches can negatively impact WCET predictability.
Scratchpad memories scale WCET estimates with performance gains.
Scratchpads offer predictable WCET analysis comparable to caches' performance benefits.
Abstract
Safety-critical embedded systems having to meet real-time constraints are expected to be highly predictable in order to guarantee at design time that certain timing deadlines will always be met. This requirement usually prevents designers from utilizing caches due to their highly dynamic, thus hardly predictable behavior. The integration of scratchpad memories represents an alternative approach which allows the system to benefit from a performance gain comparable to that of caches while at the same time maintaining predictability. In this work, we compare the impact of scratchpad memories and caches on worst case execution time (WCET) analysis results. We show that caches, despite requiring complex techniques, can have a negative impact on the predicted WCET, while the estimated WCET for scratchpad memories scales with the achieved Performance gain at no extra analysis cost.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsReal-Time Systems Scheduling · Parallel Computing and Optimization Techniques · Embedded Systems Design Techniques
