{"title":"Predictable Cache Coherence for Multi-core Real-Time Systems","authors":"Mohamed Hassan, A. Kaushik, Hiren D. Patel","doi":"10.1109/RTAS.2017.13","DOIUrl":"https://doi.org/10.1109/RTAS.2017.13","url":null,"abstract":"This work addresses the challenge of allowing simultaneous and predictable accesses to shared data on multicore systems. We propose a predictable cache coherence protocol, which mandates the use of certain invariants to ensure predictability. In particular, we enforce these invariants by augmenting the classic modify-share-invalid (MSI) protocol with transient coherence states, and minimal architectural changes. This allows us to derive worst-case latency bounds on predictable MSI (PMSI) protocol. Our analysis shows that while the arbitration latency scales linearly, the coherence latency scales quadratically with the number of cores, which emphasizes that importance of accounting for cache coherence effects on latency bounds. We implement PMSI in gem5, and execute SPLASH-2 and synthetic workloads. Results show that our approach is always within the analytical worst-case latency bounds, and that PMSI improves averagecase performance by up to 4 over the next best predictable alternative. PMSI has average slowdowns of 1.45 and 1.46 compared to MSI and MESI protocols, respectively.","PeriodicalId":264720,"journal":{"name":"2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS)","volume":"29 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126618715","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":"QoS-Aware Flash Memory Controller","authors":"B. Kim, S. Min","doi":"10.1109/RTAS.2017.36","DOIUrl":"https://doi.org/10.1109/RTAS.2017.36","url":null,"abstract":"NAND flash memory has gained a lot of popularity in recent years, widely used in applications ranging from small mobile devices to high-performance enterprise-class storage. However, the variation and unpredictability of performance caused by concurrent flash translation layer (FTL) tasks in a flash storage system are not desirable qualities especially for real-time systems and make it difficult to guarantee the QoS of the storage system. In this paper we present a QoS-aware flash memory controller (QoSFC) designed for predictable performance. For the workload we consider, QoSFC improves not only the average response time by a factor of 12–38 for reads and 1.4–6.9 for writes, but also the 99.9% QoS by a factor of 29–56 for reads and 2.0–8.5 for writes.","PeriodicalId":264720,"journal":{"name":"2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131360685","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}
Dali Ismail, Mahbubur Rahman, V. P. Modekurthy, Abusayeed Saifullah
{"title":"Work-in-Progress: Utilization Based Schedulability Analysis for Wireless Sensor-Actuator Networks","authors":"Dali Ismail, Mahbubur Rahman, V. P. Modekurthy, Abusayeed Saifullah","doi":"10.1109/RTAS.2017.27","DOIUrl":"https://doi.org/10.1109/RTAS.2017.27","url":null,"abstract":"WirelessHART networks provide the feasibility of achieving real-time performance over wireless through multichannel and graph routing for process monitoring and control applications. However, real-time scheduling theory for Wireless Sensor-Actuator Network (WSAN) is still not well-developed. Besides, the performance of a WSAN induces a complicated problem involving many interrelated objectives and variables, requiring a scheduling-control codesign. This work aims at addressing these challenges. Specifically, we will develop a realtime schedulability analysis for WSAN, and leverage this result to address multiple key challenging problems in wireless Cyber-Physical Systems in the future. Schedulability analysis remains the cornerstone in any real-time system. In WSAN, it is used to determine whether a set of real-time control loops/flows can meet deadlines. It is also used in various scheduling-control codesign, routing, and priority assignment. In this work, we will develop an analysis based on utilization bound. Because of its extremely low runtime overhead, utilization based analysis has been extensively studied in CPU scheduling. However, no work has been done yet on utilization based analysis for multi-hop wireless network. The key challenge arises from transmission conflict and dynamics in wireless. We will address this by characterizing transmission conflict as task blocking in nonpreemptive CPU scheduling, and then by adopting a hierarchical network structure where we will apply the analysis in each subnetwork.","PeriodicalId":264720,"journal":{"name":"2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115039824","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":"Work-in-Progress: Scheduling of Graph-Based End-to-End Tasks for Distributed Multi-criticality Systems","authors":"Juanjuan Wang, Hongan Wang","doi":"10.1109/RTAS.2017.29","DOIUrl":"https://doi.org/10.1109/RTAS.2017.29","url":null,"abstract":"In this paper, we propose a multi-criticality graph-based end-to-end (MCE2E) task model. This task model is abstracted from the fault diagnosing and fixing process of the industrial control systems. The task in this model consists of a collection of nodes representing mixed criticality modes. Each node is defined by a parallel directed acyclic graph, the subtasks of which are pre-allocated to multiprocessors. We propose a preliminary scheme of the multi-criticality scheduling heuristics including the intra-criticality-mode graph structure for tasks at initial criticality modes, as well as the inter-criticality-mode changes via cluster grouping with the node adaption and time partitions for recovery and isolation.","PeriodicalId":264720,"journal":{"name":"2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS)","volume":"3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130159704","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":"Building Real-Time Embedded Applications on QduinoMC: A Web-Connected 3D Printer Case Study (Outstanding Paper)","authors":"Zhuoqun Cheng, R. West, Y. Ye","doi":"10.1109/RTAS.2017.39","DOIUrl":"https://doi.org/10.1109/RTAS.2017.39","url":null,"abstract":"Single Board Computers (SBCs) are now emerging with multiple cores, ADCs, GPIOs, PWM channels, integrated graphics, and several serial bus interfaces. The low power consumption, small form factor and I/O interface capabilities of SBCs with sensors and actuators makes them ideal in embedded and real-time applications. However, most SBCs run non-realtime operating systems based on Linux and Windows, and do not provide a user-friendly API for application development. This paper presents QduinoMC, a multicore extension to the popular Arduino programming environment, which runs on the Quest real-time operating system. QduinoMC is an extension of our earlier single-core, real-time, multithreaded Qduino API. We show the utility of QduinoMC by applying it to a specific application: a web-connected 3D printer. This differs from existing 3D printers, which run relatively simple firmware and lack operating system support to spool multiple jobs, or interoperate with other devices (e.g., in a print farm). We show how QduinoMC empowers devices with the capabilities to run new services without impacting their timing guarantees. While it is possible to modify existing operating systems to provide suitable timing guarantees, the effort to do so is cumbersome and does not provide the ease of programming afforded by QduinoMC.","PeriodicalId":264720,"journal":{"name":"2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125586132","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}
E. Mezzetti, Mikel Fernández, Alen Bardizbanyan, Irune Agirre, J. Abella, T. Vardanega, F. Cazorla
{"title":"EPC Enacted: Integration in an Industrial Toolbox and Use against a Railway Application","authors":"E. Mezzetti, Mikel Fernández, Alen Bardizbanyan, Irune Agirre, J. Abella, T. Vardanega, F. Cazorla","doi":"10.1109/RTAS.2017.19","DOIUrl":"https://doi.org/10.1109/RTAS.2017.19","url":null,"abstract":"Measurement-based timing analysis approaches are increasingly making their way into several industrial domains on account of their good cost-benefit ratio. The trustworthiness of those methods, however, suffers from the limitation that their results are only valid for the particular paths and execution conditions that the user is able to explore with the available input vectors. It is generally not possible to guarantee that the collected measurements are fully representative of the worst-case timing behaviour. In the context of measurement-based probabilistic timing analysis, the Extended Path Coverage (EPC) approach has been recently proposed as a means to extend the representativeness of measurement observations, to obtain the same effect of full path coverage. At the time of its first publication, EPC had not reached an implementation maturity that could be trialled industrially. In this work we analyze the practical implications of using EPC with real-world applications, and discuss the challenges in integrating it in an industrial-quality toolchain. We show that we were able to meet EPC requirements and successfully evaluate the technique on a real Railway application, on top of a commercial toolchain and full execution stack.","PeriodicalId":264720,"journal":{"name":"2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130092987","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}
Christian J. Dietrich, Peter Wägemann, Peter Ulbrich, D. Lohmann
{"title":"SysWCET: Whole-System Response-Time Analysis for Fixed-Priority Real-Time Systems (Outstanding Paper)","authors":"Christian J. Dietrich, Peter Wägemann, Peter Ulbrich, D. Lohmann","doi":"10.1109/RTAS.2017.37","DOIUrl":"https://doi.org/10.1109/RTAS.2017.37","url":null,"abstract":"The worst-case response time (WCRT) – the time span from release to completion of a real-time task – is a crucial property of real-time systems. However, WCRT analysis is complex in practice, as it depends not only on the realistic examination of worst-case execution times (WCET), but also on system-level overheads and blocking/preemption times. While the implicit path enumeration technique (IPET) has greatly improved automated WCET analysis, the resulting values still need to be aggregated manually with the system-level overheads – an errorprone and tedious process that yields overly pessimistic results. With SysWCET, we provide an integrated approach for the automated WCRT analysis across multiple threads of execution, locks, interrupt service routines, and the real-time operating system (RTOS) in particular. Our approach spans a single IPET formulation over the whole system and exploits RTOS and scheduler semantics to derive cross-kernel flow facts in order to significantly reduce pessimism in the WCRT analysis. We evaluate our approach with a fully functional implementation of SysWCET for the automotive OSEK-OS standard (ECC1), including threads, alarms, interrupt-service routines, events, and PCP-based resource management.","PeriodicalId":264720,"journal":{"name":"2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130169095","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}
R. Henia, L. Roux, Nicolas Sordon, Zain Alabedin Haj Hammadeh, R. Ernst, Sophie Quinton
{"title":"Demo Abstract: Bounding Deadline Misses for Weakly-Hard Real-Time Systems Designed in CAPELLA","authors":"R. Henia, L. Roux, Nicolas Sordon, Zain Alabedin Haj Hammadeh, R. Ernst, Sophie Quinton","doi":"10.1109/RTAS.2017.22","DOIUrl":"https://doi.org/10.1109/RTAS.2017.22","url":null,"abstract":"Real-time systems with functional dependencies between tasks often require guarantees on end-to-end delays. For many of these systems, end-to-end deadline misses are accepted if one can limit their frequency. Such systems are called weaklyhard. Recent work has shown that typical worst-case analysis (TWCA) can compute an upper bound on the number of potential deadline misses in a sequence of activations of a task chain. In a joint collaboration between Thales and TU Braunschweig, the use of TWCA to limit the number of deadline misses in an aerial video tracking (AVT) system was evaluated. The AVT case-study, the complete automated model-based tool chain from the design environment to the timing verification using TWCA, as well as the results of the evaluation will be presented in the demonstration. The tool chain involves four tools: the design modeling tool CAPELLA extended by a performance viewpoint which allows annotating the design model with timing properties needed to perform TWCA, the pivot model TEMPO which handles mismatches between the semantics of the design model and the semantics of the model used in TWCA, the scheduling analysis tool pyCPA that performs TWCA and finally the graphical tool TimingGraphics used to visualize the TWCA results. To show the pertinence of the use of TWCA, we will also compare in the demonstration the obtained results with those obtained using worst-case analysis and simulation.","PeriodicalId":264720,"journal":{"name":"2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS)","volume":"11 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133844127","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":"Work-in-Progress: Reducing Cache Conflicts via Interrupts and BUNDLE Scheduling","authors":"Corey Tessler, Gedare Bloom, N. Fisher","doi":"10.1109/RTAS.2017.30","DOIUrl":"https://doi.org/10.1109/RTAS.2017.30","url":null,"abstract":"In \"BUNDLE: Real-Time Multi-Threaded Scheduling to Reduce Cache Contention\" Tessler and Fisher present a positive perspective of instruction caches for hard real-time multithreaded tasks. The thread-aware scheduling algorithm limits the execution of threads to sets of instructions that cannot result in cache conflicts. Identification of these sets result in conflict free regions which are used to identify scheduling groups called bundles in the BUNDLE scheduling algorithm. Placement of a thread in a particular bundle depends on, what the authors call, \"anticipating execution\". However, they do not define a complete mechanism to anticipate execution. In this work, we propose a method to anticipate execution that modifies cache hardware and introduces a new interrupt raised prior to a cache conflict. This new interrupt is combined with (a slightly modified version of) the BUNDLE scheduling algorithm. The intent is to implement these hardware modifications for ARM on the gem5 simulator with the scheduling algorithm integrated into the RTEMS operating system. The hope is this work serves as further motivation to bring the positive perspective of caches to physical processors and operating systems.","PeriodicalId":264720,"journal":{"name":"2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS)","volume":"43 9 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125671196","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}
Tianyu Zhang, Tao Gong, Chuancai Gu, Huayi Ji, Song Han, Qingxu Deng, X. Hu
{"title":"Distributed Dynamic Packet Scheduling for Handling Disturbances in Real-Time Wireless Networks","authors":"Tianyu Zhang, Tao Gong, Chuancai Gu, Huayi Ji, Song Han, Qingxu Deng, X. Hu","doi":"10.1109/RTAS.2017.11","DOIUrl":"https://doi.org/10.1109/RTAS.2017.11","url":null,"abstract":"Real-time wireless networks (RTWNs) are fundamental to many Internet-of-Things (IoT) applications. Packet scheduling in an RTWN plays a critical role for achieving desired performance but is a challenging problem especially when the RTWN is large and subject to unexpected disturbances from the environment. Few solutions exist to tackle this challenge but they suffer serious limitations. This paper introduces a novel distributed dynamic packet scheduling framework, D2-PaS. D2-PaS aims to minimize the number of dropped packets while ensuring that all critical events due to disturbances are handled by their deadlines. D2-PaS builds on a number of observations that help reduce the scheduling overhead, and thus is efficient and scalable. Besides extensive simulation, D2-PaS has been implemented on an RTWN testbed to validate its applicability on real hardware. Both testbed measurements and simulation results confirm the effectiveness of D2-PaS. Compared to the best known work, D2-PaS reduces packet drop rates by 65% and 90% on average and in the best case, respectively, and also achieves 100% success for all the randomly generated task sets.","PeriodicalId":264720,"journal":{"name":"2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS)","volume":"50 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130221746","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}