Real-Time Scheduling II: Compositional Scheduling Framework Insik Shin Dept. of Computer Science KAIST.

Slides:



Advertisements
Similar presentations
Hadi Goudarzi and Massoud Pedram
Advertisements

Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
OPEN PROBLEMS IN MULTI-MODAL SCHEDULING THEORY FOR THERMAL-RESILIENT MULTICORE SYSTEMS Nathan Fisher, Masud Ahmed, and Pradeep Hettiarachchi Department.
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
RUN: Optimal Multiprocessor Real-Time Scheduling via Reduction to Uniprocessor Paul Regnier † George Lima † Ernesto Massa † Greg Levin ‡ Scott Brandt ‡
1 Deferrable Scheduling for Temporal Consistency: Schedulability Analysis and Overhead Reduction Ming Xiong : Lucent Bell Labs Song Han: City University.
Real-Time Scheduling CIS700 Insup Lee October 3, 2005 CIS 700.
Fair Real-time Traffic Scheduling over A Wireless Local Area Network Maria Adamou, Sanjeev Khanna, Insup Lee, Insik Shin, and Shiyu Zhou Dept. of Computer.
On Schedulability and Time Composability of Data Aggregation Networks Fatemeh Saremi *, Praveen Jayachandran †, Forrest Iandola *, Md Yusuf Sarwar Uddin.
Soft Real-Time Semi-Partitioned Scheduling with Restricted Migrations on Uniform Heterogeneous Multiprocessors Kecheng Yang James H. Anderson Dept. of.
Realizing Compositional Scheduling through Virtualization Jaewoo Lee, Sisu Xi, Sanjian Chen, Linh T.X. Phan Chris Gill, Insup Lee, Chenyang Lu, Oleg Sokolsky.
SIGMETRICS 2008: Introduction to Control Theory. Abdelzaher, Diao, Hellerstein, Lu, and Zhu. CPU Utilization Control in Distributed Real-Time Systems Chenyang.
Computer Science Deadline Fair Scheduling: Bridging the Theory and Practice of Proportionate-Fair Scheduling in Multiprocessor Servers Abhishek Chandra.
26 April A Compositional Framework for Real-Time Guarantees Insik Shin and Insup Lee Real-time Systems Group Systems Design Research Lab Dept. of.
Scheduling with Optimized Communication for Time-Triggered Embedded Systems Slide 1 Scheduling with Optimized Communication for Time-Triggered Embedded.
System-Wide Energy Minimization for Real-Time Tasks: Lower Bound and Approximation Xiliang Zhong and Cheng-Zhong Xu Dept. of Electrical & Computer Engg.
Simulation Relations, Interface Complexity, and Resource Optimality for Real-Time Hierarchical Systems Insup Lee PRECISE Center Department of Computer.
Strategic Directions in Real- Time & Embedded Systems Aatash Patel 18 th September, 2001.
GHS: A Performance Prediction and Task Scheduling System for Grid Computing Xian-He Sun Department of Computer Science Illinois Institute of Technology.
Enhancing the Platform Independence of the Real-Time Specification for Java Andy Wellings, Yang Chang and Tom Richardson University of York.
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
Technische Universität Dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2007/12/14.
October 3, 2005CIS 7001 Compositional Real-Time Scheduling Framework Insik Shin.
Multiprocessor Real- Time Scheduling Aaron Harris CSE 666 Prof. Ganesan.
Fair Real-time Traffic Scheduling over Wireless Local Area Networks Insik Shin Joint work with M. Adamou, S. Khanna, I. Lee, and S. Zhou Dept. of Computer.
Towards a Contract-based Fault-tolerant Scheduling Framework for Distributed Real-time Systems Abhilash Thekkilakattil, Huseyin Aysan and Sasikumar Punnekkat.
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
Jim Anderson 1 Multiprocessor Fair Scheduling The Case for Multiprocessor Fair Scheduling James H. Anderson University of North Carolina at Chapel Hill.
The Design of an EDF- Scheduled Resource-Sharing Open Environment Nathan Fisher Wayne State University Marko Bertogna Scuola Superiore Santa’Anna of Pisa.
Baoxian Zhao Hakan Aydin Dakai Zhu Computer Science Department Computer Science Department George Mason University University of Texas at San Antonio DAC.
Composability and Schedulability of Real-Time Applications in Open Environments Nathan Fisher Department of Computer Science Wayne State University.
Computer Science Department University of Pittsburgh 1 Evaluating a DVS Scheme for Real-Time Embedded Systems Ruibin Xu, Daniel Mossé and Rami Melhem.
Non-Preemptive Access to Shared Resources in Hierarchical Real-Time Systems Marko Bertogna, Fabio Checconi, Dario Faggioli CRTS workshop – Barcelona, November,
Quantifying the Sub-optimality of Non-preemptive Real-time Scheduling Abhilash Thekkilakattil, Radu Dobrin and Sasikumar Punnekkat.
Real-Time Systems Hierarchical Real-Time Systems for Imprecise Computation Model The 5th EuroSys Doctoral Workshop (EuroDW 2011) Guy Martin.
Efficient Admission Control for Enforcing Arbitrary Real-Time Demand-Curve Interfaces Farhana Dewan and Nathan Fisher RTSS, December 6 th, 2012 Sponsors:
Multiprocessor Real-time Scheduling Jing Ma 马靖. Classification Partitioned Scheduling In the partitioned approach, the tasks are statically partitioned.
DESIGNING VM SCHEDULERS FOR EMBEDDED REAL-TIME APPLICATIONS Alejandro Masrur, Thomas Pfeuffer, Martin Geier, Sebastian Drössler and Samarjit Chakraborty.
National Taiwan University Department of Computer Science and Information Engineering 1 Optimal Real-Time Scheduling for Uniform Multiprocessors 薛智文 助理教授.
Real-Time Systems Mark Stanovich. Introduction System with timing constraints (e.g., deadlines) What makes a real-time system different? – Meeting timing.
Analysis of Real-Time Multi-Modal FP-Scheduled Systems with Non-Preemptible Regions Authors: Masud Ahmed (presenting) Pradeep Hettiarachchi Nathan Fisher.
The Packing Server for Real-time Scheduling of MapReduce Workflows Shen Li, Shaohan Hu, Tarek Abdelzaher University of Illinois at Urbana Champaign 1.
A Node and Load Allocation Algorithm for Resilient CPSs under Energy-Exhaustion Attack Tam Chantem and Ryan M. Gerdes Electrical and Computer Engineering.
Hierarchical Quorum Consensus: A New Algorithm for Managing Replicated Data Akhil Kumar IEEE TRANSACTION ON COMPUTERS, VOL.40, NO.9, SEPTEMBER 1991.
The Global Limited Preemptive Earliest Deadline First Feasibility of Sporadic Real-time Tasks Abhilash Thekkilakattil, Sanjoy Baruah, Radu Dobrin and Sasikumar.
The 32nd IEEE Real-Time Systems Symposium Meeting End-to-End Deadlines through Distributed Local Deadline Assignment Shengyan Hong, Thidapat Chantem, X.
Real-time Virtual Resource: a Timely Abstraction for Embedded Systems Aloysius K. Mok Alex Xiang Feng Dept. of Computer Sciences University of Texas at.
Distributed Multimedia Systems Resource management and Stream Adaptation Arun A Tharuvai CSC8530 October 21, 2003.
Object-Oriented Design and Implementation of the OE-Scheduler in Real-time Environments Ilhyun Lee Cherry K. Owen Haesun K. Lee The University of Texas.
1 SYNTHESIS of PIPELINED SYSTEMS for the CONTEMPORANEOUS EXECUTION of PERIODIC and APERIODIC TASKS with HARD REAL-TIME CONSTRAINTS Paolo Palazzari Luca.
1 Job Scheduling for Grid Computing on Metacomputers Keqin Li Proceedings of the 19th IEEE International Parallel and Distributed Procession Symposium.
1 Scheduling Processes with Release Times, Deadlines, Precedence and Exclusion Relations J. Xu and D. L. Parnas IEEE Transactions on Software Engineering,
Real-Time Support for Mobile Robotics K. Ramamritham (+ Li Huan, Prashant Shenoy, Rod Grupen)
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
ECE555 Topic Presentation Energy-efficient real-time scheduling Xing Fu 20 September 2008 Acknowledge Dr. Jian-Jia Chen from ETH providing PPT Slides for.
Real-Time Operating System Design
Mok & friends. Resource partition for real- time systems (RTAS 2001)
Task Mapping and Partition Allocation for Mixed-Criticality Real-Time Systems Domițian Tămaș-Selicean and Paul Pop Technical University of Denmark.
ECRTS/WiP, July 2009 André M. van Renssen, TU/e, Mathematics & Computer Science 1 André M. van Renssen, Stefan J. Geuns, Joost.
Introductory Seminar on Research CIS5935 Fall 2008 Ted Baker.
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
THE DEADLINE-BASED SCHEDULING OF DIVISIBLE REAL-TIME WORKLOADS ON MULTIPROCESSOR PLATFORMS Suriayati Chuprat Supervisors: Professor Dr Shaharuddin Salleh.
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Optimization of Time-Partitions for Mixed-Criticality Real-Time Distributed Embedded Systems Domițian Tămaș-Selicean and Paul Pop Technical University.
Embedded System Scheduling
OPERATING SYSTEMS CS 3502 Fall 2017
Multiprocessor Real-Time Scheduling
Urban Sensing Based on Human Mobility
Sanjoy Baruah The University of North Carolina at Chapel Hill
Presentation transcript:

