Probabilistic Results for Mixed Criticality Real-Time Scheduling Bader N. Alahmad Sathish Gopalakrishnan.

Slides:



Advertisements
Similar presentations
Time Demand Analysis.
Advertisements

CPE555A: Real-Time Embedded Systems
Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
Queueing and Scheduling - Bridging the Gap Gideon Weiss University of Haifa CIRM Marseilles May, 2008 Gideon Weiss University of Haifa CIRM Marseilles.
Mehdi Kargahi School of ECE University of Tehran
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.
Scheduling Chapter 19.
Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.
Soft Real-Time Semi-Partitioned Scheduling with Restricted Migrations on Uniform Heterogeneous Multiprocessors Kecheng Yang James H. Anderson Dept. of.
An Introduction to Markov Decision Processes Sarah Hickmott
Planning under Uncertainty
SA-1 1 Probabilistic Robotics Planning and Control: Markov Decision Processes.
Jointly Optimal Transmission and Probing Strategies for Multichannel Systems Saswati Sarkar University of Pennsylvania Joint work with Sudipto Guha (Upenn)
Chapter 2: Model of scheduling problem Components of any model: Decision variables –What we can change to optimize the system, i.e., model output Parameters.
Project 2 – solution code
5: CPU-Scheduling1 Jerry Breecher OPERATING SYSTEMS SCHEDULING.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
Reinforcement Learning Yishay Mansour Tel-Aviv University.
Chapter 4 – Periodic Task Scheduling In many real-time systems periodic tasks dominate the demand. Three classic periodic task scheduling algorithms: –
Instructor: Vincent Conitzer
Fair Scheduling of Real-Time Tasks on Multiprocessors Uday Prabhala.
VOLTAGE SCHEDULING HEURISTIC for REAL-TIME TASK GRAPHS D. Roychowdhury, I. Koren, C. M. Krishna University of Massachusetts, Amherst Y.-H. Lee Arizona.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Lecture 5 Operating Systems.
OPERATING SYSTEMS CPU SCHEDULING.  Introduction to CPU scheduling Introduction to CPU scheduling  Dispatcher Dispatcher  Terms used in CPU scheduling.
COT 4600 Operating Systems Spring 2011 Dan C. Marinescu Office: HEC 304 Office hours: Tu-Th 5:00-6:00 PM.
General Polynomial Time Algorithm for Near-Optimal Reinforcement Learning Duke University Machine Learning Group Discussion Leader: Kai Ni June 17, 2005.
Simulation Selection Problems: Overview of an Economic Analysis Based On Paper By: Stephen E. Chick Noah Gans Presented By: Michael C. Jones MSIM 852.
Yossi Azar Tel Aviv University Joint work with Ilan Cohen Serving in the Dark 1.
Approximation Algorithms for Task Allocation with QoS and Energy Considerations Bader N. Alahmad.
Computer Science and Engineering Parallel and Distributed Processing CSE 8380 March 01, 2005 Session 14.
Maximization of Network Survivability against Intelligent and Malicious Attacks (Cont’d) Presented by Erion Lin.
Scheduling policies for real- time embedded systems.
Real-Time Systems Mark Stanovich. Introduction System with timing constraints (e.g., deadlines) What makes a real-time system different? – Meeting timing.
BFair: An Optimal Scheduler for Periodic Real-Time Tasks
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
Prepare by : Ihab shahtout.  Overview  To give an overview of fixed priority schedule  Scheduling and Fixed Priority Scheduling.
6. Application mapping 6.1 Problem definition
Reinforcement Learning Yishay Mansour Tel-Aviv University.
Hidden Markov Model Multiarm Bandits: A Methodology for Beam Scheduling in Multitarget Tracking Presented by Shihao Ji Duke University Machine Learning.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems RMS and EDF Schedulers.
KUKUM Real Time System 1/21 Module 2 Real Time System Scheduling Lecture 05.
Advanced Operating Systems - Spring 2009 Lecture 14 – February 25, 2009 Dan C. Marinescu Office: HEC 439 B. Office.
Restless Multi-Arm Bandits Problem (RMAB): An Empirical Study Anthony Bonifonte and Qiushi Chen ISYE8813 Stochastic Processes and Algorithms 4/18/2014.
1 Real-Time Scheduling. 2Today Operating System task scheduling –Traditional (non-real-time) scheduling –Real-time scheduling.
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
CPS 570: Artificial Intelligence Markov decision processes, POMDPs
Algorithmic Mechanism Design Shuchi Chawla 11/7/2001.
Markov Decision Process (MDP)
Mok & friends. Resource partition for real- time systems (RTAS 2001)
CS333 Intro to Operating Systems Jonathan Walpole.
Real-Time Scheduling --- An Overview Real-Time Scheduling --- An Overview Xiaoping He.
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 4 Page 1 CS 111 Summer 2013 Scheduling CS 111 Operating Systems Peter Reiher.
Real-Time Operating Systems RTOS For Embedded systems.
Optimization of Time-Partitions for Mixed-Criticality Real-Time Distributed Embedded Systems Domițian Tămaș-Selicean and Paul Pop Technical University.
Infinite loading A scheduling approach that ignores capacity constraints. Click here for Hint finite loading or infinite loading or priority rule?
Embedded System Scheduling
Making complex decisions
Lecture 8: Dispatch Rules
Regulating Data Flow in J2EE Application Server
assemble-to-order (ATO) A system that produces standard modules to be
CprE 458/558: Real-Time Systems
Markov Decision Processes
Markov Decision Processes
Chapter 6 Dynamic Priority Servers
TDC 311 Process Scheduling.
Chap 11 Learning Objectives
COT 4600 Operating Systems Spring 2011
CPU SCHEDULING.
CGS 3763 Operating Systems Concepts Spring 2013
Presentation transcript:

