26 April 20041 A Compositional Framework for Real-Time Guarantees Insik Shin and Insup Lee Real-time Systems Group Systems Design Research Lab Dept. of.

Slides:



Advertisements
Similar presentations
Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
Advertisements

OPEN PROBLEMS IN MULTI-MODAL SCHEDULING THEORY FOR THERMAL-RESILIENT MULTICORE SYSTEMS Nathan Fisher, Masud Ahmed, and Pradeep Hettiarachchi Department.
RUN: Optimal Multiprocessor Real-Time Scheduling via Reduction to Uniprocessor Paul Regnier † George Lima † Ernesto Massa † Greg Levin ‡ Scott Brandt ‡
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.
Resource Management for Real-Time Environments Instructor: Dr. Subra Ganesan Presented by: Pooja Mehta Date: 10/16/06.
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.
Computer Science Deadline Fair Scheduling: Bridging the Theory and Practice of Proportionate-Fair Scheduling in Multiprocessor Servers Abhishek Chandra.
Bogdan Tanasa, Unmesh D. Bordoloi, Petru Eles, Zebo Peng Department of Computer and Information Science, Linkoping University, Sweden December 3, 2010.
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.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
Real-Time Systems Group Accounting for Cache Related Pre-emption Delays in Hierarchal Scheduling Will Lunniss 1 Sebastian Altmeyer 2 Giuseppe Lipari 3,4.
Bandwidth Allocation in a Self-Managing Multimedia File Server Vijay Sundaram and Prashant Shenoy Department of Computer Science University of Massachusetts.
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
5/24/011 Advanced Tool Integration for Embedded Systems Assurance Insup Lee Department of Computer and Information Science University of Pennsylvania.
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.
Virtual Network Mapping: A Graph Pattern Matching Approach Yang Cao 1,2, Wenfei Fan 1,2, Shuai Ma University of Edinburgh 2 Beihang University.
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.
Decision Optimization Techniques for Efficient Delivery of Multimedia Streams Mugurel Ionut Andreica, Nicolae Tapus Politehnica University of Bucharest,
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Combined Scheduling of Periodic and Aperiodic Tasks.
The Design of an EDF- Scheduled Resource-Sharing Open Environment Nathan Fisher Wayne State University Marko Bertogna Scuola Superiore Santa’Anna of Pisa.
Non-Preemptive Access to Shared Resources in Hierarchical Real-Time Systems Marko Bertogna, Fabio Checconi, Dario Faggioli CRTS workshop – Barcelona, November,
© 2009 IBM Corporation 1 Improving Consolidation of Virtual Machines with Risk-aware Bandwidth Oversubscription in Compute Clouds Amir Epstein Joint work.
Energy-Aware Scheduling with Quality of Surveillance Guarantee in Wireless Sensor Networks Jaehoon Jeong, Sarah Sharafkandi and David H.C. Du Dept. of.
University of Illinois at Urbana-Champaign Real-Time Capacity of Networked Data Fusion University of Illinois at Urbana-Champaign Forrest Iandola (University.
Probabilistic Preemption Control using Frequency Scaling for Sporadic Real-time Tasks 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:
DESIGNING VM SCHEDULERS FOR EMBEDDED REAL-TIME APPLICATIONS Alejandro Masrur, Thomas Pfeuffer, Martin Geier, Sebastian Drössler and Samarjit Chakraborty.
Euro-Par, A Resource Allocation Approach for Supporting Time-Critical Applications in Grid Environments Qian Zhu and Gagan Agrawal Department of.
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.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 31 – Multimedia OS (Part 1) Klara Nahrstedt Spring 2011.
Real-Time Scheduling CS 3204 – Operating Systems Lecture 20 3/3/2006 Shahrooz Feizabadi.
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.
CSE 522 Real-Time Scheduling (2)
Dynamic Bandwidth Allocation with Fair Scheduling For WCDMA Systems Liang Xu, Xumin Shen, and Jon W. Mark University of Waterloo published in IEEE Wireless.
Real-Time Scheduling CS 3204 – Operating Systems Lecture 13 10/3/2006 Shahrooz Feizabadi.
1 Real-Time Scheduling. 2Today Operating System task scheduling –Traditional (non-real-time) scheduling –Real-time scheduling.
Real-Time Scheduling II: Compositional Scheduling Framework Insik Shin Dept. of Computer Science KAIST.
Rounding scheme if r * j  1 then r j := 1  When the number of processors assigned in the continuous solution is between 0 and 1 for each task, the speed.
Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2012 年 12 月 19 日 These slides use Microsoft clip.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 31 – Process Management (Part 1) Klara Nahrstedt Spring 2009.
Computer Science Department University of Pittsburgh Multiple-Resource Periodic Scheduling Problem: how much fairness is necessary? Dakai Zhu, Daniel Mossé.
Introduction to Real-Time Systems
Mok & friends. Resource partition for real- time systems (RTAS 2001)
NUS.SOC.CS5248 Ooi Wei Tsang 1 Course Matters. NUS.SOC.CS5248 Ooi Wei Tsang 2 Make-Up Lecture This Saturday, 23 October TR7, 1-3pm Topic: “CPU scheduling”
Task Mapping and Partition Allocation for Mixed-Criticality Real-Time Systems Domițian Tămaș-Selicean and Paul Pop Technical University of Denmark.
Euro-Par, HASTE: An Adaptive Middleware for Supporting Time-Critical Event Handling in Distributed Environments ICAC 2008 Conference June 2 nd,
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
Fault-Tolerant Rate- Monotonic Scheduling Sunondo Ghosh, Rami Melhem, Daniel Mosse and Joydeep Sen Sarma.
Lecture 6: Real-Time Scheduling
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
Data Driven Resource Allocation for Distributed Learning
Sanjoy Baruah The University of North Carolina at Chapel Hill
Elastic Task Model For Adaptive Rate Control
Networked Real-Time Systems: Routing and Scheduling
Processes and operating systems
Presentation transcript:

26 April A Compositional Framework for Real-Time Guarantees Insik Shin and Insup Lee Real-time Systems Group Systems Design Research Lab Dept. of Computer and Information Science University of Pennsylvania

SDRL & RTG Depart. Of Computer and Information Science 26 April Scheduling Framework Example CPU OS Scheduler Digital ControllerMultimediaPeriodic Task T(p,e) T 1 (25, 5) Periodic Task T(p,e) T 2 (33, 10)

SDRL & RTG Depart. Of Computer and Information Science 26 April Motivating Example CPU OS Scheduler Java Virtual Machine J 1 (25,4)J 2 (40,5) VM Scheduler Multimedia T 2 (33,10) Digital Controller T 1 (25,5)

SDRL & RTG Depart. Of Computer and Information Science 26 April VM Scheduler’s Viewpoint CPU OS Scheduler Multimedia T 2 (33,10) Digital Controller T 1 (25,5) Java Virtual Machine J 1 (25,4)J 2 (40,5) VM Scheduler CPU Share Real-Time Guarantee on CPU Supply

SDRL & RTG Depart. Of Computer and Information Science 26 April Problems & Approach I Resource supply modeling –Characterize temporal property of resource allocations we propose a periodic resource model –Analyze schedulability with the new resource model Java Virtual Machine J 1 (25,4)J 2 (40,5) VM Scheduler Periodic CPU Share

SDRL & RTG Depart. Of Computer and Information Science 26 April OS Scheduler’s Viewpoint CPU OS Scheduler Java Virtual Machine J 1 (25,4)J 2 (40,5) VM Scheduler Multimedia T 2 (33,10) Digital Controller T 1 (25,5) Real-Time TaskReal-Time Demand

SDRL & RTG Depart. Of Computer and Information Science 26 April Problem II Real-Time Composition –Combine multiple real-time requirements into a single real-time requirement guaranteeing schedulability –Example: periodic task model T(p,e) Real-Time Constraint Real-Time Constraint Real-Time Constraint EDF/RM T 1 (3, 1)T 2 (4, 1)T (?, ?)

SDRL & RTG Depart. Of Computer and Information Science 26 April Approach I I Simple approach : T(p,e) –p = LCM (T 1, T 2 ) LCM (T 1, T 2 ) = T 1 xN 1 = T 2 xN 2 –e = p x (U 1 + U 2 ), U i = e i /p i EDF T 1 (3, 1)T 2 (4, 1)T (12, 7) T (?, ?) (12,7)T Deadline Miss !

SDRL & RTG Depart. Of Computer and Information Science 26 April Approach II Our approach : periodic task model T(p,e) EDF T 1 (3, 1)T 2 (4, 1)T (2, 4/3) (12,7)T (12,7)T

SDRL & RTG Depart. Of Computer and Information Science 26 April Outline 1.Scheduling component modeling Periodic resource model 2.Scheduling component schedulability analysis 3.Scheduling component composition Combine the real-time guarantees of multiple components into the real-time guarantee of a single component

SDRL & RTG Depart. Of Computer and Information Science 26 April Scheduling Component Modeling Scheduling –assigns resources to workloads by algorithms Scheduling Component Model : M(W,R,A) –W : workload model –R : resource model –A : scheduling algorithm Resource Scheduler WorkloadPeriodic TaskWorkloadPeriodic Task EDF / RM ???

SDRL & RTG Depart. Of Computer and Information Science 26 April Resource Modeling Dedicated resource –Available all the time at its full capacity 0time

SDRL & RTG Depart. Of Computer and Information Science 26 April Resource Modeling Dedicated resource –Available all the time at its full capacity Fractional resource (slow resource) –Available all the time at its fractional capacity 0time

SDRL & RTG Depart. Of Computer and Information Science 26 April Resource Modeling Dedicated resource –Available all the time at its full capacity Fractional resource (slow resource) –Available all the time at its fractional capacity Partitioned resource [FeMo ’02] –Available all some times at its full capacity 0time

SDRL & RTG Depart. Of Computer and Information Science 26 April Resource Modeling Dedicated resource –Available all the time at its full capacity Fractional resource (slow resource) –Available all the time at its fractional capacity Partitioned resource –Available all some times at its full capacity Periodic resource R(period, allocation time) (ex. R(3,2)) –Available periodically at its full capacity 0time

SDRL & RTG Depart. Of Computer and Information Science 26 April T 2 (20,4)T 1 (10,2) Scheduling Component Analysis Schedulability conditions –Exact conditions for EDF/RM Schedulability bounds –Utilization bounds for periodic workload under EDF/RM –Capacity bounds for periodic resource under EDF/RM Periodic Resource Scheduler Periodic Task EDF / RM

SDRL & RTG Depart. Of Computer and Information Science 26 April Schedulability Conditions (EDF) Scheduling component M(W,R,EDF) is schedulable iff for all interval length t, demand w (EDF,t) ≤ supply R (t) [RTSS03] –demand w (EDF,t) : the maximum resource demand of workload W for an interval length t –supply R (t) : the minimum resource supply by resource R for an interval length t demand(EDF,t) =

SDRL & RTG Depart. Of Computer and Information Science 26 April supply = supply R (3) = 1 0time R(3,2) t

SDRL & RTG Depart. Of Computer and Information Science 26 April Schedulability Conditions (RM) Scheduling component M(W,R,RM) is schedulable iff for all task T i (p i,e i ), r i (R) ≤ p i [RTSS03] –r i (R): the maximum response time of task T i over R. the smallest time t s.t. demand(RM,i,t) ≤ supply R (t) demand(RM,i,t) =

SDRL & RTG Depart. Of Computer and Information Science 26 April Schedulability Conditions (RM) Scheduling component M(W,R,RM) is schedulable iff for all task T i (p i,e i ), r i (R) ≤ p i [RTSS03] –Example of finding the maximum response time r i (R) time resource demand r i (R) demand(RM,i,t) supply R (t)

SDRL & RTG Depart. Of Computer and Information Science 26 April Motivating Example for Capacity Bound Given a task group G such that –Scheduling algorithm : EDF –A set of periodic tasks : { T 1 (3,1), T 2 (7,1) }, model the timing requirements of the task group with a periodic task model G (3, 1.43) based on utilization does not work !! Deadline miss for T 2

SDRL & RTG Depart. Of Computer and Information Science 26 April Motivating Example (2) Given a task group G such that –Scheduling algorithm : EDF –A set of periodic tasks : { T 1 (3,1), T 2 (7,1) }, model the timing requirements of the task group with a periodic task model G (3, 2.01) works !!

SDRL & RTG Depart. Of Computer and Information Science 26 April Capacity Bounds Resource capacity –For a periodic resource R(p,e), its capacity is e/p. Capacity bound of a component C(W, R(p,e), A) : CB(C) –C is schedulable if CB(C) ≤ e/p How to get the capacity bounds of C(W,R(p,e),A) –assumption: the period p of R is given. –using the exact schedulability conditions, we can get the minimum capacity of R satisfying the condition. T 1 (25,4) T 2 (40,5) EDF R(10, ? ) R(10, 3.1) CB(C) = 3.1/10

SDRL & RTG Depart. Of Computer and Information Science 26 April Compositional Real-Time Guarantees T 11 (25,4) T 12 (40,5) T 21 (25,4) T 22 (40,5) R(?, ?) EDF RM R 2 (?, ?)R 1 (?, ?)R 1 (10, 3.1)R 2 (10, 4.34)

SDRL & RTG Depart. Of Computer and Information Science 26 April Compositional Real-Time Guarantees T 21 (25,4) T 22 (40,5) R(?, ?) EDF RM R(5, 4.4) R 2 (10, 4.4) T 2 (10, 4.4) T 11 (25,4) T 12 (40,5) EDF R 1 (10, 3.1) T 1 (10, 3.1)

26 April Conclusion Summary –Periodic resource model –Scheduling component modeling and anaylsis –Scheduling component composition Future work –To evaluate the composition overhead in current framework –To extend our framework with other resource models for Efficient composition w.r.t utilization and complexity Ensure composition properties, i.e., –C 1 || (C 2 || C 3 ) = (C 1 || C 2 ) || C 3 –|| (C 1, C 2, C 3 ) = || (||(C 1, C 2 ), C 3 )

SDRL & RTG Depart. Of Computer and Information Science 26 April THE THE END END THE THANK YOU

SDRL & RTG Depart. Of Computer and Information Science 26 April Schedulability Conditions (EDF) Scheduling component M(W,R,EDF) is schedulable iff for all interval length t, demand w (t) ≤ t [BHR90] demand w (t) ≤ supply R (t) –demand w (t) : the maximum resource demand of workload W over all intervals of length t –supply R (t) : the minimum resource supply by resource R over all intervals of length t Resource demand in an interval Resource supply during the interval (from a dedicated resource)

SDRL & RTG Depart. Of Computer and Information Science 26 April Scheduling component M(W,R,RM) is schedulable iff for all task T i (p i,e i ), r i ≤ p i [AB+93] duration R (r i ) ≤ p i –r i : the maximum response time of task T i : the maximum resource demand of W to finish T i –duration R (t) : the maximum time that resource R takes to supply a t-time-unit resource Schedulability Conditions (RM) Duration to receive r i -time-unit resource allocation Deadline to receive r i -time-unit resource allocation Max. Duration to receive r i -time-unit resource allocation Deadline to receive r i -time-unit resource allocation