Solution: End-to-end Scheduling of Real-time Task Pipelines on MultiprocessorsDownload PDF

01 Nov 2021, 19:36 (modified: 29 Aug 2022, 05:05)Submitted to JSYS Nov 21Readers: Everyone
Keywords: real-time task pipelines, constraint optimization, end-to-end scheduling
TL;DR: A heuristic constraint solver algorithm to schedule real-time task pipelines under end-to-end constraints
Abstract: Task pipelines are common in today’s embedded systems, as data moves from source to sink in sensing-processing-actuation task chains. A real-time task pipeline is constructed by connecting a series of periodic tasks with data buffers. In a time-critical system, end-to-end timing and data-transfer properties of a task pipeline must be guaranteed. A guarantee could be mathematically expressed by assigning constraints to the tasks of a pipeline. However, deriving task scheduling parameters to meet end-to-end guarantees is an NP-hard constraint optimization problem. Hence, a traditional constraint solver is not a suitable runtime solution. In this paper, we present a heuristic constraint solver algorithm, CoPi, to derive the execution times and periods of pipelined tasks that meet the end-to-end constraints and schedulability requirements. We consider two upper bound constraints on a task pipeline: end-to-end delay and loss-rate. After satisfying these constraints, CoPi schedules a pipeline as a set of asynchronous and data independent periodic tasks, under the rate-monotonic scheduling algorithm. Simulations show that CoPi has a comparable pipeline acceptance ratio and significantly better runtime than open-source MINLP-solvers. Furthermore, we use CoPi to map multiple task pipelines to a multiprocessor system. We demonstrate that a partitioned multiprocessor scheduling algorithm coupled with CoPi accommodates dynamically appearing pipelines, while attempting to minimize task migrations.
Area: Real-time and Cyber-physical Systems
Type: Solution
Conflicts: All (Boston University), Gabriel Parmer
Potential Reviewers: Sibin Mohan, Martina Maggio, Monowar Hasan, Parasara Sridhar Duggirala, Stanley Bak, Arpan Gujarati
7 Replies

Loading