Precise and scalable shared cache contention analysis for WCET estimation
Wei Zhang, Mingsong Lv, Wanli Chang, Lei Ju
Abstract
Worst-Case Execution Time (WCET) analysis for real-time tasks must precisely predict cache hit/miss of memory accesses. While bringing great performance benefits, multi-core processors significantly complicate the cache analysis problem due to the shared cache contentions among different cores. Existing methods pessimistically consider that memory references of parallel executing tasks will contend with each other as long as they are mapped to the same cache line. However, in reality, numerous shared cache contentions are mutually exclusive, due to the partial orders among the programs executed in parallel. The presence of shared cache contentions greatly exacerbates the computational complexity of the WCET computation, as finding the longest path needs exploring an exponentially large partial ordering space. In this paper, we propose a quantitative method with O(n2) time complexity to precisely estimate the worst-case extra execution time (WCEET) caused by shared cache contentions. The proposed method can be easily integrated into the abstract-interpretation based WCET estimation framework. Experiments with MRTC benchmarks show that our method can averagely tighten the WCET estimation by 13% without sacrificing the analysis efficiency.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 8fb93eb5-4abc-481e-9745-a5cf09c1362bCited by top-tier papers1
Ask how each one uses itRelated papers
- Path-Sensitive Abstract Interpretation for WCET EstimationShangshang Xiao, Mengxia Sun, Wei Zhang, Naijun Zhan et al.PLDI 2026
- Calculating Worst-Case Response Time Bounds for OpenMP Programs with Loop StructuresJinghao Sun, Nan Guan, Zhishan Guo, Yekai Xue et al.RTSS 2021 · 11 citations
- What Really is pWCET? A Rigorous Axiomatic ProposalSergey Bozhko, Filip Markovic, Georg von der Brüggen, Björn B. BrandenburgRTSS 2023 · 16 citations
- A Finer-Grained Blocking Analysis for Parallel Real-Time Tasks with Spin-LocksZe-Wei Chen, Hang Lei, Maolin Yang, Yong Liao et al.DAC 2021 · 5 citations
- On Computing Exact WCRT for DAG Tasks†Jinghao Sun, Feng Li, Nan Guan, Wentao Zhu et al.DAC 2020 · 12 citations