Real-Time Scheduling II: Compositional Scheduling Framework Insik Shin Dept. of Computer Science KAIST

Timing Composition  What is a problem?  How to compose two or more timing properties into a single timing property T1T1 T2T2 T3T3

Timing Composition  What is a problem?  How to compose two or more timing properties into a single timing property  How useful is it?  It serves as a basis for the design and analysis of component- based real-time systems  i.e., for real-time component interfaces that abstract the collective timing requirements of individual workloads within components T1T1 T2T2 T3T3

Hierarchical Scheduling 4 CPU Task Scheduler S Task S Application 1 (component) Application 2 (component) EDF RMEDF

Hierarchical Scheduling - Issues 5  System-level scheduler ’ s viewpoint CPU Task Scheduler S Task S What is the real-time requirements of each application ? Application 1Application 2

Hierarchical Scheduling - Issues 6 CPU  Application-level scheduler ’ s viewpoint Scheduler Task S S CPU Share Real-time guarantees from CPU supply? How can we achieve schedulability analysis with this CPU share?

Proposed Framework - Overview 7  Interface-based hierarchical scheduling framework CPU Scheduler Task S S interface

Proposed Framework - Approaches 8  Interface-based hierarchical scheduling framework  Approach  Propose a new real-time resource model (periodic)  Extend real-time scheduling theories with the new resource model  Develop interfaces with these results  Use interfaces for component-based schedulabililty analysis

