1 Real-Time Queueing Theory Presented by: John Lehoczky Carnegie Mellon SAMSI Workshop Congestion Control and Heavy Traffic.

Slides:



Advertisements
Similar presentations
CPU Scheduling.
Advertisements

Slide 1 Insert your own content. Slide 2 Insert your own content.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
Combining Like Terms. Only combine terms that are exactly the same!! Whats the same mean? –If numbers have a variable, then you can combine only ones.
0 - 0.
Streaming Video over the Internet
Washington WASHINGTON UNIVERSITY IN ST LOUIS Real-Time: Periodic Tasks Fred Kuhns Applied Research Laboratory Computer Science Washington University.
EE5900 Advanced Embedded System For Smart Infrastructure
1 A Real-Time Communication Framework for Wireless Sensor-Actuator Networks Edith C.H. Ngai 1, Michael R. Lyu 1, and Jiangchuan Liu 2 1 Department of Computer.
CprE 458/558: Real-Time Systems
Capacity Planning IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
5.9 + = 10 a)3.6 b)4.1 c)5.3 Question 1: Good Answer!! Well Done!! = 10 Question 1:
1 School of Computing Science Simon Fraser University CMPT 771/471: Internet Architecture & Protocols TCP-Friendly Transport Protocols.
Traffic and routing. Network Queueing Model Packets are buffered in egress queues waiting for serialization on line Link capacity is C bps Average packet.
ECE 720T5 Fall 2011 Cyber-Physical Systems Rodolfo Pellizzoni.
CS 408 Computer Networks Congestion Control (from Chapter 05)
Tasks Periodic The period is the amount of time between each iteration of a regularly repeated task Time driven The task is automatically activated by.
Recent Progress on a Statistical Network Calculus Jorg Liebeherr Department of Computer Science University of Virginia.
Overview of Matchmaking and Scheduling (Mapping) Algorithm
Towards Feasibility Region Calculus: An End-to-end Schedulability Analysis of Real- Time Multistage Execution William Hawkins and Tarek Abdelzaher Presented.
Mixed Criteria Packet Scheduling Chad R. Meiners Eric Torng.
1 TCOM 501: Networking Theory & Fundamentals Lecture 7 February 25, 2003 Prof. Yannis A. Korilis.
Queueing Theory.
1 Real-Time Queueing Network Theory Presented by Akramul Azim Department of Electrical and Computer Engineering University of Waterloo, Canada John P.
Distributed Real-Time systems 1 By: Mahdi Sadeghizadeh Website: Sadeghizadeh.ir Advanced Computer Networks.
1 NETWORKED EMBEDDED SYSTEMS SRIKANTH SUBRAMANIAN.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
CS433 Modeling and Simulation Lecture 12 Queueing Theory Dr. Anis Koubâa 03 May 2008 Al-Imam Mohammad Ibn Saud University.
Queuing Networks Jean-Yves Le Boudec 1. Contents 1.The Class of Multi-Class Product Form Networks 2.The Elements of a Product-Form Network 3.The Product-Form.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
Distributed Multimedia Systems Resource management and Stream Adaptation Arun A Tharuvai CSC8530 October 21, 2003.
6. Application mapping 6.1 Problem definition
1 Real-Time Scheduling. 2Today Operating System task scheduling –Traditional (non-real-time) scheduling –Real-time scheduling.
Dzmitry Kliazovich University of Luxembourg, Luxembourg
1 Chapter 4 Fundamental Queueing System. 2 3 Ref: Mischa Schwartz “Telecommunication Networks” Addison-Wesley publishing company 1988.
Risk Analysis Workshop April 14, 2004 HT, LRD and MF in teletraffic1 Heavy tails, long memory and multifractals in teletraffic modelling István Maricza.
Sandtids systemer 2.modul el. Henriks 1. forsøg m. Power Point.
Chengzhi Li and Edward W. Knightly Schedulability Criterion and Performance Analysis of Coordinated Schedulers.
Virtual-Channel Flow Control William J. Dally
1 Chapter 4 Fundamental Queueing System
Review of Useful Definitions Statistical multiplexing is a method of sharing a link among transmissions. When computers use store-and-forward packet switching,
Embedded System Scheduling
Intro to Deterministic Analysis
Al-Imam Mohammad Ibn Saud University
Deadline Scheduling and Heavy tail distributionS
Lecture 24: Process Scheduling Examples and for Real-time Systems
Lottery Scheduling Ish Baid.
CprE 458/558: Real-Time Systems
CprE 458/558: Real-Time Systems
Scheduling in Packet Networks
Providing QoS through Active Domain Management
Sanjoy Baruah The University of North Carolina at Chapel Hill
Intro to Deterministic Analysis
Congestion Control in Data Networks and Internets
COMP60621 Designing for Parallelism
Congestion Control (from Chapter 05)
Networked Real-Time Systems: Routing and Scheduling
Congestion Control (from Chapter 05)
Javad Ghaderi, Tianxiong Ji and R. Srikant
Congestion Control (from Chapter 05)
Schedulability Conditions for Scheduling Algorithms
Congestion Control (from Chapter 05)
CSE 550 Computer Network Design
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Guaranteeing Message Latencies on Controller Area Network (CAN)
Congestion Control (from Chapter 05)
Fair Queueing.
Presentation transcript:

1 Real-Time Queueing Theory Presented by: John Lehoczky Carnegie Mellon SAMSI Workshop Congestion Control and Heavy Traffic

2 Background Real-time systems refer to computer and communication systems in which the applications/tasks/jobs/packets have explicit timing requirements (deadlines). These arise in (e.g.): – voice and video transmission (e.g. teleconferencing) – control systems (e.g. automotive) – avionics systems

3 Goals For a given workload model we want: – to predict the fraction of the workload that will meet its deadline (end-to-end in the network case), – to design workload scheduling and control policies that will ensure service guarantees (e.g. a suitably small fraction miss their deadline), – to investigate network design issues, e.g.: Number of priority bits needed Cost/benefit from flow tables Cost/benefit from keeping lead-time information

4 Model Multiple streams in a multi-node acyclic network. Independent streams of jobs. Jobs in a stream form a renewal process and have independent computational requirements at each node For a given stream, each job has an i.i.d. deadline (different for different streams) Node processing is EDF (Q-EDF), FIFO, PS, Fixed Priority.

5 Analysis: 1 In addition to tracking the workload at each node, we need to track the lead-time (= time until deadline elapses) for each task. The dimensionality becomes unbounded, and exact analysis is impossible. We resort to a heavy traffic analysis. This is appropriate for real-time problems. If we can analyze and control under heavy traffic, moderate traffic will be better.

6 Analysis: 2 Heavy traffic analysis (traffic intensity on each node converges to 1) One node – workload converges to Brownian motion. Multiple nodes, workload may converge to RBM. Conditional on the workload, lead-time profile converges to a deterministic form depending upon – stream deadline distributions, – scheduling policy – traffic intensity Combining the lead-time profile with the equilibrium distribution of the workload process, we can determine the lateness fraction for each flow.

7 Processor Sharing – Exp. Deadlines

8

9

10 Processor Sharing – Exp. Deadlines

11 Processor Sharing–Const. Deadlines

12 Processor Sharing-Const. Deadlines

13 Processor Sharing-Const. Deadlines

14 EDF Miss Rate Prediction =0.95 EDF scheduling Uniform(10,x) deadlines EDF Deadline Miss Rate: Internet Exponential Uniform : computed from the first two moments of task inter-arrival times and service times. : Mean Deadline