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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6b70e528-696a-48e3-a254-7a483703b861Cited by top-tier papers2
- Bounding the Response Time of DAG Tasks Using Long PathsQingqiang He, Nan Guan, Mingsong Lv, Xu Jiang et al.RTSS 2022 · 19 citations
- 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
- On Computing Exact WCRT for DAG Tasks†Jinghao Sun, Feng Li, Nan Guan, Wentao Zhu et al.DAC 2020 · 12 citations
- A Soft-Real-Time Optimal Scheduler for DAG Tasks with Node-Level Self DependenciesShareef Ahmed, James H. AndersonRTSS 2025
- Precise and scalable shared cache contention analysis for WCET estimationWei Zhang, Mingsong Lv, Wanli Chang, Lei JuDAC 2022 · 12 citations
- 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
- Response-Time Analysis and Optimization for Probabilistic Conditional Parallel DAG TasksNiklas Ueter, Mario Günzel, Jian-Jia ChenRTSS 2021 · 13 citations
