Scalable Computation of Inter-Core Bounds Through Exact Abstractions

Mohammed Aristide Foughali, Marius Mikučionis, Maryline Zhang
{"title":"Scalable Computation of Inter-Core Bounds Through Exact Abstractions","authors":"Mohammed Aristide Foughali, Marius Mikučionis, Maryline Zhang","doi":"arxiv-2405.06387","DOIUrl":null,"url":null,"abstract":"Real-time systems (RTSs) are at the heart of numerous safety-critical\napplications. An RTS typically consists of a set of real-time tasks (the\nsoftware) that execute on a multicore shared-memory platform (the hardware)\nfollowing a scheduling policy. In an RTS, computing inter-core bounds, i.e.,\nbounds separating events produced by tasks on different cores, is crucial.\nWhile efficient techniques to over-approximate such bounds exist, little has\nbeen proposed to compute their exact values. Given an RTS with a set of cores C\nand a set of tasks T , under partitioned fixed- priority scheduling with\nlimited preemption, a recent work by Foughali, Hladik and Zuepke (FHZ) models\ntasks with affinity c (i.e., allocated to core c in C) as a Uppaal timed\nautomata (TA) network Nc. For each core c in C, Nc integrates blocking (due to\ndata sharing) using tight analytical formulae. Through compositional model\nchecking, FHZ achieved a substantial gain in scalability for bounds local to a\ncore. However, computing inter-core bounds for some events of interest E,\nproduced by a subset of tasks TE with different affinities CE, requires model\nchecking the parallel composition of all TA networks Nc for each c in CE, which\nproduces a large, often intractable, state space. In this paper, we present a\nnew scalable approach based on exact abstractions to compute exact inter-core\nbounds in a schedulable RTS, under the assumption that tasks in TE have\ndistinct affinities. We develop a novel algorithm, leveraging a new query that\nwe implement in Uppaal, that computes for each TA network Nc in NE an\nabstraction A(Nc) preserving the exact intervals within which events occur on\nc, therefore drastically reducing the state space. The scalability of our\napproach is demonstrated on the WATERS 2017 industrial challenge, for which we\nefficiently compute various types of inter-core bounds where FHZ fails to\nscale.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"21 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Symbolic Computation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2405.06387","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Real-time systems (RTSs) are at the heart of numerous safety-critical applications. An RTS typically consists of a set of real-time tasks (the software) that execute on a multicore shared-memory platform (the hardware) following a scheduling policy. In an RTS, computing inter-core bounds, i.e., bounds separating events produced by tasks on different cores, is crucial. While efficient techniques to over-approximate such bounds exist, little has been proposed to compute their exact values. Given an RTS with a set of cores C and a set of tasks T , under partitioned fixed- priority scheduling with limited preemption, a recent work by Foughali, Hladik and Zuepke (FHZ) models tasks with affinity c (i.e., allocated to core c in C) as a Uppaal timed automata (TA) network Nc. For each core c in C, Nc integrates blocking (due to data sharing) using tight analytical formulae. Through compositional model checking, FHZ achieved a substantial gain in scalability for bounds local to a core. However, computing inter-core bounds for some events of interest E, produced by a subset of tasks TE with different affinities CE, requires model checking the parallel composition of all TA networks Nc for each c in CE, which produces a large, often intractable, state space. In this paper, we present a new scalable approach based on exact abstractions to compute exact inter-core bounds in a schedulable RTS, under the assumption that tasks in TE have distinct affinities. We develop a novel algorithm, leveraging a new query that we implement in Uppaal, that computes for each TA network Nc in NE an abstraction A(Nc) preserving the exact intervals within which events occur on c, therefore drastically reducing the state space. The scalability of our approach is demonstrated on the WATERS 2017 industrial challenge, for which we efficiently compute various types of inter-core bounds where FHZ fails to scale.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
通过精确抽象实现内核间界限的可扩展计算
实时系统(RTS)是众多安全关键型应用的核心。实时系统通常由一组实时任务(软件)组成,这些任务按照调度策略在多核共享内存平台(硬件)上执行。在 RTS 中,计算内核间界限(即区分不同内核上的任务所产生的事件的界限)至关重要。虽然存在过度估算此类界限的高效技术,但很少有人提出计算其精确值的方法。Foughali, Hladik and Zuepke (FHZ) 最近的一项研究将具有亲和性 c 的任务(即分配给 C 中的核心 c)建模为 Uppaal timedautomata (TA) 网络 Nc。对于 C 中的每个核心 c,Nc 使用严密的分析公式整合阻塞(由于数据共享)。通过组合模型检查,FHZ 在 ac 核局部边界的可扩展性方面取得了重大进展。然而,要计算由具有不同亲缘关系 CE 的任务子集 TE 产生的某些相关事件 E 的核间界限,需要对 CE 中每个 c 的所有 TA 网络 Nc 的并行组成进行建模检查,这会产生一个庞大的、通常难以处理的状态空间。在本文中,我们提出了一种基于精确抽象的全新可扩展方法,在可调度 RTS 中计算精确的内核间边界,前提是 TE 中的任务具有不同的亲和力。我们开发了一种新算法,利用我们在 Uppaal 中实现的新查询,为 NE 中的每个 TA 网络 Nc 计算出保留事件发生精确时间间隔的抽象 A(Nc),从而大大减少了状态空间。我们在 WATERS 2017 工业挑战赛上展示了我们方法的可扩展性,在该挑战赛中,我们有效地计算了 FHZ 无法扩展的各种类型的内核间边界。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Synthesizing Evolving Symbolic Representations for Autonomous Systems Introducing Quantification into a Hierarchical Graph Rewriting Language Towards Verified Polynomial Factorisation Symbolic Regression with a Learned Concept Library Active Symbolic Discovery of Ordinary Differential Equations via Phase Portrait Sketching
×
引用
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