Probabilistic Results for Mixed Criticality Real-Time Scheduling Bader N. Alahmad Sathish Gopalakrishnan

Example

Platform Single Processor Preemptive

Simpler case : Independent Job Model

Job Criticality Codifies (potential) overload conditions In overload, jobs with higher criticality have infinite marginal utility of execution over lower criticality ones

Execution behaviours

MC-Schedulability/Scheduling Need to find a scheduling policy… MC-Schedulability MC-Scheduling

Complexity results

Approach: Worst Case Reservation (WCR) Scheduling

Performance Metric? How to quantify the quality of the solution ? Resource Augmentation  Processor speed up factor 1 Processor is a unit capacity bin

WCR Optimal (Oracle) If system criticality level = 1 : all criticality 1 jobs execute and are allowed to fully utilize the processor If system criticality level = 2 : all criticality 2 jobs execute and are allowed to fully utilize the processor WCR If system criticality level = 1 : all criticality 1 jobs execute and are allowed to fully utilize the processor If system criticality level = 2 : all jobs execute and are allowed to fully utilize the processor

WCR-Schedulability

Own Criticality Based Priority ( OCBP ) Construct fixed priority table offline. At each scheduling decision point, dispatch the job with the highest priority. Priorities assigned using Audsley’s/Lawler’s method.

OCBP – Priority table construction Sanjoy Baruah, Scheduling Issues in Mixed-Criticality Systems

OCBP – Speed up factor

Deterministic results are based on adversarial/worst-case behaviour.

Probabilistic execution times to guide execution time allocation Mutually independent

Open Questions What is a policy that minimizes expected lateness? – Based on expected criticality level. – Lateness: Response Time – Deadline. What is a policy that minimizes tardiness/lateness ratio? – Tardiness ratio: Response Time/Deadline. What is a policy that minimizes the probability of a deadline miss?

Current Investigation Finite Horizon Bandit Process Dynamic Allocation Indexes (DAI)  e.g., Gittins Index for multi-armed bandit processes Model as Markov Decision Processes Class of Optimal Stopping Problems Dropping times and time(s) to engage in job execution are random

If execution-time allocated to jobs so far is a random variable 

When and how many times to pull every bandit arm such that our expected overall reward is maximized ? Every slot machine is available for a limited time  deadlines Reward  processing time allocated Punishment  money we pay to play (how much closer we got to the deadline by the reward allocation) Weighted by job criticality n jobs

Policy – High Level Description

Prover (Scheduling Algorithm) Randomized/deterministic Adversary (randomized) Polynomial (in n ) number of communication rounds

?