Proposed Framework - Assumptions 9  Tasks  periodic  independent  fully preemptable  synchronously released  Uni-processor scheduling  Scheduling algorithms : EDF / RM scheduler task resource task

Outline 10  Compositional Real-time Scheduling Framework  Motivation   Schedulability Analysis  Component Timing Abstraction Real-Time Resource Model

Real-Time Resource Modeling 11  Real-time virtual resource model  Characterize the timing property of resource allocations provided to a single task (application/ component)  Previous approaches  rate-based resource model  Our approach  temporally partitioned resource model task 2task 1 scheduler resource

Resource Modeling  Dedicated resource  available at all times at full capacity  Rate-based shared resource  available at fractional capacity at all times  Time-shared resource  availabe at full capacity at some times time task resource task scheduler time task

Periodic Resource Model 13  Periodic resource model Γ ( P,Q )  a time-shared resource,  characterizes periodic resource allocations  period P and allocation time Q  Resource utilization U Γ = Q/P  Example, P = 3, Q = time

Outline 14  Compositional Real-time Scheduling Framework  Motivation  Real-time Resource Modeling  Schedulability Analysis  Component Timing Abstraction Schedulability Analysis

Traditional Schedulability Analysis 15  Demand-based analysis with dedicated resource ≤ resource demand during an interval of length t Task Scheduler t

Schedulability Analysis 16  Demand- and supply-based analysis with periodic (time- shared) resource ≤ resource supply, during an interval of length t resource demand during an interval of length t Task Scheduler Periodic Resource

