Processor and Bus Co-scheduling Strategies for Real-time Tasks with Multiple Service-levels

S. Roy, A. Sarkar, Rahul Gangopadhyay
{"title":"Processor and Bus Co-scheduling Strategies for Real-time Tasks with Multiple Service-levels","authors":"S. Roy, A. Sarkar, Rahul Gangopadhyay","doi":"10.1109/RTCSA52859.2021.00010","DOIUrl":null,"url":null,"abstract":"Cyber-Physical Systems, including those in the automotive domain, are often designed by assigning to each task an appropriate criticality-based reward value which is acquired by the system on its successful execution. Additionally, each task may have multiple implementations designated as service-levels, with higher service-levels producing more accurate results and contributing to higher rewards for the system. This work proposes strategies for co-scheduling a set of periodic tasks with multiple service-levels, on homogeneous processors and system buses. The problem is modeled as a Multi-dimensional Multiple-Choice Knapsack formulation (MMCKP) with the objective of maximizing overall system level rewards. A Dynamic Programming (DP) solution is proposed to solve the MMCKP. It was observed that although the DP based solution produces optimal results, its complexity is highly sensitive to the number of tasks, processors, buses as well as to the number of task service-levels, which severely restricts scalability of the strategy. Therefore, we have also proposed a fast yet efficient heuristic algorithm called Accurate Low Overhead Level Allocator (ALOLA), which attempts to achieve the same objective. Our simulation based experimental evaluation shows that even on moderately large systems consisting of 90 tasks with 5 service-levels each, 16 processors and 4 buses, while MMCKP incurs a run-time of more than 1 hour 20 minutes and approximately 68 GB main memory, ALOLA takes only about 196 $\\mu s$ (speedup of the order of 106 times) and less than 1 MB of memory. Moreover, while being fast, ALOLA is also efficient being able to control performance degradations to at most 13% compared to the optimal results produced by MMCKP. We use an automated flight control system employed in modern avionic systems, a real-world application to illustrate the general applicability of our proposed scheme.","PeriodicalId":38446,"journal":{"name":"International Journal of Embedded and Real-Time Communication Systems (IJERTCS)","volume":"46 1","pages":"21-30"},"PeriodicalIF":0.5000,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Embedded and Real-Time Communication Systems (IJERTCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RTCSA52859.2021.00010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 2

Abstract

Cyber-Physical Systems, including those in the automotive domain, are often designed by assigning to each task an appropriate criticality-based reward value which is acquired by the system on its successful execution. Additionally, each task may have multiple implementations designated as service-levels, with higher service-levels producing more accurate results and contributing to higher rewards for the system. This work proposes strategies for co-scheduling a set of periodic tasks with multiple service-levels, on homogeneous processors and system buses. The problem is modeled as a Multi-dimensional Multiple-Choice Knapsack formulation (MMCKP) with the objective of maximizing overall system level rewards. A Dynamic Programming (DP) solution is proposed to solve the MMCKP. It was observed that although the DP based solution produces optimal results, its complexity is highly sensitive to the number of tasks, processors, buses as well as to the number of task service-levels, which severely restricts scalability of the strategy. Therefore, we have also proposed a fast yet efficient heuristic algorithm called Accurate Low Overhead Level Allocator (ALOLA), which attempts to achieve the same objective. Our simulation based experimental evaluation shows that even on moderately large systems consisting of 90 tasks with 5 service-levels each, 16 processors and 4 buses, while MMCKP incurs a run-time of more than 1 hour 20 minutes and approximately 68 GB main memory, ALOLA takes only about 196 $\mu s$ (speedup of the order of 106 times) and less than 1 MB of memory. Moreover, while being fast, ALOLA is also efficient being able to control performance degradations to at most 13% compared to the optimal results produced by MMCKP. We use an automated flight control system employed in modern avionic systems, a real-world application to illustrate the general applicability of our proposed scheme.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
多服务级别实时任务的处理器和总线协同调度策略
网络物理系统,包括汽车领域的系统,通常通过为每个任务分配适当的基于临界的奖励值来设计,该奖励值由系统在其成功执行时获得。此外,每个任务可以有多个指定为服务级别的实现,更高的服务级别产生更准确的结果,并为系统提供更高的回报。这项工作提出了在同构处理器和系统总线上协同调度一组具有多个服务级别的周期性任务的策略。该问题被建模为一个多维选择背包公式(MMCKP),其目标是最大化整个系统级别的奖励。提出了一种求解MMCKP的动态规划方法。研究发现,尽管基于DP的解决方案产生了最优结果,但其复杂度对任务数量、处理器数量、总线数量以及任务服务级别数量高度敏感,严重限制了策略的可扩展性。因此,我们还提出了一种快速而高效的启发式算法,称为精确低开销级别分配(ALOLA),它试图实现相同的目标。我们基于仿真的实验评估表明,即使在中等规模的系统中,由90个任务组成,每个任务有5个服务级别,16个处理器和4个总线,而MMCKP的运行时间超过1小时20分钟,主内存约为68 GB, ALOLA只需要大约196 $ $ $ s$(加速106倍),内存不到1 MB。此外,与MMCKP产生的最佳结果相比,ALOLA在速度快的同时也很高效,能够将性能下降控制在最多13%。我们使用现代航空电子系统中使用的自动飞行控制系统,一个现实世界的应用来说明我们提出的方案的一般适用性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
1.70
自引率
14.30%
发文量
17
期刊最新文献
Agnostic Hardware-Accelerated Operating System for Low-End IoT Controlling High-Performance Platform Uncertainties with Timing Diversity The Role of Causality in a Formal Definition of Timing Anomalies Analyzing Fixed Task Priority Based Memory Centric Scheduler for the 3-Phase Task Model On the Trade-offs between Generalization and Specialization in Real-Time Systems
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1