Handling Routing Transport Haifa JFK TLV BGN To: Yishay From: Vered

Slides:



Advertisements
Similar presentations
1 Chapter 8 Queueing models. 2 Delay and Queueing Main source of delay Transmission (e.g., n/R) Propagation (e.g., d/c) Retransmission (e.g., in ARQ)
Advertisements

Probability, Statistics, and Traffic Theories
1 ELEN 602 Lecture 8 Review of Last lecture –HDLC, PPP –TDM, FDM Today’s lecture –Wavelength Division Multiplexing –Statistical Multiplexing –Preliminary.
Queueing Model 박희경.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Performance analysis for high speed switches Lecture 6.
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
1 Queuing Theory 2 Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or.
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
1 TCOM 501: Networking Theory & Fundamentals Lecture 7 February 25, 2003 Prof. Yannis A. Korilis.
1 Overview of Queueing Systems Michalis Faloutsos Archana Yordanos The web.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/28/20151.
Rensselaer Polytechnic Institute © Shivkumar Kalvanaraman & © Biplab Sikdar1 ECSE-4730: Computer Communication Networks (CCN) Network Layer Performance.
Queueing Theory.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
Introduction to Queuing Theory. 2 Queuing theory definitions  (Kleinrock) “We study the phenomena of standing, waiting, and serving, and we call this.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?

Queueing Theory I. Summary Little’s Law Queueing System Notation Stationary Analysis of Elementary Queueing Systems  M/M/1  M/M/m  M/M/1/K  …
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Probability Review Thinh Nguyen. Probability Theory Review Sample space Bayes’ Rule Independence Expectation Distributions.
MIT Fun queues for MIT The importance of queues When do queues appear? –Systems in which some serving entities provide some service in a shared.
Introduction to Queueing Theory
Network Design and Analysis-----Wang Wenjie Queueing System IV: 1 © Graduate University, Chinese academy of Sciences. Network Design and Analysis Wang.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
1 Queueing Theory Frank Y. S. Lin Information Management Dept. National Taiwan University
TexPoint fonts used in EMF.
CS433 Modeling and Simulation Lecture 12 Queueing Theory Dr. Anis Koubâa 03 May 2008 Al-Imam Mohammad Ibn Saud University.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
Traffic Flow Fundamentals
Modeling and Simulation Queuing theory
CS352 - Introduction to Queuing Theory Rutgers University.
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
1 Queuing Delay and Queuing Analysis. RECALL: Delays in Packet Switched (e.g. IP) Networks End-to-end delay (simplified) = End-to-end delay (simplified)
Queuing Theory.  Queuing Theory deals with systems of the following type:  Typically we are interested in how much queuing occurs or in the delays at.
COMT 4291 Queuing Analysis COMT Call/Packet Arrival Arrival Rate, Inter-arrival Time, 1/ Arrival Rate measures the number of customer arrivals.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
Managerial Decision Making Chapter 13 Queuing Models.
Queuing Theory. Model Customers arrive randomly in accordance with some arrival time distribution. One server services customers in order of arrival.
Queueing Theory II.
Lecture 14 – Queuing Networks
Load Balancing and Data centers
Al-Imam Mohammad Ibn Saud University
Queuing Theory Queuing Theory.
Queuing Theory Non-Markov Systems
Internet Queuing Delay Introduction
Lecture on Markov Chain
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
CPSC 531: System Modeling and Simulation
Internet Queuing Delay Introduction
Introduction Notation Little’s Law aka Little’s Result
Queuing models Basic definitions, assumptions, and identities
System Performance: Queuing
Queuing models Basic definitions, assumptions, and identities
TexPoint fonts used in EMF.
Queueing Theory II.
COMP60611 Fundamentals of Parallel and Distributed Systems
Lecture 14 – Queuing Networks
COMP60621 Designing for Parallelism
Queueing Theory 2008.
CSE 550 Computer Network Design
Queueing Theory Frank Y. S. Lin Information Management Dept.
Course Description Queuing Analysis This queuing course
CS723 - Probability and Stochastic Processes
Lecture 5 This lecture is about: Introduction to Queuing Theory
Presentation transcript:

Handling Routing Transport Haifa JFK TLV BGN To: Yishay From: Vered Shipment 792 Pack. 1 of 3 Shipment 792 Pack. 2 of 3 Shipment 792 Pack. 3 of 3 To: Yishay From: Vered To: Yishay From: Vered To: Yishay From: Vered Handling To: Boston From: TLV Shipment 792 Pack. 3 of 3 Routing To: Yishay From: Vered To: Boston To: Boston From: TLV Shipment 792 Pack. 3 of 3 To: Yishay From: Vered Transport Haifa JFK TLV BGN

