Xuanliang Deng , Ashrarul H. Sifat , Shao-Yu Huang , Sen Wang , Jia-Bin Huang , Changhee Jung , Ryan Williams , Haibo Zeng
{"title":"Partitioned scheduling with safety-performance trade-offs in stochastic conditional DAG models","authors":"Xuanliang Deng , Ashrarul H. Sifat , Shao-Yu Huang , Sen Wang , Jia-Bin Huang , Changhee Jung , Ryan Williams , Haibo Zeng","doi":"10.1016/j.sysarc.2024.103189","DOIUrl":null,"url":null,"abstract":"<div><p>This paper is motivated by robotic systems that solve difficult real-world problems such as search and rescue (SAR) or precision agriculture <span><sup>1</sup></span>. These applications require robots to operate in complex, uncertain environments while maintaining safe interactions with human teammates within a specified level of performance. In this paper, we study the scheduling of real-time applications on heterogeneous hardware platforms inspired by such contexts. To capture the <em>stochasticity</em> due to unpredictable environments, we propose the stochastic heterogeneous parallel conditional DAG (SHPC-DAG) model, which extends the most recent HPC-DAG model in two regards. First, it uses conditional DAG nodes to model the execution of computational pipelines based on <em>context</em>, while the stochasticity of DAG edges captures the uncertain nature of a system’s environment or the reliability of its hardware. Second, considering the pessimism of deterministic worst-case execution time (WCET), it uses <em>probability distributions</em> to model the execution times of subtasks (DAG nodes). We propose a new partitioning algorithm <em>Least Latency Partitioned (LLP)</em>, which considers precedence constraints among nodes during the allocation process. Coupled with a scheduling algorithm that accounts for varying subtask criticality and constraints, the end-to-end latencies of safety-critical paths/nodes are then minimized. We use tasksets inspired by real robotics to demonstrate that our framework allows for efficient scheduling in complex computational pipelines, with more flexible representation of timing constraints, and ultimately, safety-performance tradeoffs.</p></div>","PeriodicalId":50027,"journal":{"name":"Journal of Systems Architecture","volume":"153 ","pages":"Article 103189"},"PeriodicalIF":3.7000,"publicationDate":"2024-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Systems Architecture","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1383762124001267","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
This paper is motivated by robotic systems that solve difficult real-world problems such as search and rescue (SAR) or precision agriculture 1. These applications require robots to operate in complex, uncertain environments while maintaining safe interactions with human teammates within a specified level of performance. In this paper, we study the scheduling of real-time applications on heterogeneous hardware platforms inspired by such contexts. To capture the stochasticity due to unpredictable environments, we propose the stochastic heterogeneous parallel conditional DAG (SHPC-DAG) model, which extends the most recent HPC-DAG model in two regards. First, it uses conditional DAG nodes to model the execution of computational pipelines based on context, while the stochasticity of DAG edges captures the uncertain nature of a system’s environment or the reliability of its hardware. Second, considering the pessimism of deterministic worst-case execution time (WCET), it uses probability distributions to model the execution times of subtasks (DAG nodes). We propose a new partitioning algorithm Least Latency Partitioned (LLP), which considers precedence constraints among nodes during the allocation process. Coupled with a scheduling algorithm that accounts for varying subtask criticality and constraints, the end-to-end latencies of safety-critical paths/nodes are then minimized. We use tasksets inspired by real robotics to demonstrate that our framework allows for efficient scheduling in complex computational pipelines, with more flexible representation of timing constraints, and ultimately, safety-performance tradeoffs.
本文的灵感来自于解决现实世界中困难问题的机器人系统,如搜救(SAR)或精准农业1。这些应用要求机器人在复杂、不确定的环境中工作,同时在规定的性能水平内保持与人类队友的安全互动。在本文中,我们受此类环境的启发,研究了异构硬件平台上实时应用的调度问题。为了捕捉不可预测环境造成的随机性,我们提出了随机异构并行条件 DAG(SHPC-DAG)模型,该模型在两个方面扩展了最新的 HPC-DAG 模型。首先,它使用条件 DAG 节点来模拟基于上下文的计算流水线的执行,而 DAG 边的随机性则捕捉了系统环境或硬件可靠性的不确定性。其次,考虑到确定性最坏情况执行时间(WCET)的悲观性,它使用概率分布来模拟子任务(DAG 节点)的执行时间。我们提出了一种新的分区算法 Least Latency Partitioned (LLP),它在分配过程中考虑了节点间的优先级限制。再加上考虑到不同子任务关键性和约束的调度算法,安全关键路径/节点的端到端延迟就会降到最低。我们利用受真实机器人技术启发的任务集来证明,我们的框架可以在复杂的计算流水线中实现高效调度,更灵活地表示时序约束,并最终实现安全性能权衡。
期刊介绍:
The Journal of Systems Architecture: Embedded Software Design (JSA) is a journal covering all design and architectural aspects related to embedded systems and software. It ranges from the microarchitecture level via the system software level up to the application-specific architecture level. Aspects such as real-time systems, operating systems, FPGA programming, programming languages, communications (limited to analysis and the software stack), mobile systems, parallel and distributed architectures as well as additional subjects in the computer and system architecture area will fall within the scope of this journal. Technology will not be a main focus, but its use and relevance to particular designs will be. Case studies are welcome but must contribute more than just a design for a particular piece of software.
Design automation of such systems including methodologies, techniques and tools for their design as well as novel designs of software components fall within the scope of this journal. Novel applications that use embedded systems are also central in this journal. While hardware is not a part of this journal hardware/software co-design methods that consider interplay between software and hardware components with and emphasis on software are also relevant here.