Towards Feasibility Region Calculus: An End-to-end Schedulability Analysis of Real- Time Multistage Execution William Hawkins and Tarek Abdelzaher Presented.

Slides:



Advertisements
Similar presentations
Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Advertisements

Feedback Control Real-Time Scheduling: Framework, Modeling, and Algorithms Chenyang Lu, John A. Stankovic, Gang Tao, Sang H. Son Presented by Josh Carl.
Real Time Scheduling.
Time Demand Analysis.
Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Analysis of : Operator Scheduling in a Data Stream Manager CS561 – Advanced Database Systems By Eric Bloom.
ECE 667 Synthesis and Verification of Digital Circuits
Hadi Goudarzi and Massoud Pedram
Class-constrained Packing Problems with Application to Storage Management in Multimedia Systems Tami Tamir Department of Computer Science The Technion.
ECE 720T5 Fall 2011 Cyber-Physical Systems Rodolfo Pellizzoni.
CS5270 Lecture 31 Uppaal, and Scheduling, and Resource Access Protocols CS 5270 Lecture 3.
CPE555A: Real-Time Embedded Systems
Explicit Preemption Placement for Real- Time Conditional Code via Graph Grammars and Dynamic Programming Bo Peng, Nathan Fisher, and Marko Bertogna Department.
Harini Ramaprasad, Frank Mueller North Carolina State University Center for Embedded Systems Research Tightening the Bounds on Feasible Preemption Points.
Introduction to Algorithms
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems (m, k)-firm tasks and QoS enhancement.
On Schedulability and Time Composability of Data Aggregation Networks Fatemeh Saremi *, Praveen Jayachandran †, Forrest Iandola *, Md Yusuf Sarwar Uddin.
Abhijit Davare 1, Qi Zhu 1, Marco Di Natale 2, Claudio Pinello 3, Sri Kanajan 2, Alberto Sangiovanni-Vincentelli 1 1 University of California, Berkeley.
CS-3013 & CS-502, Summer 2006 Multimedia topics (continued)1 Multimedia Topics (continued) CS-3013 & CS-502 Operating Systems.
HASSO-PLATTNER-INSTITUT für Softwaresystemtechnik GmbH an der Universität Potsdam Multiprocessor Scheduling “Global Multiprocessor Scheduling of Aperiodic.
Worst-case Fair Weighted Fair Queueing (WF²Q) by Jon C.R. Bennett & Hui Zhang Presented by Vitali Greenberg.
End-to-End Analysis of Distributed Video-on-Demand Systems Padmavathi Mundur, Robert Simon, and Arun K. Sood IEEE Transactions on Multimedia, February.
Network Bandwidth Allocation (and Stability) In Three Acts.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley Asynchronous Distributed Algorithm Proof.
System-Wide Energy Minimization for Real-Time Tasks: Lower Bound and Approximation Xiliang Zhong and Cheng-Zhong Xu Dept. of Electrical & Computer Engg.
Spring 2002Real-Time Systems (Shin) Rate Monotonic Analysis Assumptions – A1. No nonpreemptible parts in a task, and negligible preemption cost –
Admission Control and Dynamic Adaptation for a Proportional-Delay DiffServ-Enabled Web Server Yu Cai.
An Integration Framework for Sensor Networks and Data Stream Management Systems.
Lecture 2 Process Concepts, Performance Measures and Evaluation Techniques.
Chapter 6 Scheduling. Basic concepts Goal is maximum utilization –what does this mean? –cpu pegged at 100% ?? Most programs are I/O bound Thus some other.
Practical Schedulability Analysis for Generalized Sporadic Tasks in Distributed Real-Time Systems Yuanfang Zhang 1, Donald K. Krecker 2, Christopher Gill.
University of Illinois at Urbana-Champaign Real-Time Capacity of Networked Data Fusion University of Illinois at Urbana-Champaign Forrest Iandola (University.
Efficient Admission Control for Enforcing Arbitrary Real-Time Demand-Curve Interfaces Farhana Dewan and Nathan Fisher RTSS, December 6 th, 2012 Sponsors:
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
Scheduling policies for real- time embedded systems.
Scheduling Periodic Real-Time Tasks with Heterogeneous Reward Requirements I-Hong Hou and P.R. Kumar 1.
Real Time Scheduling Telvis Calhoun CSc Outline Introduction Real-Time Scheduling Overview Tasks, Jobs and Schedules Rate/Deadline Monotonic Deferrable.
Scheduling Periodic Real-Time Tasks with Heterogeneous Reward Requirements I-Hong Hou and P.R. Kumar 1 Presenter: Qixin Wang.
Resource Mapping and Scheduling for Heterogeneous Network Processor Systems Liang Yang, Tushar Gohad, Pavel Ghosh, Devesh Sinha, Arunabha Sen and Andrea.
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.
6. Application mapping 6.1 Problem definition
A Delay Composition theorem for Real-Time Pipelines P. Jayachandran T. Abdelzaher Presenter: Sina Meraji.
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
KUKUM Real Time System 1/21 Module 2 Real Time System Scheduling Lecture 05.
CSE 522 Real-Time Scheduling (2)
1 Real-Time Scheduling. 2Today Operating System task scheduling –Traditional (non-real-time) scheduling –Real-time scheduling.
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
Introduction to Embedded Systems Rabie A. Ramadan 5.
QoPS: A QoS based Scheme for Parallel Job Scheduling M. IslamP. Balaji P. Sadayappan and D. K. Panda Computer and Information Science The Ohio State University.
Static Process Scheduling
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
Introduction to Real-Time Systems
Sandtids systemer 2.modul el. Henriks 1. forsøg m. Power Point.
Data Consolidation: A Task Scheduling and Data Migration Technique for Grid Networks Author: P. Kokkinos, K. Christodoulopoulos, A. Kretsis, and E. Varvarigos.
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani Real-time Systems.
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
Lecture 6: Real-Time Scheduling
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
ECE 720T5 Fall 2012 Cyber-Physical Systems
Wayne Wolf Dept. of EE Princeton University
Lottery Scheduling Ish Baid.
CPU Scheduling G.Anuradha
CSCI1600: Embedded and Real Time Software
Networked Real-Time Systems: Routing and Scheduling
CSCI1600: Embedded and Real Time Software
Ch 4. Periodic Task Scheduling
Presentation transcript:

Towards Feasibility Region Calculus: An End-to-end Schedulability Analysis of Real- Time Multistage Execution William Hawkins and Tarek Abdelzaher Presented By: Farhana Dewan

Outline Introduction System Model Generalized Stage Delay Theorem Proof of the Theorem Usage of Feasibility Region Simulation Results Conclusion 2CSC 8260

Introduction Aperiodic distributed system- system is large complex, workload irregular Less attention than periodic counter part This paper presents ◦Analytic framework for computing end-to-end feasibility ◦Fixed-priority scheduling Based on generalized stage delay theorem ◦Maximum fraction of end-to-end deadline a task can spend at a resource as a function of utilization of that resource ◦Sum of such fractions are less than 1 Feasibility region is considered as a volume in multi- dimensional space where each dimension is utilization of one resource Extends uni-dimensional schedulable region to multi- dimensional representation for distributed systems Generalizes concurrent infinitesimal tasks to arbitrary set of finite tasks 3CSC 8260

Introduction Distributed real-time systems ◦Performance sensitive server farms ◦Radar data processing back ends ◦Sensor networks Different classes of traffic traverse several stages of distribute processing Task must exit the system within specified per- class end 2 end latency constraints Utilization bound of resource for centralized system ◦U ≤ U bound For distributed systems resource stage i has utilization U i ◦f(U 1 …,U n ) ≤ C bound ◦C bound systems capacity to meet deadlines 4CSC 8260

Introduction Goal: ◦Simple schedulability analysis technique for distributed rts to satisfy e2e timing constraints ◦Conditions are sufficient ◦Fast dynamic admission control Acyclic resource system ◦No feedback cycle in overall task flow graph ◦Synthetic utilization Non-acyclic resource system ◦Instantaneous utilization 5CSC 8260

System Model Distributed system, task T i arrive, require execution to N (subset of) resources A ij arrival time of T i at stage j, 1≤j ≤N A i arrival time of task to the system, A i1 D i e2e deadline for T i C ij computation time of T i at stage j Set of current tasks V(t)={T i |A i ≤t<A i +D i } Instantaneous utilization U j Synthetic utilization U j 6CSC 8260

Definitions Urgency inversion factor α j for stage j ◦ Less urgent task assigned greater priority ◦ α j = min (D lo /D hi ) over all tasks executing at stage j such that priority(T hi )>priority(T lo ) Blocking factor β ij ◦ Maximum amount of time task i can be blocked at stage j due to lower priority task holding critical resource Maximum normalized blocking factor ◦ γ j = max (β ij /D i ) CSC 82607

Generalized Stage Delay Theorem End to end schedulabiltiy condition: Σ j F j ≤1 8CSC 8260

Proof Stage j processing n concurrent tasks Instantaneous utilization at stage j for task T m To obtain lower bound, ignore lower priority tasks CSC 82609

Proof (cont.) Consider task T n at stage j Worst case delay at stage j, Q nj B is the end of last processor gap t f time at which T n departs stage j L = A n –B offset of arrival of T n on j For worst case arrival scenario, L=0 Max amount of time critical task is preempted by tasks with absolute deadline prior to t f, CSC

Proof (cont.) Busy period Rearranging and substituting, we obtain instantaneous utilization U j CSC

Proof (cont.) Worst case arrival sequence T= A 1j – A nj, A ij – A nj = T + Σ h=1 C hj Q nj = T + Σ i=1 C ij CSC

Proof (cont.) CSC

Proof (cont.) D i is bounded by D n /α j and Σ is minimized when C ij = C for i=1 to n-1 CSC

Proof (cont.) Delay: To obtain fraction of deadline, divide by deadline F to be worst case bound, last term must be maximized CSC

Generalized Stage Delay Theorem Corollary 16CSC 8260

Usage of Feasibility Region Stages of computation: resources can be CPU, communication links, disks ◦Scheduling policy at each resource ◦α j and γ j must be pre computed Admission controller: based on generalized stage delay theorem or corollary Feasibility region calculus: to build admission controller ◦Each task arriving the system, utilization is added to U j of each stage to be traversed by the task ◦Check fractional delay, if greater than 1, don’t admit, reverse the utilization modification ◦AC checks that the system operates in feasibility region Complexity: linear in terms of number of stages, fractional stage delay in constant time 17CSC 8260

Simulation Results Simulator: distributed real-time system with arbitrary tasks Admission Controller: for either of the cases For each arriving task, its utilization is tentatively added to every stage j it will traverse during computation. The generalized stage delay theorem, or its corollary if applicable, is used to check whether Σ j F j ≤ 1 over the stages to be traversed. If so, the task is admitted. If not, the task is rejected and its utilization is removed from further consideration. Task granularity: ratio of total computation time and deadline Load: sum of computation time of all tasks divided by simulation time 18CSC 8260

Acyclic Task System Resources has increasing ids, a task leaving stage x never requires resource from stage i, 0 ≤i≤x Pipeline, 1 to 5 stages, each task must be executed by each stage from 1 to 5 in order Deadlines are drawn from uniform distribution Task granularity is 1/100 Load is varied from 60% to 200% Corollary of generalized stage delay theorem is used No task misses deadline Each point in the plot is average of 100 simulation runs Utilization is high for all offered loads, independent of no of stages, AC is not pessimistic CSC

CSC

CSC

Non-Acyclic Task System Task may receive computation from same resource more than once (Ex- resource is database) Each task in the experiment traverses more than 1 stage in the system Task granularity 1/100, computation time approximately equal at each stages Load is varied between 60% and 200% Utilization of system with 1 stage is higher than that of 2,3 or 4 stages Lower priority task suffer from delay, whether delay is from higher priority task in same stage or other Stage delay corollary can be used as heuristic in admission controller to improve utilization CSC

CSC

CSC

Comparing Stage Delay Theorem with Generalized Stage Delay Theorem Stage delay theorem ◦System with very large number of concurrent task ◦Calculates feasibility region based on utilization in the stages Generalized Stage delay theorem ◦Calculates feasibility region based on utilization and concurrent tasks in the stages Two stage pipeline distributed rts 6 task classes, arrival time and deadline from uniform distribution For moderate number of tasks and very small granularity gsdt performs better CSC

CSC

Conclusion Presented: Analytical framework for computing the end-to-end feasibility regions of distributed aperiodic task systems under independent fixed-priority scheduling Extended: the previous derivations of uni- dimensional schedulability regions for single processors Generalized: the results for infinite number of concurrent liquid tasks to arbitrary sets of finite tasks Applicable to more realistic acyclic and non- acyclic workloads CSC

Future Work The results can be extended to: ◦Other categories of scheduling policies such as EDF ◦Systems that accept some percentage of deadline misses (soft real-time systems), relaxed schedulability conditions can be derived ◦System where tasks need multiple resources simultaneously CSC