{"title":"Functional Uncertainty in Real-Time Safety-Critical Systems","authors":"Sanjoy Baruah, A. Burns, D. Griffin","doi":"10.1145/3534879.3534884","DOIUrl":"https://doi.org/10.1145/3534879.3534884","url":null,"abstract":"Safety-critical cyber-physical systems increasingly use components that are unable to provide deterministic guarantees of the correctness of their functional outputs; rather, they characterize each outcome of a computation with an associated “uncertainty” regarding its correctness. The problem of assuring correctness in such systems is considered. A model is proposed in which components are characterized by bounds on the degree of uncertainty under both worst-case and typical circumstances; the objective is to assure safety under all circumstances while optimizing for performance for typical circumstances. A problem of selecting components for execution in order to obtain a result of a certain minimum uncertainty as soon as possible, while guaranteeing to do so within a specified deadline, is considered. An optimal semi-adaptive algorithm for solving this problem is derived. The scalability of this algorithm is investigated via simulation experiments comparing this semi-adaptive scheme with a purely static approach.","PeriodicalId":192435,"journal":{"name":"Proceedings of the 30th International Conference on Real-Time Networks and Systems","volume":"47 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130026980","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Compensating Adaptive Mixed Criticality Scheduling","authors":"Robert I. Davis, A. Burns, I. Bate","doi":"10.1145/3534879.3534895","DOIUrl":"https://doi.org/10.1145/3534879.3534895","url":null,"abstract":"The majority of prior academic research into mixed criticality systems assumes that if high-criticality tasks continue to execute beyond the execution time limits at which they would normally finish, then further workload due to low-criticality tasks may be dropped in order to ensure that the high-criticality tasks can still meet their deadlines. Industry, however, takes a different view of the importance of low-criticality tasks, with many practical systems unable to tolerate the abandonment of such tasks. In this paper, we address the challenge of supporting genuinely graceful degradation in mixed criticality systems, thus avoiding the abandonment problem. We explore the Compensating Adaptive Mixed Criticality (C-AMC) scheduling scheme. C-AMC ensures that both high- and low-criticality tasks meet their deadlines in both normal and degraded modes. Under C-AMC, jobs of low-criticality tasks, released in degraded mode, execute imprecise versions that provide essential functionality and outputs of sufficient quality, while also reducing the overall workload. This compensates, at least in part, for the overload due to the abnormal behavior of high-criticality tasks. C-AMC is based on fixed-priority preemptive scheduling and hence provides a viable migration path along which industry can make an evolutionary transition from current practice.","PeriodicalId":192435,"journal":{"name":"Proceedings of the 30th International Conference on Real-Time Networks and Systems","volume":"58 4","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131727667","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Efficient Schedulability Analysis of Semi-Clairvoyant Sporadic Task Systems With Graceful Degradation","authors":"Akanksha Chaudhari, Sanjoy Baruah","doi":"10.1145/3534879.3534881","DOIUrl":"https://doi.org/10.1145/3534879.3534881","url":null,"abstract":"Vestal proposed an abstract model for mixed-criticality workloads in which each job is characterized by multiple different estimates of its actual, but unknown, worst-case execution time (WCET). While this model helped establish the study of mixed-criticality systems, it has received criticism for incorporating some unrealistic assumptions. In response, recent works have introduced an alternative “semi-clairvoyant” model in which each job reveals upon arrival which of its WCET parameters it will respect. Such models are practically realizable and demonstrate a significant improvement over conventionally considered models in terms of speedup factor and schedulability. More recently, several different interpretations of graceful degradation have been considered in the context of semi-clairvoyant scheduling. Under one of these, Earliest Deadline First (EDF) scheduling has been shown to be optimal and associated exact schedulability tests have been derived. This work proposes Mixed-Criticality Quick Processor-demand Analysis (MC-QPA), an efficient and exact schedulability test for EDF-based semi-clairvoyant scheduling of sporadic task systems, and formally establishes its correctness. The effectiveness of MC-QPA over prior approaches in terms of the test running times is demonstrated via simulation experiments.","PeriodicalId":192435,"journal":{"name":"Proceedings of the 30th International Conference on Real-Time Networks and Systems","volume":"773 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134383211","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Approximating WCET and Energy Consumption for Fast Multi-Objective Memory Allocation","authors":"Shashank Jadhav, H. Falk","doi":"10.1145/3534879.3534889","DOIUrl":"https://doi.org/10.1145/3534879.3534889","url":null,"abstract":"Worst-Case Execution Time (WCET) is the most important design criterion in the domain of hard real-time systems. Most embedded systems also need to satisfy additional design criteria like, e.g., energy consumption. Performing WCET and energy analyses statically at compile-time can be time-consuming. Consequently, minimizing WCET and energy consumption of the code at the compiler level using multi-objective optimization can be a time-consuming process. In this paper, we propose an approximation model to quickly approximate the WCET and energy consumption of the code at compile-time. Instead of using traditional WCET and energy analyses, we exploit this approximation model to perform ScratchPad Memory (SPM) allocation-based multi-objective optimization. Furthermore, we solve the multi-objective optimization problem using metaheuristic algorithms and explore the trade-offs between WCET and energy consumption. Using the proposed approximation model, we achieved, on average, a 94.12% reduction in compilation time and maintained the quality of the Pareto optimal solutions while performing the multi-objective optimization. Furthermore, the approximation error while using the proposed approximation model was in an acceptable range of 2% - 4% on average.","PeriodicalId":192435,"journal":{"name":"Proceedings of the 30th International Conference on Real-Time Networks and Systems","volume":"3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133351858","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Simulation intervals for uniprocessor real-time schedulers with preemption delay","authors":"J. Goossens, D. Masson","doi":"10.1145/3534879.3534887","DOIUrl":"https://doi.org/10.1145/3534879.3534887","url":null,"abstract":"In the framework of embedded and time-critical systems we consider the scheduling of preemptive real-time periodic tasks upon uniprocessor. We consider the notion of simulation interval, a finite time interval such that the schedule starts to repeat in a cycle. The interest is to design a time interval which includes all possible (reachable) schedule states. Our study focuses on a model where preemption costs are explicitly considered, i.e., the time required by the real-time operating system (rtos) or the hardware to load the context of execution of preempted jobs. We present and prove correct a simulation interval for asynchronous arbitrary deadline tasks with preemption delays and that holds for any deterministic and memoryless scheduler upon uniprocessor. This first contribution is valid for all schedulers one can imagine (but deterministic and memoryless), including non-preemptive schedulers, not work-conserving, not necessarily popular “real-time” ones. We then consider a particular case, regarding the preemption delays, for edf scheduling for which we extend the work of Leung and Merrill [24] showing that [0, Omax + 2 · H) is a simulation interval (significantly shorter than the general result). We also show that [0, Sn + H) from [16] remains a simulation interval for fixed task priority (ftp) schedulers. Before concluding we open a discussion on the scope of the results, paths for reducing pessimism as well as other potential results opened by this work.","PeriodicalId":192435,"journal":{"name":"Proceedings of the 30th International Conference on Real-Time Networks and Systems","volume":"43 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128300254","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Felipe Lisboa Malaquias, Mihail Asavoae, F. Brandner
{"title":"A Coq Framework for More Trustworthy DRAM Controllers","authors":"Felipe Lisboa Malaquias, Mihail Asavoae, F. Brandner","doi":"10.1145/3534879.3534907","DOIUrl":"https://doi.org/10.1145/3534879.3534907","url":null,"abstract":"In order to prove conformance to memory standards and bound memory access latency, recently proposed real-time DRAM controllers rely on paper and pencil proofs, which can be troubling: they are difficult to read and review, they are often shown only partially and/or rely on abstractions for the sake of conciseness, and they can easily diverge from the controller implementation, as no formal link is established between both. We propose a new framework written in Coq, in which we model a DRAM controller and its expected behaviour as a formal specification. The trustworthiness in our solution comes two-fold: 1) proofs that are typically done on paper and pencil are now done in Coq and thus certified by it’s kernel, and 2) the reviewer’s job develops into making sure that the formal specification matches the standards – instead of performing a thorough check of the underlying mathematical formalism. Our framework provides a generic DRAM model capturing a set of controller properties as proof obligations, which all implementations must comply with. We focus on properties related to the respect of timing constraints imposed by the memory standards, the correctness of the DRAM command protocol and the assertiveness that every incoming request is handled in bounded time. We refine our specification with two implementations based on widely-known arbitration policies – First-in First-Out (FIFO) and Time-Division Multiplexing (TDM). We extract proved code from our model and use it as a “trusted core” on a cycle-accurate DRAM simulator.","PeriodicalId":192435,"journal":{"name":"Proceedings of the 30th International Conference on Real-Time Networks and Systems","volume":"19 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124367009","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Searching for Upper Delay Bounds in FIFO Multiplexing Feedforward Networks","authors":"Alexander Scheffler, J. Schmitt, Steffen Bondorf","doi":"10.1145/3534879.3534894","DOIUrl":"https://doi.org/10.1145/3534879.3534894","url":null,"abstract":"Network technologies are being developed to increase not only performance of data communication but also for provision of deterministic guarantees. Such designs foster the development of distributed real-time applications. When networks must provide time-sensitive communication, a commonly found design feature is First-In First-Out (FIFO) – a natural design for multiplexing different data flows into queues and for scheduling queued data. Alongside technological advancements, there is the development of formal tools to reason about timing behavior. Network Calculus is such a methodology. It has been widely adopted already and its modeling capabilities were extended to features found in modern standards as, e.g., in IEEE Time-Sensitive Networking. However, the basic challenge to compute a deterministic bound on a flow’s worst-case end-to-end delay in FIFO networks still imposes challenges. Different analyses exist but often offer limited scalability. In this paper, we present an analysis with a readily tunable tradeoff between quality of the delay bound and the computational effort it imposes. We combine a greedy algorithm with an iterative directed search whose termination criterion can be adapted, e.g., subject to the analyzed network size. Our approach provides bounds of competitive quality at smaller computational cost than current alternatives for the analysis of feedforward FIFO networks.","PeriodicalId":192435,"journal":{"name":"Proceedings of the 30th International Conference on Real-Time Networks and Systems","volume":"10 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114261038","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Analysis of Federated Scheduling for Integer-Valued Workloads","authors":"M. Sudvarg, C. Gill","doi":"10.1145/3534879.3534892","DOIUrl":"https://doi.org/10.1145/3534879.3534892","url":null,"abstract":"In federated scheduling of parallel real-time tasks on multiprocessor systems, high-utilization tasks are allocated dedicated processors on which they execute exclusively. Several methods exist for allocating a sufficient number of processors to guarantee that each task meets its deadline. In this paper, we propose two new strategies for allocating unit-speed cores to tasks with integer workload and deadline values. The first method can be performed in constant time for each high-utilization task, given the task’s total workload, critical-path length, and deadline. The second method exploits the DAG structure of high-utilization tasks, providing a potentially better schedule in pseudo-polynomial time. We analyze and evaluate these new bounds in the context of existing techniques, and demonstrate that, in practice, they often allocate fewer processor cores. We also present a novel method for assigning an optimal number of dedicated cores to heavy tasks, describe how this method can be used in practice, and consider cases for which this is efficient.","PeriodicalId":192435,"journal":{"name":"Proceedings of the 30th International Conference on Real-Time Networks and Systems","volume":"30 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134200797","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
D. Bujosa, M. Ashjaei, A. Papadopoulos, Thomas Nolte, J. Proenza
{"title":"HERMES: Heuristic Multi-queue Scheduler for TSN Time-Triggered Traffic with Zero Reception Jitter Capabilities","authors":"D. Bujosa, M. Ashjaei, A. Papadopoulos, Thomas Nolte, J. Proenza","doi":"10.1145/3534879.3534906","DOIUrl":"https://doi.org/10.1145/3534879.3534906","url":null,"abstract":"The Time-Sensitive Networking (TSN) standards provide a toolbox of features to be utilized in various application domains.The core TSN features include deterministic zero-jitter and low-latency data transmission and transmitting traffic with various levels of time-criticality on the same network. To achieve a deterministic transmission, the TSN standards define a time-aware shaper that coordinates transmission of Time-Triggered (TT) traffic. In this paper, we tackle the challenge of scheduling the TT traffic and we propose a heuristic algorithm, called HERMES. Unlike the existing scheduling solutions, HERMES results in a significantly faster algorithm run-time and a high number of schedulable networks. HERMES can be configured in two modes of zero or relaxed reception jitter while using multiple TT queues to improve the schedulability. We compare HERMES with a constraint programming (CP)-based solution and we show that HERMES performs better than the CP-based solution if multiple TT queues are used, both with respect to algorithm run-time and schedulability of the networks.","PeriodicalId":192435,"journal":{"name":"Proceedings of the 30th International Conference on Real-Time Networks and Systems","volume":"12 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127521491","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Max J. Friese, Hannes Kallwies, M. Leucker, M. Sachenbacher, Hendrik Streichhahn, Daniel Thoma
{"title":"Runtime Verification of AUTOSAR Timing Extensions","authors":"Max J. Friese, Hannes Kallwies, M. Leucker, M. Sachenbacher, Hendrik Streichhahn, Daniel Thoma","doi":"10.1145/3534879.3534898","DOIUrl":"https://doi.org/10.1145/3534879.3534898","url":null,"abstract":"Meeting timing requirements is essential for the correct behavior of embedded systems in today’s vehicles. In the automotive domain, the AUTOSAR Timing Extensions are a widely used and accepted standard for specifying timing requirements. Previous work focused on defining such timing constraints in a mathematically precise way, using timing-augmented description languages such as TADL2, in order to perform offline system analysis such as automated model checking and verification. However, not all types of timing specification violations can be detected at system development time, and sporadic rare events require a capability for long-term observation of system behavior. Runtime verification is a formal method that considers actual runs of a system, as opposed to static analysis, and checks properties on streams of events using monitors constructed from specifications. In this paper, we investigate how runtime verification can be used to monitor AUTOSAR timing constraints on system traces. First, we analyze the complexity of monitoring different types of AUTOSAR and related TADL2 timing constraints, finding that the constraints belong to different classes defined by the resources required for monitoring. Second, we present a library of timing specifications that implements the AUTOSAR and TADL2 constraints in the temporal stream-based specification language TeSSLa. From these TeSSLa specifications, monitors can then be automatically generated and either compiled to a Scala program executed on the JVM, or alternatively run on specialized hardware such as FPGAs. Finally, experimental results are presented where timing specifications are monitored on synthetically generated traces and real-world traces obtained from an industrial automotive application.","PeriodicalId":192435,"journal":{"name":"Proceedings of the 30th International Conference on Real-Time Networks and Systems","volume":"47 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129553034","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}