Lune

RTSS2023顶会

Co-Located Parallel Scheduling of Threads to Optimize Cache Sharing

Corey Tessler, Venkata Prashant Modekurthy, Nathan Fisher, Abusayeed Saifullah, Alleyn Murphy

摘要

For hard-real time systems, cache memory increases execution time variability, increasing the complexity of timing analysis. As such, cache memory is often treated exclusively as a detractor to schedulability. Cache-aware co-located scheduling aims to improve schedulability by carefully scheduling threads to share cached values. Cache sharing between threads potentially reduces task execution times and increases schedulability with fewer resources. Antithetically, co-located scheduling may reduce parallelism, decreasing efficiency. Thus, identifying the optimal set of threads to co-locate that minimizes the resources required while ensuring timing constraints is a complex challenge. This work establishes optimal co-location as NP-Hard in the strong sense. It offers an approximation method for the co-located scheduling of Fork-Join tasks named 3-PARM-HD. The approximation has a 3-factor guarantee and a resource augmentation bound of 3. The simulated evaluation shows 3-PARM-HD increases schedulability compared to an optimal intractable algorithm (without co-location) scheduling 28% more tasks with 30% fewer cores. Simulated results show 3-PARM-HD outperforms a 2-factor approximation for traditional makespan, scheduling 39% more tasks with 44% fewer cores. An experimental RISC-V evaluation running on a QEMU platform confirms the benefits of 3-PARM-HD, scheduling and executing tasks deemed unschedulable by a 2-factor makespan approximation without co-location.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper7

  1. DAG Scheduling and Analysis on Multiprocessor Systems: Exploitation of Parallelism and DependencyShuai Zhao, Xiaotian Dai, Iain Bate, Alan Burns 等RTSS 2020 · 73 次引用
  2. Virtually-Federated Scheduling of Parallel Real-Time TasksXu Jiang, Nan Guan, Haochun Liang, Yue Tang 等RTSS 2021 · 22 次引用
  3. Response-Time Analysis and Optimization for Probabilistic Conditional Parallel DAG TasksNiklas Ueter, Mario Günzel, Jian-Jia ChenRTSS 2021 · 13 次引用
  4. Conditionally Optimal Parallelization of Real-Time DAG Tasks for Global EDFYoungeun Cho, Dongmin Shin, JaeSeung Park, Chang-Gun LeeRTSS 2021 · 12 次引用
  5. A Multi-Level DPM Approach for Real-Time DAG Tasks in Heterogeneous ProcessorsFederico Reghenzani, Ashikahmed Bhuiyan, William Fornaciari, Zhishan GuoRTSS 2021 · 12 次引用

相关 Paper

  1. Co-Optimizing Cache Partitioning and Multi-Core Task Scheduling: Exploit Cache Sensitivity or Not?Binqi Sun, Debayan Roy, Tomasz Kloda, Andrea Bastoni 等RTSS 2023 · 4 次引用
  2. Precise and scalable shared cache contention analysis for WCET estimationWei Zhang, Mingsong Lv, Wanli Chang, Lei JuDAC 2022 · 12 次引用
  3. A Cache/Algorithm Co-design for Parallel Real-Time Systems with Data Dependency on Multi/Many-core System-on-ChipsZhe Jiang, Shuai Zhao, Ran Wei, Yiyang Gao 等DAC 2024 · 3 次引用
  4. Per-Bank Bandwidth Regulation of Shared Last-Level Cache for Real-Time SystemsConnor Sullivan, Alex Manley, Mohammad Alian, Heechul YunRTSS 2024 · 4 次引用
  5. Tight Cache Contention Analysis for WCET Estimation on Multicore SystemsShuai Zhao, Jieyu Jiang, Shenlin Cai, Yaowei Liang 等RTSS 2025 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