CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems (m, k)-firm tasks and QoS enhancement.

Slides:



Advertisements
Similar presentations
Feedback Control Real- time Scheduling James Yang, Hehe Li, Xinguang Sheng CIS 642, Spring 2001 Professor Insup Lee.
Advertisements

CprE 458/558: Real-Time Systems
Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Feedback Control Real-Time Scheduling: Framework, Modeling, and Algorithms Chenyang Lu, John A. Stankovic, Gang Tao, Sang H. Son Presented by Josh Carl.
EE5900 Advanced Embedded System For Smart Infrastructure
CprE 458/558: Real-Time Systems
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Fault-Tolerant Scheduling Techniques.
1 EE5900 Advanced Embedded System For Smart Infrastructure RMS and EDF Scheduling.
CPE555A: Real-Time Embedded Systems
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Resource Access Control Protocols.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Resource Reclaiming (Contd.)
DEXA 2005 Control-based Quality Adaptation in Data Stream Management Systems (DSMS) Yicheng Tu†, Mohamed Hefeeda‡, Yuni Xia†, Sunil Prabhakar†, and Song.
1 Deferrable Scheduling for Temporal Consistency: Schedulability Analysis and Overhead Reduction Ming Xiong : Lucent Bell Labs Song Han: City University.
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.
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.
Preemptive Behavior Analysis and Improvement of Priority Scheduling Algorithms Xiaoying Wang Northeastern University China.
Project 2 – solution code
Roadmap  Introduction  Concurrent Programming  Communication and Synchronization  Completing the Java Model  Overview of the RTSJ  Memory Management.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Imprecise Computations.
CprE 458/558: Real-Time Systems
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
CprE 458/558: Real-Time Systems
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Best Effort Scheduling.
Real-Time Operating System Chapter – 8 Embedded System: An integrated approach.
End-to-End Delay Analysis for Fixed Priority Scheduling in WirelessHART Networks Abusayeed Saifullah, You Xu, Chenyang Lu, Yixin Chen.
The Design and Performance of A Real-Time CORBA Scheduling Service Christopher Gill, David Levine, Douglas Schmidt.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Combined Scheduling of Periodic and Aperiodic Tasks.
Real-Time Systems Hierarchical Real-Time Systems for Imprecise Computation Model The 5th EuroSys Doctoral Workshop (EuroDW 2011) Guy Martin.
Scheduling policies for real- time embedded systems.
1 Distributed Energy-Efficient Scheduling for Data-Intensive Applications with Deadline Constraints on Data Grids Cong Liu and Xiao Qin Auburn University.
1 Nasser Alsaedi. The ultimate goal for any computer system design are reliable execution of task and on time delivery of service. To increase system.
Scheduling Periodic Real-Time Tasks with Heterogeneous Reward Requirements I-Hong Hou and P.R. Kumar 1.
Suzhen Lin, A. Sai Sudhir, G. Manimaran Real-time Computing & Networking Laboratory Department of Electrical and Computer Engineering Iowa State University,
BFair: An Optimal Scheduler for Periodic Real-Time Tasks
Ernest Cachia University of Malta “Real-Time System Development” Slide No. 1 of part 3 n What about jitter? To calculate jitter one should have data regarding.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
Real-Time Scheduling CS 3204 – Operating Systems Lecture 20 3/3/2006 Shahrooz Feizabadi.
Scheduling Periodic Real-Time Tasks with Heterogeneous Reward Requirements I-Hong Hou and P.R. Kumar 1 Presenter: Qixin Wang.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Introduction to Real-Time Systems.
The 32nd IEEE Real-Time Systems Symposium Meeting End-to-End Deadlines through Distributed Local Deadline Assignment Shengyan Hong, Thidapat Chantem, X.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Distributed Real-Time Systems (contd.)
Survey of Real Time Databases Telvis Calhoun CSc 6710.
Hard Real-Time Scheduling for Low- Energy Using Stochastic Data and DVS Processors Flavius Gruian Department of Computer Science, Lund University Box 118.
5 May CmpE 516 Fault Tolerant Scheduling in Multiprocessor Systems Betül Demiröz.
A Deferrable Scheduling Algorithm for Real-Time Transactions Maintaining Data Freshness Ming Xiong Bell Labs Research, Lucent Technologies Song Han, Kam-yiu.
Undergraduate course on Real-time Systems Linköping 1 of 45 Autumn 2009 TDDC47: Real-time and Concurrent Programming Lecture 5: Real-time Scheduling (I)
Real Time Systems Real-Time Schedulability Part I.
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems RMS and EDF Schedulers.
Adaptive Feedback Scheduling with LQ Controller for Real Time Control System Chen Xi.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Term Project List, Requirements.
CSE 522 Real-Time Scheduling (2)
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.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Distributed Real-Time Systems.
CprE 458/558: Real-Time Systems (G. Manimaran)1 Energy Aware Real Time Systems - Scheduling algorithms Acknowledgement: G. Sudha Anil Kumar Real Time Computing.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Energy-aware QoS packet scheduling.
For a good summary, visit:
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani Real-time Systems.
Euro-Par, HASTE: An Adaptive Middleware for Supporting Time-Critical Event Handling in Distributed Environments ICAC 2008 Conference June 2 nd,
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Undergraduate course on Real-time Systems Linköping TDDD07 – Real-time Systems Lecture 1: Introduction & Scheduling I Simin Nadjm-Tehrani Real-time Systems.
Imprecise Computation September 7, 2006
CprE 458/558: Real-Time Systems
Elastic Task Model For Adaptive Rate Control
Networked Real-Time Systems: Routing and Scheduling
Feedback Control Real-time Scheduling
Presentation transcript:

CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems (m, k)-firm tasks and QoS enhancement

CprE 458/558: Real-Time Systems (G. Manimaran)2 (m, k) firm real-time tasks A periodic task is said to have an (m,k)-firm guarantee if it is adequate to meet the deadlines of m out of k consecutive instances of the task, where m ≤ k. The adaptive QoS management problem –Admit the tasks to satisfy at least the (m,k) guarantee –Maximize the QoS of admitted tasks beyond the (m,k) property, at run-time, without violating (m,k) property of any of the admitted tasks.

CprE 458/558: Real-Time Systems (G. Manimaran)3 Task model and performance index Task Model - firm periodic tasks [1,2] Tasks should meet m i deadlines for every K i consecutive instances Performance Index –Dynamic Failure Rate (DFR): for a task Ti, it is the percentage of instances of the task miss their (m,k) guarantee. –Marginal Quality Received (MQR): To maximize the quality of tasks during overloading, is increased as much as possible

CprE 458/558: Real-Time Systems (G. Manimaran)4 MK-RMS Schedulability Check [2] Utilization-based MK-RMS-schedulability check (sufficient, but not necessary) MKLoad <= n(2 1/n -1) Classification of mandatory and optional instances - Instances of task T i activated at times ap i is mandatory if Optional instance is assigned the lowest priority Mandatory instances are assigned priority as per RMS

CprE 458/558: Real-Time Systems (G. Manimaran)5 MK-RMS Schedulability - exact analysis [2] Theorem: Given such that Let If, MK-RMS meets the (m,k)-firm guarantee requirement of

CprE 458/558: Real-Time Systems (G. Manimaran)6 Scheduling Example Task 1 Task 2 RMS 120 (a) T 1 : T 2 : Task 1 Task 2 RMS 120 (b) T 1 : T 2 : Task 1 Task 2 RMS 120 (c) T 1 : T 2 : Task 1 misses its deadline

CprE 458/558: Real-Time Systems (G. Manimaran)7 Example (Cont.) We can increase the values to increase the QoS when the system is underloaded, and decrease the values to handle overloading. Feedback method can be used to adjust the values. –Regulated/measured variable: –Set point: desired value of –Control variable: estimation factor,, of

CprE 458/558: Real-Time Systems (G. Manimaran)8 Introduction (Cont.) Feedback control technique ControllerActuators Controlled RT System Sensors Set Points Control variable s Measured variables Regulated variables + - disturbance

CprE 458/558: Real-Time Systems (G. Manimaran)9 Proposed scheduling architecture [3] PI Controller Actuator Scheduler Admission Controller Submitted tasks Accepted tasks Average Dynamic Failure Rate CPU Completed tasks + - Set point

CprE 458/558: Real-Time Systems (G. Manimaran)10 Proposed scheduling architecture (Cont.) Admit tasks based on minimum quality requirement The actual execution time of tasks are normally less than or equal to the worst case execution time used in the admission test –Try to increase the quality as much as possible –Use feedback method to adjust. Non-zero set point is used – achieve high CPU utilization and low dynamic failure rate is zero with respect to – is changed with respect to the current later

CprE 458/558: Real-Time Systems (G. Manimaran)11 Feedback control algorithm

CprE 458/558: Real-Time Systems (G. Manimaran)12 Online controller design Initial Value of K: Halve K when DFR fluctuate across set point K –high value will lead to fluctuation –Low value will lead to a long time to reach the final value K on-line design System Controller Control signal Output Output changing observation Controller parameters Reference

CprE 458/558: Real-Time Systems (G. Manimaran)13 Fairness measure All tasks use the same value of all tasks are the same Fairness index ( ) in terms of : The higher the value of f for a task set, the better the fairness.

CprE 458/558: Real-Time Systems (G. Manimaran)14 MQR performance: Load = 1.1 and MKLoad varied – MQR decreases as MKLoad increases –ACET < WCET can be exploited to increase MQR –Feedback algo offers better MQR than non-feedback algo Simulation studies Feedback algorithm vs. iterative algorithm

CprE 458/558: Real-Time Systems (G. Manimaran)15 Simulation studies (Cont.) Fairness (f): –Fairness obtained by the feedback approach is higher than that obtained by non-feedback algo (MK-RMS)

CprE 458/558: Real-Time Systems (G. Manimaran)16 Imprecise computation - summary Offers scheduling flexibility to achieve graceful degradation (i.e., means to achieve predictable timing faults without violating system spec) Applicable only to a class of applications Models –Imprecise computation - monotone model –Imprecise computation – 0/1 constraint model –(m,k)-firm model

CprE 458/558: Real-Time Systems (G. Manimaran)17 References [1] Reference [18] in chapter 4. [2] Overload management in real-time control applications using (m, k)-firm guarantee Ramanathan, P.; IEEE Transactions on Parallel and Distributed Systems, Volume 10, Issue 6, June 1999 Page(s):549 – 559. [3] Suzhen Lin, Ph.D Dissertation, ISU, 2005.