Lune

DAC2022Top-tier venue

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 Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Tight Cache Contention Analysis for WCET Estimation on Multicore SystemsShuai Zhao, Jieyu Jiang, Shenlin Cai, Yaowei Liang et al.RTSS 2025 · 1 citation

Related papers

  1. Path-Sensitive Abstract Interpretation for WCET EstimationShangshang Xiao, Mengxia Sun, Wei Zhang, Naijun Zhan et al.PLDI 2026
  2. 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
  3. What Really is pWCET? A Rigorous Axiomatic ProposalSergey Bozhko, Filip Markovic, Georg von der Brüggen, Björn B. BrandenburgRTSS 2023 · 16 citations
  4. 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
  5. On Computing Exact WCRT for DAG Tasks†Jinghao Sun, Feng Li, Nan Guan, Wentao Zhu et al.DAC 2020 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines