Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Timing predictability of cache replacement policies

Published: 01 November 2007 Publication History

Abstract

Hard real-time systems must obey strict timing constraints. Therefore, one needs to derive guarantees on the worst-case execution times of a system's tasks. In this context, predictable behavior of system components is crucial for the derivation of tight and thus useful bounds. This paper presents results about the predictability of common cache replacement policies. To this end, we introduce three metrics, evict , fill , and mls that capture aspects of cache-state predictability. A thorough analysis of the LRU, FIFO, MRU, and PLRU policies yields the respective values under these metrics. To the best of our knowledge, this work presents the first quantitative, analytical results for the predictability of replacement policies. Our results support empirical evidence in static cache analysis.

References

[1]
Al-Zoubi H, Milenkovic A, Milenkovic M, (2004) Performance evaluation of cache replacement policies for the SPEC CPU2000 benchmark suite. In: ACM-SE 42: proceedings of the 42nd annual Southeast regional conference, New York, NY, USA. ACM Press, New York, pp. 267-272.
[2]
Belady L, (1966) A study of replacement algorithms for a virtual storage computer. IBM Syst. J 5: 78-101.
[3]
Ferdinand C, Wilhelm R (1999) Efficient and precise cache behavior prediction for real-time systems. Real-Time Syst. 17(2-3): 131-181.
[4]
Freescale Semiconductor Inc (2002) MPC750 RISC Microprocessor User Manual, Section 3.5.1. http: //www.freescale.com/files/32bit/doc/ref_manual/MPC750UM.pdf
[5]
Heckmann R, Langenbach M, Thesing S, Wilhelm R (2003) The influence of processor architecture on the design and the results of WCET tools. Proc IEEE 91(7): 1038-1054.
[6]
Langenbach M, Thesing S, Heckmann R (2002) Pipeline modeling for timing analysis. In: Proceedings of the static analysis symposium (SAS), vol. 2477, Madrid, Spain.
[7]
Malamy A, Patel R, Hayes N (October 1994) Methods and apparatus for implementing a pseudo-LRU cache memory replacement scheme with a locking feature. United States Patent 5029072.
[8]
Sleator D.D, Tarjan R.E. (1985) Amortized efficiency of list update and paging rules. Commun ACM 28(2): 202-208.
[9]
Thesing S, (2004) Safe and precise WCET determinations by abstract interpretation of pipeline models. PhD thesis, Saarland University.
[10]
Thiele L, Wilhelm R, (2004) Design for timing predictability. Real-Time Syst. 28(2-3): 157-177.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Real-Time Systems
Real-Time Systems  Volume 37, Issue 2
November 2007
81 pages

Publisher

Kluwer Academic Publishers

United States

Publication History

Published: 01 November 2007

Author Tags

  1. Cache analysis
  2. Cache replacement policies
  3. Hard real-time systems
  4. Predictability
  5. Timing analysis

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 24 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Measuring Data Access Latency in Large CPU CachesProceedings of the International Symposium on Memory Systems10.1145/3695794.3695806(129-139)Online publication date: 30-Sep-2024
  • (2024)Towards Analysing Cache-Related Preemption Delay in Non-Inclusive Cache HierarchiesACM Transactions on Embedded Computing Systems10.1145/369576824:1(1-37)Online publication date: 10-Sep-2024
  • (2023)Abstract Interpretation in Industry – Experience and Lessons LearnedStatic Analysis10.1007/978-3-031-44245-2_2(10-27)Online publication date: 22-Oct-2023
  • (2022)Observing the Invisible: Live Cache Inspection for High-Performance Embedded SystemsIEEE Transactions on Computers10.1109/TC.2021.306065071:3(559-572)Online publication date: 1-Mar-2022
  • (2021)A generic framework to integrate data caches in the WCET analysis of real-time systemsJournal of Systems Architecture: the EUROMICRO Journal10.1016/j.sysarc.2021.102304120:COnline publication date: 1-Nov-2021
  • (2020)KLEESpectreACM Transactions on Software Engineering and Methodology10.1145/338589729:3(1-31)Online publication date: 1-Jun-2020
  • (2020)Real time spent on real timeCommunications of the ACM10.1145/337554563:10(54-60)Online publication date: 23-Sep-2020
  • (2019)On the Complexity of Cache Analysis for Different Replacement PoliciesJournal of the ACM10.1145/336601866:6(1-22)Online publication date: 11-Nov-2019
  • (2019)Fast and exact analysis for LRU cachesProceedings of the ACM on Programming Languages10.1145/32903673:POPL(1-29)Online publication date: 2-Jan-2019
  • (2018)Prime+CountProceedings of the 34th Annual Computer Security Applications Conference10.1145/3274694.3274704(441-452)Online publication date: 3-Dec-2018
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media