Practical Schedulability Analysis for Generalized Sporadic Tasks in Distributed Real-Time Systems Yuanfang Zhang 1, Donald K. Krecker 2, Christopher Gill.

Slides:



Advertisements
Similar presentations
Washington WASHINGTON UNIVERSITY IN ST LOUIS Real-Time: Periodic Tasks Fred Kuhns Applied Research Laboratory Computer Science Washington University.
Advertisements

Time Demand Analysis.
Priority Inheritance and Priority Ceiling Protocols
Washington WASHINGTON UNIVERSITY IN ST LOUIS Resource and Resource Access Control Fred Kuhns Applied Research Laboratory Computer Science and Engineering.
Priority INHERITANCE PROTOCOLS
Harini Ramaprasad, Frank Mueller North Carolina State University Center for Embedded Systems Research Tightening the Bounds on Feasible Preemption Points.
From HRT-HOOD to ADA95 Real-Time Systems Lecture 5 Copyright, 2001 © Adam Czajka.
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.
Module 2 Priority Driven Scheduling of Periodic Task
Recent Progress on a Statistical Network Calculus Jorg Liebeherr Department of Computer Science University of Virginia.
Towards Feasibility Region Calculus: An End-to-end Schedulability Analysis of Real- Time Multistage Execution William Hawkins and Tarek Abdelzaher Presented.
SIGMETRICS 2008: Introduction to Control Theory. Abdelzaher, Diao, Hellerstein, Lu, and Zhu. CPU Utilization Control in Distributed Real-Time Systems Chenyang.
Courseware Scheduling Uniprocessor Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
1 Token Bucket Based CAC and Packet Scheduling for IEEE Broadband Wireless Access Networks Chi-Hung Chiang
Periodic Task Scheduling
1 of 12 May 3, 2000 Performance Estimation for Embedded Systems with Data and Control Dependencies Paul Pop, Petru Eles, Zebo Peng Department of Computer.
Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
1 of 16 June 21, 2000 Schedulability Analysis for Systems with Data and Control Dependencies Paul Pop, Petru Eles, Zebo Peng Department of Computer and.
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
Technische Universität Dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2007/12/14.
End-to-End Delay Analysis for Fixed Priority Scheduling in WirelessHART Networks Abusayeed Saifullah, You Xu, Chenyang Lu, Yixin Chen.
Real-time Scheduling Review Venkita Subramonian Research Seminar on Software Systems February 2, 2004.
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
Hardware Supported Time Synchronization in Multi-Core Architectures 林孟諭 Dept. of Electrical Engineering National Cheng Kung University Tainan, Taiwan,
Real-Time Performance and Middleware for Multiprocessor and Multicore Linux Platforms* Yuanfang Zhang, Christopher Gill, and Chenyang Lu Department of.
Probabilistic Preemption Control using Frequency Scaling for Sporadic Real-time Tasks Abhilash Thekkilakattil, Radu Dobrin and Sasikumar Punnekkat.
Quantifying the Sub-optimality of Non-preemptive Real-time Scheduling Abhilash Thekkilakattil, Radu Dobrin and Sasikumar Punnekkat.
Reconfigurable Real-Time Middleware for Distributed Cyber-Physical Systems with Aperiodic Events Yuanfang Zhang, Christopher Gill, Chenyang Lu Department.
1 Reducing Queue Lock Pessimism in Multiprocessor Schedulability Analysis Yang Chang, Robert Davis and Andy Wellings Real-time Systems Research Group University.
Scheduling policies for real- time embedded systems.
DESIGNING VM SCHEDULERS FOR EMBEDDED REAL-TIME APPLICATIONS Alejandro Masrur, Thomas Pfeuffer, Martin Geier, Sebastian Drössler and Samarjit Chakraborty.
BFair: An Optimal Scheduler for Periodic Real-Time Tasks
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.
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.
Hard Real-Time Scheduling for Low- Energy Using Stochastic Data and DVS Processors Flavius Gruian Department of Computer Science, Lund University Box 118.
A Delay Composition theorem for Real-Time Pipelines P. Jayachandran T. Abdelzaher Presenter: Sina Meraji.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems with Multi-programming Chapter 4.
A Deferrable Scheduling Algorithm for Real-Time Transactions Maintaining Data Freshness Ming Xiong Bell Labs Research, Lucent Technologies Song Han, Kam-yiu.
RTOS task scheduling models
- 1 -  P. Marwedel, Univ. Dortmund, Informatik 12, 2006 Universität Dortmund Periodic scheduling For periodic scheduling, the best that we can do is to.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems RMS and EDF Schedulers.
End-To-End Scheduling Angelo Corsaro & Venkita Subramonian Department of Computer Science Washington University Distributed Systems Seminar, Spring 2003.
KUKUM Real Time System 1/21 Module 2 Real Time System Scheduling Lecture 05.
CSE 522 Real-Time Scheduling (2)
Real Time Operating Systems Schedulability - Part 2 Course originally developed by Maj Ron Smith 12/20/2015Dr Alain Beaulieu1.
1 Cooperative multi-agent systems In cooperative MAS agents strive to reach a common goal and increase the combined utility of their actions Limitations.
Introduction to Embedded Systems Rabie A. Ramadan 5.
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2012 年 12 月 19 日 These slides use Microsoft clip.
Introduction to Real-Time Systems
Sandtids systemer 2.modul el. Henriks 1. forsøg m. Power Point.
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani Real-time Systems.
Introductory Seminar on Research CIS5935 Fall 2008 Ted Baker.
Clock Driven Schedulers
Scheduling Classes and Real-Time Scheduling in Linux David Ferry, Chris Gill CSE 522S - Advanced Operating Systems Washington University in St. Louis St.
Lecture 6: Real-Time Scheduling
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Real-Time Operating Systems RTOS For Embedded systems.
Embedded System Scheduling
EEE 6494 Embedded Systems Design
Lecture 24: Process Scheduling Examples and for Real-time Systems
Elastic Task Model For Adaptive Rate Control
Scheduling of Regular Tasks in Linux
The End Of The Line For Static Cyclic Scheduling?
Ch 4. Periodic Task Scheduling
Scheduling of Regular Tasks in Linux
Presentation transcript:

Practical Schedulability Analysis for Generalized Sporadic Tasks in Distributed Real-Time Systems Yuanfang Zhang 1, Donald K. Krecker 2, Christopher Gill 1, Chenyang Lu 1, Gautam H. Thaker 2 1.Washington University, St. Louis, MO, USA 2.Lockheed Martin Advanced Technology Laboratories

Outline Motivation Generalized Sporadic Task Model Schedulability Test for independent generalized sporadic tasks Schedulability Test for end-to-end generalized sporadic tasks  Generalized release guard synchronization protocol Simulations Conclusions

Motivation Offline schedulability analysis  Periodic task: period  Traditional sporadic task: minimum inter-arrival time Generalized sporadic Tasks  Higher instantaneous arrival rate  Lower average arrival rate Problem  Overestimate the task’s time demand  Pessimistic schedulability analysis

Generalized sporadic task model Traditional sporadic task T i  (1, W i )limit, window Generalized sporadic task T i  Introduce a greater limit  Allow multiple pairs of limits and windows  {(Z i,k, W i,k ) 1 ≤ k ≤ K(i)} Existing leaky bucket filter model  ρ: token input rate  σ: Bucket size

Leaky bucket vs. generalized sporadic task Generalized sporadic task  K(i) = 3  {(1,2), (3, 10), (5, 18)} Leaky bucket model  ρ =0.5  σ =1 Leaky bucket model greatly overestimates the workload

Time-Demand Analysis Maximum number of arrivals Maximum execution time demand Earliest arrival time The longest response time for Ti occurs during a level-i busy period if the arrivals of all tasks with equal or higher priority satisfy the maximum number of arrivals in that period

Schedulability Test for independent generalized sporadic tasks One example  T 1 : a periodic task  T 2 : a generalized sporadic task Arrival time constraintspriorityExec. timeDeadline T1T1 {(1,40)}11040 T2T2 {(1, 10), (2, 30), (3, 50)}2850