JFK N.Y. To: Yishay From: Vered Boston Shipment 792 Shipment 792 Pack. 1 of 3 Shipment 792 Pack. 2 of 3 Shipment 792 Pack. 3 of 3 To: Yishay From: Vered To: Yishay From: Vered To: Yishay From: Vered To: Boston From: TLV Shipment 792 Pack. 3 of 3 To: Yishay From: Vered To: Boston To: Boston From: TLV Shipment 792 Pack. 3 of 3 To: Yishay From: Vered JFK N.Y. Boston

Example Send a file over the internet packet link (fixed rate) Modem card buffer

Delay Models place Computation transmission propagation (Queuing) C B time

Queuing Theory The theoretical study of waiting lines, expressed in mathematical terms input output server queue Delay= queue time +service time

Describe the dynamics of the system Evaluate its Performance The Problem Given One or more servers that render the service A (possibly infinite) pool of customers Some description of the arrival and service processes. Describe the dynamics of the system Evaluate its Performance If there is more than one queue for the server(s), there may also be some policy regarding queue changes for the customers.

(all the information necessary to completely describe the system) Common Assumptions The queue is FCFS (FIFO). We look at steady state : after the system has started up and things have settled down. State=a vector indicating the total # of customers in each queue at a particular time instant (all the information necessary to completely describe the system)

Notation for queuing systems omitted if infinite :Where A and B can be D for Deterministic distribution M for Markovian (exponential) distribution G for General (arbitrary) distribution

The M/M/1 System Poisson Process Exponential server output queue

Arrivals follow a Poisson process Readily amenable for analysis Reasonable for a wide variety of situations a(t) = # of arrivals in time interval [0,t]  = mean arrival rate t = k ; k = 0,1,…. ; 0 Pr(exactly 1 arrival in [t,t+]) =  Pr(no arrivals in [t,t+]) = 1- Pr(more than 1 arrival in [t,t+]) = 0 Pr(a(t) = n) = e- t ( t)n/n!

Model for Interarrivals and Service times Customers arrive at times t0 < t1 < .... - Poisson distributed The differences between consecutive arrivals are the interarrival times : n = tn - t n-1 n in Poisson process with mean arrival rate , are exponentially distributed, Pr(n  t) = 1 - e- t Service times are exponentially distributed, with mean service rate : Pr(Sn  s) = 1 - e-s

System Features  This is a Markovian System Service times are independent service times are independent of the arrivals Both inter-arrival and service times are memoryless Pr(Tn > t0+t | Tn> t0) = Pr(Tn  t) future events depend only on the present state  This is a Markovian System

Discrete Time Markov Nk =# at time k Pri,j=Pr(Nk+1= j | Nk= i) = probability to go from i to j events in the time interval  Pr0,0 1-   Pri,i+1    Pri,i-1    Pri,i  1- -   Pri,j  0 1-  -  1-   1-  -      1 2    

Steady State Solution # transitions kk+1 = # transitions k+1 k therefore: Prk ( )= Prk+1 ( ) Prk+1= (/) Prk = Prk  Prk= kPr0 and since: Prk=(1-) k

M/M/1 Performance Average # in the queue: Variance # in the queue

M/M/1 Performance is the mean waiting time to get through the queuing system Little’s Law : the mean # of customers in the system is 

A Heuristic Proof for Little’s law N(t)=A(t)-D(t)

Service Times Distributions for single server systems when service times (X1,X2,….) are i.i.d and independent of the interarrival times, the average service time: the expected customer waiting time in queue: (P-K formula) is the second moment for M/M/1 : for M/D/1 :

Service Times Distributions for single server systems (cont.) the total waiting time (in queue+in service): The expected # of customers in the system (Little’s law) : The expected # of customers in the queue

Networks of queues Interaction of communication lines transmission from one channel to another via junction useful application: estimate delay of packets in a packet switch. Problem: the interarrival times at the second queue depend on the packet lengths

Queuing networks : Model assumptions M/M/1 servers only ( , ) the output of each server is a Poisson similar to its input (Burke) the sum of several inputs I is a Poisson packets length is independent random (Kleinrock) 1 1+ 2+ 3 2 3