Resource Demand Bound  Resource demand bound function  dbf(W,A,t) : the maximum possible resource demand of a task set W under algorithm A during an interval of length t 17

Demand Bound Functions  For a periodic task set W = {T i (p i,e i )},  dbf (W,A,t) for EDF [Baruah et al., ‘ 90]  dbf (W,A,t,i) for RM [Lehoczky et al., ‘ 89] 18

Resource Supply 19  Resource supply bound function  sbf Γ (t) : the minimum resource supply by resource Γ over all intervals of length t  Periodic resource Γ (3,2) 0time Γ (3,2) t =1 t =2 t =3 t =5 t =4 t =1

Periodic Resource Model  Supply bound function sbf Γ (t) t supply

Schedulability Condition - EDF  A periodic task set W is schedulable under EDF if and only if [Baruah et al. ’ 90] 21 over the worst-case resource supply of periodic resource model Γ (P,Q) [Shin & Lee, ’03]

Schedulability Condition - RM  A periodic task set W is schedulable under RM over the worst-case resource supply of periodic resource model Γ(P,Q) if and only if [Shin & Lee, ’03] 22

Schedulability Analysis 23  Demand- and supply-based analysis ≤ resource supply, P. Task EDF/RM Periodic Resource resource demand naturally extensible with other scheduler, task models, and/or resource models, as long as they can provide resource demand and supply bounds.

Outline 24  Compositional Real-time Scheduling Framework  Motivation  Resource Modeling  Schedulability Analysis  Component Timing Abstraction Component Timing Abstraction

 Abstracting the collective real-time requirements of a component as a single real-time requirement (real-time component interface) 25 Periodic (50,7) EDF Periodic (70,9) real-time component interface Periodic (50,7) Periodic (70,9) Real-Time Requirement EDF

Component Timing Abstraction  Finding a periodic resource model Γ (P,Q) that guarantees the schedulability of a component 26 Periodic (50,7) EDF Periodic (70,9) real-time component interface periodic resource Γ (P,Q) periodic interface Γ (P,Q)

Abstraction - Example  In this example, a solution space of a periodic resource Γ (P,Q) is 27 Γ (P,Q) Periodic (50,7) EDF Periodic (70,9)

Abstraction - Example  An approach to pick one out of solution space  Given a range of P, we can pick Γ (P,Q) such that U Γ is minimized. (for example, 28 ≤ P ≤ 46) 28 Γ (P,Q) Periodic (50,7) EDF Periodic (70,9) Γ (29, 9.86)

Abstraction 29 periodic interface Γ (29, 9.86) U W =0.27U Γ =0.34 Periodic (50,7) EDF Periodic (70,9)

Abstraction Overhead  Abstraction overhead (O Γ ) is 30 periodic interface Γ (29, 9.86) U W =0.27U Γ = /0.27 – 1 = 0.26 Periodic (50,7) EDF Periodic (70,9)

Abstraction Overhead Bound  Abstraction overhead (O Γ ) is  A = EDF  A = RM 31

Abstraction Overhead 32  Simulation Results  with periodic tasks and periodic resource under EDF/RM  the number of tasks n : 2, 4, 8, 16, 32, 64  the workload utilization U(W) : 0.2~0.7  ratio between the resource period and minimum task period : represented by k

Abstraction Overhead 33  k ≈ P min /P, U W = 0.4, n = 8

Conclusion  Compositional scheduling framework  Allows composition of multiple timing properties into one  Provides key techniques for component-based design over real-time systems  Naturally applicable to many domains, including some systems areas such as  Hypervisor + guest OS  Distributed systems

Key References 35  Compositional real-time scheduling framework  Periodic, independent tasks over uniprocessor  RTSS ’03 (Best Paper), ’04, EMSOFT ’06  ACM TECS (Trans. on Embedded Computing Systems)’08  Synchronization  RTSS ’08 (Best Paper Runner-Up), EMSOFT ’07  IEEE TII (Transactions on Industrial Informatics) ’09  Multiprocessors  ECRTS ’08 (Best Paper Runner-Up)  Real-Time Systems Journal ’09