Schedulability Test for T 2 Compute an upper bound on the duration of a level-i busy period  D 2 = min { t>0 | t = MNA 1 (t)*10 + MNA 2 (t)*8} = 26 Compute an upper bound on the number of instances T i in a level-i busy period of duration D i  M 2 = MNA(D 2 ) = 2 For m=1 to M 2  Compute an upper bound on the completion time of the m th job of T i in a level-i busy period C 2 (1) = min{ t>0 | t = MNA 1 (t)*10+8} = 18, C 2 (2) = 26  Compute an upper bound on the response time of the m th job of T i in the busy period V 2 (1) = C 2 (1) – EAT i (1) = 18, V 2 (2) = 16 The maximum is the WCRT for T i  W 2 = 18 Compare WCRT with D i  W 2 < D 2, task 2 is schedulable.

Schedulability Test for end-to-end generalized sporadic tasks Generalized release guard g i,j for each non-initial subtask T i,j (j>1)  At the initial time, set g i,j =0  When m-1 th job of T i,j is released at time r i,j (m-1), update g i,j =r i,j (m-1)+(r i,1 (m)-r i,1 (m-1))  Update g i,j to the current time if the current time is a processor idle point on the processor where T i,j executes An upper bound W i to the end-to-end response time of any generalized sporadic task T i in a fixed-priority system synchronized according to the generalized release guard protocol is the sum of the upper bounds of WCRTs for all its subtasks

Simple Example 1 periodic task  Task 1 period 40, highest priority 2 sporadic tasks  Task 2 Time constrains {(1, 10), (2, 30), (3, 50)}, 2nd highest priority  Task 3 Time constrains{(1, 30), (2, 80)}, lowest priority TiTi T i,j Exec timePhasePiPi T1T1 T 1,1 100P1P1 T2T2 T 2,1 80P1P1 T 2,2 50P2P2 T3T3 T 3,1 1518P2

Schedule with RG T 1,1 T 2,1 T 2,2 T 3,1 Release time Sync signal RG 63 P1 P2 Idle point

End-to-end WCRTs WCRT in the above schedule  T 1 is 10  T 2 is 23  T 3 is 25 WCRT bounded by our generalized sporadic task analysis  T 1 is 10  T 2 is 23  T 3 is 25 Since they are matching, WCRT bounds calculated by our analysis are true WCRTs.

Simulations 4 end-to-end periodic tasks Allocated to 3 processors (execution time) T1T1 T2T2 T3T3 T4T4 Period Deadline Priority 4123 T 1,1 T 1,2 T 1,3 T 2,1 T 2,2 T 2,3 T 3,1 T 3,2 T 3,3 T 4,1 P P P

Sporadic Task Periodic task T 3 (for example T 3,1 on P 1 ) Make T 3 jittery (1-x/100)*162  Arrival constrains {(1, 113), (2, 324)}  Arrival constrains {(1, 65), (2, 324)} X=30 X=

When T 3 is allowed 30 percent jitter PT/RG  Minimum inter-arrival time analysis ST/RG  Generalized sporadic task analysis ST/RG outperforms PT/RG on WCRT bound for T 1

WCRT bounds for T 1 and T 3 in PT/RG are infinite When T 3 is allowed 60 percent jitter

When T 3 jitter increases When the jitter percentage reaches 37.5, the WCRT bound for T 1 is infinite when PT/RG is used. The WCRT bounds for T 1 are under 600 when ST/RG is used The miss ratios that are calculated by PT/RG reach 75% The miss ratios that are calculated by ST/RG are always 0

Representative Example Military shipboard computing 15 end-to-end periodic tasks on 50 processors T 10 becomes a generalized sporadic task  Highest priority  Share processors with other 12 tasks  Original period 200

The WCRT bounds for 6 tasks in PT/RG are infinite Arrival time constraints {(1, 50), (2, 400)

Comparisons under different scenarios T 10 jitter increases Limit in the first window increases Number of time constraints for T 10 increases Number of sporadic tasks increases

Conclusions Generalized sporadic task model characterizes arrival time more precisely Our schedulability analysis tightens the bounds on worst case response time Our schedulability analysis more effectively guarantee schedulability when arrival time jitter increases