Lune

RTSS2021Top-tier venue

Calculating Worst-Case Response Time Bounds for OpenMP Programs with Loop Structures

Jinghao Sun, Nan Guan, Zhishan Guo, Yekai Xue, Jing He, Guozhen Tan

Abstract

OpenMP is a promising framework for developing parallel real-time software on multi-cores. Recently, many graph-based task models representing realistic features of OpenMP task systems have been proposed and analyzed. However, all previous studies did not model the loop structures, which is common in OpenMP task systems. In this paper, we formulate the workload of OpenMP task systems with loop structures as the cyclic graph model and study how to compute safe upper bounds for the worstcase response time (WCRT). The loop structures combined with the creation of tasks and conditional branches result in a large state space. Simply unrolling the loop and/or enumerating all the possible execution flows would be computationally intractable. As the major technical contribution, we develop a linear-time dynamic programming algorithm to compute the WCRT bound without unrolling loops or explicitly enumerating the execution flows. Experiments with both synthetic task graphs and realistic OpenMP programs are conducted to evaluate the performance of our method.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · 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 papers2

  1. Bounding the Response Time of DAG Tasks Using Long PathsQingqiang He, Nan Guan, Mingsong Lv, Xu Jiang et al.RTSS 2022 · 19 citations
  2. Response Time Analysis for Prioritized DAG Task with Mutually Exclusive VerticesRan Bi, Qingqiang He, Jinghao Sun, Zhenyu Sun et al.RTSS 2022 · 10 citations

Related papers

  1. On Computing Exact WCRT for DAG Tasks†Jinghao Sun, Feng Li, Nan Guan, Wentao Zhu et al.DAC 2020 · 12 citations
  2. A Soft-Real-Time Optimal Scheduler for DAG Tasks with Node-Level Self DependenciesShareef Ahmed, James H. AndersonRTSS 2025
  3. Precise and scalable shared cache contention analysis for WCET estimationWei Zhang, Mingsong Lv, Wanli Chang, Lei JuDAC 2022 · 12 citations
  4. Response Time Analysis and Optimization of DAG Tasks Exploiting Mutually Exclusive ExecutionHaochun Liang, Xu Jiang, Nan Guan, Qingqiang He et al.DAC 2023 · 6 citations
  5. Response-Time Analysis and Optimization for Probabilistic Conditional Parallel DAG TasksNiklas Ueter, Mario Günzel, Jian-Jia ChenRTSS 2021 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines