Feasibility of on-line speed policies in real-time systems

IF 1.4 4区 计算机科学 Q3 COMPUTER SCIENCE, THEORY & METHODS
Bruno Gaujal, Alain Girault, Stéphan Plassart
{"title":"Feasibility of on-line speed policies in real-time systems","authors":"Bruno Gaujal, Alain Girault, Stéphan Plassart","doi":"10.1007/s11241-020-09347-y","DOIUrl":null,"url":null,"abstract":"We consider a real-time system where a single processor with variable speed executes an infinite sequence of sporadic and independent jobs. We assume that job sizes and relative deadlines are bounded by C and $$\\varDelta $$ Δ respectively. Furthermore, $$S_{\\max }$$ S max denotes the maximal speed of the processor. In such a real-time system, a speed selection policy dynamically chooses ( i.e. , on-line) the speed of the processor to execute the current, not yet finished, jobs. We say that an on-line speed policy is feasible if it is able to execute any sequence of jobs while meeting two constraints: the processor speed is always below $$S_{\\max }$$ S max and no job misses its deadline. In this paper, we compare the feasibility region of four on-line speed selection policies in single-processor real-time systems, namely Optimal Available $${\\text{(OA)}}$$ (OA) (Yao et al. in IEEE annual foundations of computer science, 1995), Average Rate $${\\text{(AVR)}}$$ (AVR) (Yao et al. 1995), $${\\text{(BKP)}}$$ (BKP) (Bansal in J ACM 54:1, 2007), and a Markovian Policy based on dynamic programming $${\\text{(MP)}}$$ (MP) (Gaujal in Technical Report hal-01615835, Inria, 2017). We prove the following results: $$ {\\text{(OA)}}$$ (OA) is feasible if and only if $$S_{\\max } \\ge C (h_{\\varDelta -1}+1)$$ S max ≥ C ( h Δ - 1 + 1 ) , where $$h_n$$ h n is the n -th harmonic number ( $$h_n = \\sum _{i=1}^n 1/i \\approx \\log n$$ h n = ∑ i = 1 n 1 / i ≈ log n ). $${\\text{(AVR)}}$$ (AVR) is feasible if and only if $$S_{\\max } \\ge C h_\\varDelta $$ S max ≥ C h Δ . $${\\text{(BKP)}}$$ (BKP) is feasible if and only if $$S_{\\max } \\ge e C$$ S max ≥ e C (where $$e = \\exp (1)$$ e = exp ( 1 ) ). $${\\text{(MP)}}$$ (MP) is feasible if and only if $$S_{\\max } \\ge C$$ S max ≥ C . This is an optimal feasibility condition because when $$S_{\\max } < C$$ S max < C no policy can be feasible. This reinforces the interest of $${\\text{(MP)}}$$ (MP) that is not only optimal for energy consumption (on average) but is also optimal regarding feasibility.","PeriodicalId":54507,"journal":{"name":"Real-Time Systems","volume":"229 1‐2","pages":""},"PeriodicalIF":1.4000,"publicationDate":"2020-04-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Real-Time Systems","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s11241-020-09347-y","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

We consider a real-time system where a single processor with variable speed executes an infinite sequence of sporadic and independent jobs. We assume that job sizes and relative deadlines are bounded by C and $$\varDelta $$ Δ respectively. Furthermore, $$S_{\max }$$ S max denotes the maximal speed of the processor. In such a real-time system, a speed selection policy dynamically chooses ( i.e. , on-line) the speed of the processor to execute the current, not yet finished, jobs. We say that an on-line speed policy is feasible if it is able to execute any sequence of jobs while meeting two constraints: the processor speed is always below $$S_{\max }$$ S max and no job misses its deadline. In this paper, we compare the feasibility region of four on-line speed selection policies in single-processor real-time systems, namely Optimal Available $${\text{(OA)}}$$ (OA) (Yao et al. in IEEE annual foundations of computer science, 1995), Average Rate $${\text{(AVR)}}$$ (AVR) (Yao et al. 1995), $${\text{(BKP)}}$$ (BKP) (Bansal in J ACM 54:1, 2007), and a Markovian Policy based on dynamic programming $${\text{(MP)}}$$ (MP) (Gaujal in Technical Report hal-01615835, Inria, 2017). We prove the following results: $$ {\text{(OA)}}$$ (OA) is feasible if and only if $$S_{\max } \ge C (h_{\varDelta -1}+1)$$ S max ≥ C ( h Δ - 1 + 1 ) , where $$h_n$$ h n is the n -th harmonic number ( $$h_n = \sum _{i=1}^n 1/i \approx \log n$$ h n = ∑ i = 1 n 1 / i ≈ log n ). $${\text{(AVR)}}$$ (AVR) is feasible if and only if $$S_{\max } \ge C h_\varDelta $$ S max ≥ C h Δ . $${\text{(BKP)}}$$ (BKP) is feasible if and only if $$S_{\max } \ge e C$$ S max ≥ e C (where $$e = \exp (1)$$ e = exp ( 1 ) ). $${\text{(MP)}}$$ (MP) is feasible if and only if $$S_{\max } \ge C$$ S max ≥ C . This is an optimal feasibility condition because when $$S_{\max } < C$$ S max < C no policy can be feasible. This reinforces the interest of $${\text{(MP)}}$$ (MP) that is not only optimal for energy consumption (on average) but is also optimal regarding feasibility.
实时系统中在线速度策略的可行性
我们考虑一个实时系统,其中单个处理器以可变速度执行无限序列的零星和独立的作业。我们假设作业规模和相对截止日期分别由C和$$\varDelta $$ Δ限定。此外,$$S_{\max }$$ S max表示处理器的最大速度。在这样的实时系统中,速度选择策略动态地选择(即在线)处理器执行当前尚未完成的作业的速度。我们说在线速度策略是可行的,如果它能够执行任何作业序列,同时满足两个约束:处理器速度始终低于$$S_{\max }$$ S max,并且没有作业错过其截止日期。在本文中,我们比较了单处理器实时系统中四种在线速度选择策略的可行性区域,即最优可用$${\text{(OA)}}$$ (OA) (Yao等人,1995年IEEE计算机科学年度基础),平均速率$${\text{(AVR)}}$$ (AVR) (Yao等人,1995年),$${\text{(BKP)}}$$ (BKP) (Bansal In J ACM 54:1, 2007)和基于动态规划的马尔可夫策略$${\text{(MP)}}$$ (MP) (Gaujal In Technical Report hal-01615835, Inria, 2017)。我们证明了以下结果:$$ {\text{(OA)}}$$ (OA)当且仅当$$S_{\max } \ge C (h_{\varDelta -1}+1)$$ S max≥C (h Δ - 1 + 1)时是可行的,其中$$h_n$$ h n为n次谐波数($$h_n = \sum _{i=1}^n 1/i \approx \log n$$ h n =∑i = 1 n 1 / i≈log n)。$${\text{(AVR)}}$$ (AVR)当且仅当$$S_{\max } \ge C h_\varDelta $$ S max≥C h Δ可行。$${\text{(BKP)}}$$ (BKP)当且仅当$$S_{\max } \ge e C$$ S max≥e C(其中$$e = \exp (1)$$ e = exp(1))时可行。$${\text{(MP)}}$$ (MP)当且仅当$$S_{\max } \ge C$$ S max≥C时可行。这是一个最优可行性条件,因为当$$S_{\max } < C$$ S max < C时,没有策略是可行的。这加强了$${\text{(MP)}}$$ (MP)的兴趣,它不仅在能源消耗(平均)方面是最佳的,而且在可行性方面也是最佳的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Real-Time Systems
Real-Time Systems 工程技术-计算机:理论方法
CiteScore
2.90
自引率
7.70%
发文量
15
审稿时长
6 months
期刊介绍: Papers published in Real-Time Systems cover, among others, the following topics: requirements engineering, specification and verification techniques, design methods and tools, programming languages, operating systems, scheduling algorithms, architecture, hardware and interfacing, dependability and safety, distributed and other novel architectures, wired and wireless communications, wireless sensor systems, distributed databases, artificial intelligence techniques, expert systems, and application case studies. Applications are found in command and control systems, process control, automated manufacturing, flight control, avionics, space avionics and defense systems, shipborne systems, vision and robotics, pervasive and ubiquitous computing, and in an abundance of embedded systems.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信