Wanja Hofer, D. Lohmann, Wolfgang Schröder-Preikschat
{"title":"Sleepy Sloth: Threads as Interrupts as Threads","authors":"Wanja Hofer, D. Lohmann, Wolfgang Schröder-Preikschat","doi":"10.1109/RTSS.2011.14","DOIUrl":"https://doi.org/10.1109/RTSS.2011.14","url":null,"abstract":"Event latency is considered to be one of the most important properties when selecting an event-driven real-time operating system. This is why in previous work on the Sloth kernel, we suggested treating threads as ISRs -- executing all application code in an interrupt context -- and thereby reducing event latencies by scheduling and dispatching solely in hardware. However, to achieve these benefits, Sloth does not support blocking threads or ISRs, but requires all control flows to have run-to-completion semantics. In this paper, we present Sleepy Sloth, an extension of Sloth that provides a new generalized thread abstraction that overcomes this limitation, while still letting the hardware do all scheduling and dispatching. Sleepy Sloth abolishes the (artificial) distinction between threads and ISRs: Threads can be dispatched as efficiently as interrupt handlers and interrupt handlers can be scheduled as flexibly as threads. Our Sleepy Sloth implementation of the automotive OSEK OS standard provides much more flexibility to application developers while maintaining efficient execution of application control flows. Sleepy Sloth runs on commodity off-the-shelf hardware and outperforms a leading commercial OSEK implementation by a factor of 1.3 to 19.","PeriodicalId":248441,"journal":{"name":"2011 IEEE 32nd Real-Time Systems Symposium","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116035654","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}
S. Kato, Karthik Lakshmanan, Aman Kumar, Mihir Kelkar, Y. Ishikawa, R. Rajkumar
{"title":"RGEM: A Responsive GPGPU Execution Model for Runtime Engines","authors":"S. Kato, Karthik Lakshmanan, Aman Kumar, Mihir Kelkar, Y. Ishikawa, R. Rajkumar","doi":"10.1109/RTSS.2011.13","DOIUrl":"https://doi.org/10.1109/RTSS.2011.13","url":null,"abstract":"General-purpose computing on graphics processing units, also known as GPGPU, is a burgeoning technique to enhance the computation of parallel programs. Applying this technique to real-time applications, however, requires additional support for timeliness of execution. In particular, the non-preemptive nature of GPGPU, associated with copying data to/from the device memory and launching code onto the device, needs to be managed in a timely manner. In this paper, we present a responsive GPGPU execution model (RGEM), which is a user-space runtime solution to protect the response times of high-priority GPGPU tasks from competing workload. RGEM splits a memory-copy transaction into multiple chunks so that preemption points appear at chunk boundaries. It also ensures that only the highest-priority GPGPU task launches code onto the device at any given time, to avoid performance interference caused by concurrent launches. A prototype implementation of an RGEM-based CUDA runtime engine is provided to evaluate the real-world impact of RGEM. Our experiments demonstrate that the response times of high-priority GPGPU tasks can be protected under RGEM, whereas their response times increase in an unbounded fashion without RGEM support, as the data sizes of competing workload increase.","PeriodicalId":248441,"journal":{"name":"2011 IEEE 32nd Real-Time Systems Symposium","volume":"37 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127042557","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":"The Partitioned EDF Scheduling of Sporadic Task Systems","authors":"Sanjoy Baruah","doi":"10.1109/RTSS.2011.18","DOIUrl":"https://doi.org/10.1109/RTSS.2011.18","url":null,"abstract":"The partitioned scheduling of sporadic task systems on identical multiprocessors is considered. This is known to be intractable (NP-hard in the strong sense). A polynomial-time approximation scheme (PTAS) is proposed for sporadic task systems satisfying the additional constraint that for each of the three parameters -- worst-case execution time, relative deadline, and period -- that characterize sporadic tasks, the ratio of the largest value to the smallest value is bounded from above by a constant.","PeriodicalId":248441,"journal":{"name":"2011 IEEE 32nd Real-Time Systems Symposium","volume":"11 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127483929","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":"Scalable and Precise Refinement of Cache Timing Analysis via Model Checking","authors":"Sudipta Chattopadhyay, Abhik Roychoudhury","doi":"10.1109/RTSS.2011.25","DOIUrl":"https://doi.org/10.1109/RTSS.2011.25","url":null,"abstract":"Hard real time systems require absolute guarantees in their execution times. Worst case execution time (WCET) of a program has therefore become an important problem to address. However, performance enhancing features of a processor (e.g. cache) make WCET analysis a difficult problem. In this paper, we propose a novel approach of combining abstract interpretation and model checking for different varieties of cache analysis ranging from single to multi-core platforms. Our modeling is used to develop a precise yet scalable timing analysis method on top of the Chronos WCET analysis tool. Experimental results demonstrate that we can obtain significant improvement in precision with reasonable analysis time overhead.","PeriodicalId":248441,"journal":{"name":"2011 IEEE 32nd Real-Time Systems Symposium","volume":"13 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125011166","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":"Scalable Fixed-Point Free Instruction Cache Analysis","authors":"D. Hardy, Benjamin Lesage, I. Puaut","doi":"10.1109/RTSS.2011.26","DOIUrl":"https://doi.org/10.1109/RTSS.2011.26","url":null,"abstract":"Estimating worst-case execution times (WCETs) for architectures with caches requires the worst-case number of cache misses to be upper bounded. Most existing static cache analysis methods use fixed-point computation and do not scale well with large code sizes. To address this scalability issue, we propose in this paper a new fast and scalable instruction cache analysis technique. In contrast to existing work, neither fixed point computation nor heavyweight interprocedural analysis are required. Thus, code sizes too long to analyze with existing techniques are then analyzable with lower analysis time and memory consumption, and with only a slight degradation of the analysis precision. Experimental results show a reduction of the analysis execution time of a factor 5 in average (with a peak near 30 for the largest and most complex code) with only a degradation of the analysis precision of 0.5% in average. The proposed technique is intended to be used in situations where the need for fast analysis outweighs the need for very tight results: early software development phases, timing analysis of large pieces of software, or iterative WCET-oriented compiler optimizations.","PeriodicalId":248441,"journal":{"name":"2011 IEEE 32nd Real-Time Systems Symposium","volume":"112 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115480949","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}
C. Kenna, Jonathan L. Herman, Björn B. Brandenburg, A. Mills, James H. Anderson
{"title":"Soft Real-Time on Multiprocessors: Are Analysis-Based Schedulers Really Worth It?","authors":"C. Kenna, Jonathan L. Herman, Björn B. Brandenburg, A. Mills, James H. Anderson","doi":"10.1109/RTSS.2011.16","DOIUrl":"https://doi.org/10.1109/RTSS.2011.16","url":null,"abstract":"The evolution of multicore platforms has led to much recent work on multiprocessor scheduling techniques for soft real-time workloads. However, end users routinely run such workloads atop general-purpose operating systems with seemingly good results, albeit typically on over-provisioned systems. This raises the question: when, if ever, is the use of an analysis-based scheduler actually warranted? In this paper, this question is addressed via a video-decoding case study in which a scheme based on the global earliest-deadline-first (GEDF) algorithm was compared against Linux's CFS scheduler. In this study, the GEDF-based scheme proved to be superior under heavy workloads in terms of several timing metrics, including jitter and deadline tardiness. Prior to discussing these results, an explanation of how existing GEDF-related scheduling theory was applied to provision the studied system is given and various \"mismatches\" between theoretical assumptions and practice that were faced are discussed.","PeriodicalId":248441,"journal":{"name":"2011 IEEE 32nd Real-Time Systems Symposium","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129274047","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}
P. Regnier, George Lima, Ernesto Massa, Greg Levin, S. Brandt
{"title":"RUN: Optimal Multiprocessor Real-Time Scheduling via Reduction to Uniprocessor","authors":"P. Regnier, George Lima, Ernesto Massa, Greg Levin, S. Brandt","doi":"10.1109/RTSS.2011.17","DOIUrl":"https://doi.org/10.1109/RTSS.2011.17","url":null,"abstract":"Optimal multiprocessor real-time schedulers incur significant overhead for preemptions and migrations. We present RUN, an efficient scheduler that reduces the multiprocessor problem to a series of uniprocessor problems. RUN significantly outperforms existing optimal algorithms with an upper bound of O(log m) average preemptions per job on m processors (less than 3 per job in all of our simulated task sets) and reduces to Partitioned EDF whenever a proper partitioning is found.","PeriodicalId":248441,"journal":{"name":"2011 IEEE 32nd Real-Time Systems Symposium","volume":"51 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127838968","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":"Effective and Efficient Scheduling of Certifiable Mixed-Criticality Sporadic Task Systems","authors":"Nan Guan, Pontus Ekberg, Martin Stigge, W. Yi","doi":"10.1109/RTSS.2011.10","DOIUrl":"https://doi.org/10.1109/RTSS.2011.10","url":null,"abstract":"An increasing trend in embedded system design is to integrate components with different levels of criticality into a shared hardware platform for better cost and power efficiency. Such mixed-criticality systems are subject to certifications at different levels of rigorousness, for validating the correctness of different subsystems on various confidence levels. The real-time scheduling of certifiable mixed-criticality systems has been recognized to be a challenging problem, where using traditional scheduling techniques may result in unacceptable resource waste. In this paper we present an algorithm called PLRS to schedule certifiable mixed-criticality sporadic tasks systems. PLRS uses fixed-job-priority scheduling, and assigns job priorities by exploring and balancing the asymmetric effects between the workload on different criticality levels. Comparing with the state-of-the-art algorithm by Li and Baruah for such systems, which we refer to as LB, PLRS is both more effective and more efficient: (i) The schedulability test of PLRS not only theoretically dominates, but also on average significantly outperforms LB's. (ii) The run-time complexity of PLRS is polynomial (quadratic in the number of tasks), which is much more efficient than the pseudo-polynomial run-time complexity of LB.","PeriodicalId":248441,"journal":{"name":"2011 IEEE 32nd Real-Time Systems Symposium","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128829928","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":"TelosCAM: Identifying Burglar through Networked Sensor-Camera Mates with Privacy Protection","authors":"Shaojie Tang, Xiangyang Li, Haitao Zhang, Jiankang Han, Guojun Dai, Cheng Wang, Xingfa Shen","doi":"10.1109/RTSS.2011.37","DOIUrl":"https://doi.org/10.1109/RTSS.2011.37","url":null,"abstract":"We present TelosCAM, a networking system that integrates wireless module nodes (such as TelosB nodes) with legacy surveillance cameras to provide storage-efficient and privacy-aware services of accurate, real time tracking and identifying of the burglar who stole the property. In our system, a property owner will have a wireless module node (called secondary module) attached to the property that s/he wants to protect. The secondary wireless module node will not store any personal information about the owner, nor any specific information about the property to be protected. Each user of the system will also have a unique wireless module node (called primary module) that contains some security information about the user, thus should be privately held by the user and be kept to the user always. Once a tracking process is triggered in privacy preserving manner, the secondary module will start sending out the alarm signal periodically. The alarm signal will be captured by some surveillance wireless module, integrated with existing surveillance cameras. Using the trajectory information provided by the secondary wireless module node, and the videos captured by the surveillance cameras, our system will then automatically pinpoint a burglar (e.g., a person or a car) that is more likely to carry the stolen property. Our extensive evaluation of the system shows that we can find the burglars with surprisingly high accuracy under various experiment settings, with significantly reduced storage-requirement of the legacy video surveillance system. It also can help the police to catch the burglars more efficiently by providing critical images or videos containing the burglars.","PeriodicalId":248441,"journal":{"name":"2011 IEEE 32nd Real-Time Systems Symposium","volume":"17 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117139425","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}
Zheng Li, Pei-Chi Huang, A. Mok, Truong X. Nghiem, Madhur Behl, George J. Pappas, R. Mangharam
{"title":"On the Feasibility of Linear Discrete-Time Systems of the Green Scheduling Problem","authors":"Zheng Li, Pei-Chi Huang, A. Mok, Truong X. Nghiem, Madhur Behl, George J. Pappas, R. Mangharam","doi":"10.1109/RTSS.2011.34","DOIUrl":"https://doi.org/10.1109/RTSS.2011.34","url":null,"abstract":"Peak power consumption of buildings in large facilities like hospitals and universities becomes a big issue because peak prices are much higher than normal rates. During a power demand surge an automated power controller of a building may need to schedule ON and OFF different environment actuators such as heaters and air quality control while maintaining the state variables such as temperature or air quality of any room within comfortable ranges. The green scheduling problem asks whether a scheduling policy is possible for a system and what is the necessary and sufficient condition for systems to be feasible. In this paper we study the feasibility of the green scheduling problem for HVAC(Heating, Ventilating, and Air Conditioning) systems which are approximated by a discrete-time model with constant increasing and decreasing rates of the state variables. We first investigate the systems consisting of two tasks and find the analytical form of the necessary and sufficient conditions for such systems to be feasible under certain assumptions. Then we present our algorithmic solution for general systems of more than 2 tasks. Given the increasing and decreasing rates of the tasks, our algorithm returns a subset of the state space such that the system is feasible if and only if the initial state is in this subset. With the knowledge of that subset, a scheduling policy can be computed on the fly as the system runs, with the flexibility to add power-saving, priority-based or fair sub-policies.","PeriodicalId":248441,"journal":{"name":"2011 IEEE 32nd Real-Time Systems Symposium","volume":"30 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132485784","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}