M/G/1 Cheng-Fu Chou.

Slides:



Advertisements
Similar presentations
Lecture 10 Queueing Theory. There are a few basic elements common to almost all queueing theory application. Customers arrive, they wait for service in.
Advertisements

Many useful applications, especially in queueing systems, inventory management, and reliability analysis. A connection between discrete time Markov chains.
Cheng-Fu Chou, CMLab, CSIE, NTU Basic Queueing Theory (I) Cheng-Fu Chou.
Richard J. Boucherie department of Applied Mathematics
Probability, Statistics, and Traffic Theories
Continuous Time Markov Chains and Basic Queueing Theory
Previously Optimization Probability Review Inventory Models Markov Decision Processes.
Previously Optimization Probability Review Inventory Models Markov Decision Processes.
HW # Due Day: Nov 23.
Performance analysis for high speed switches Lecture 6.
Multiple server queues In particular, we look at M/M/k Need to find steady state probabilities.
Mean Delay in M/G/1 Queues with Head-of-Line Priority Service and Embedded Markov Chains Wade Trappe.
Queueing Theory: Part I
Chapter 5 The Queue M/G/1. 2 M/G/1  Arrival  Service GeneralPoisson 1 srver.
Delay models in Data Networks
Basic queueing system components Arrival patterns What is common to these arrival patterns? What is different? How can we describe/specify an arrival.
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.
ELEN 602 Lecture 9 Review of last lecture Little’s Formula M/M/1 Queue
1 TCOM 501: Networking Theory & Fundamentals Lectures 9 & 10 M/G/1 Queue Prof. Yannis A. Korilis.
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.

Lecture 7  Poisson Processes (a reminder)  Some simple facts about Poisson processes  The Birth/Death Processes in General  Differential-Difference.
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  …
Queuing Theory Summary of results. 2 Notations Typical performance characteristics of queuing models are: L : Ave. number of customers in the system L.
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.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
Modeling and Analysis of Computer Networks
Cheng-Fu Chou, CMLab, CSIE, NTU Open Queueing Network and MVA Cheng-Fu Chou.
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
1 Ardavan Asef-Vaziri Sep-09Operations Management: Waiting Lines3  Mean inter-arrival time = 1/Ri = 1/R  Probability that the time between two arrivals.
Network Design and Analysis-----Wang Wenjie Queueing Theory II: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
Chapter 2 Probability, Statistics and Traffic Theories
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.
 Recall your experience when you take an elevator.  Think about usually how long it takes for the elevator to arrive.  Most likely, the experience.
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.
QUEUING. CONTINUOUS TIME MARKOV CHAINS {X(t), t >= 0} is a continuous time process with > sojourn times S 0, S 1, S 2,... > embedded process X n = X(S.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
Queuing Theory. Model Customers arrive randomly in accordance with some arrival time distribution. One server services customers in order of arrival.
Queueing Theory II.
M/G/1 Queue & Renewal Reward Theory
Lecture 14 – Queuing Networks
The Poisson Process.
Basic Modeling Components
Queueing Theory What is a queue? Examples of queues:
M/G/1 variants and Priority Queue
Queuing Theory Non-Markov Systems
Internet Queuing Delay Introduction
Lecture on Markov Chain
Finite M/M/1 queue Consider an M/M/1 queue with finite waiting room.
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
CPSC 531: System Modeling and Simulation
Birth-Death Process Birth – arrival of a customer to the system
Queueing Theory Carey Williamson Department of Computer Science
Introduction Notation Little’s Law aka Little’s Result
Handling Routing Transport Haifa JFK TLV BGN To: Yishay From: Vered
Lecture 7 Poisson Processes (a reminder)
Queueing Theory II.
Queuing Theory By: Brian Murphy.
Introduction to Queueing Theory
Queueing networks.
Lecture 14 – Queuing Networks
Queuing Networks Mean Value Analysis
Queuing Theory III.
Chapter 6 Queueing systems
Carey Williamson Department of Computer Science University of Calgary
Kendall’s Notation ❚ Simple way of summarizing the characteristics of a queue. Arrival characteristics / Departure characteristics / Number of servers.
CS723 - Probability and Stochastic Processes
Presentation transcript:

M/G/1 Cheng-Fu Chou

Residual Life Inter-arrival time of bus is exponential w/ rate l while hippie arrives at an arbitrary instant in time Question: How long must the hippie wait, on the average , till the bus comes along? Answer 1: Because the average inter-arrival time is 1/l, therefore 1/2l P. 2

Residual Life (cont.) Answer 2: because of memoryless, it has to wait 1/l General Result P. 3

Derivation P. 4

P. 5

M/G/1 M/G/1 a(t) = le –lt b(t) = general Describe the state [N(t), X0(t)] N(t): the no. of customers present at time t X0(t): service time already received by the customer in service at time t Rather than using this approach, we use “the method of the imbedded Markov Chain” P. 6

Imbedded Markov Chain [N(t), X0(t)] Select the “departure” points, we therefore eliminate X0(t) Now N(t) is the no. of customer left behind by a departure customer. (HW) For Poisson arrival pk(t) = rk(t) If in any system (even in non-Markovian) where N(t) makes discontinuous changes in size (plus or minus) one, then rk = dk = prob[departure leaves k customers behind] Therefore, for M/G/1 rk = dk = pk P. 7

P. 8

P. 9

Mean Queue Length P. 10

P. 11

P. 12

P. 13

P. 14

P. 15

P. 16

This is the famous Pollaczek – Khinchin Mean Value Formula

Examples P. 18

Mean Residual Service Time Wi: waiting time in queue of the i-th customer Ri: residual service time seen by the i-th customer Xi: service time of the i-th customer Ni: # of customers found waiting in the queue by the i-th customer upon arrival P. 19

P. 20

Residual Service Time rt x1 time t x1 x2 xM(t) P. 21

P. 22

Distribution of Number in the System P. 23

P. 24

Ex Q(z) for M/M/1 P. 25

Sol. P. 26

Waiting Time Distribution P. 27

Ex Response time distribution for M/M/1 Waiting time distribution for M/M/1 P. 28

Response Time Distribution

Waiting Time Distribution P. 30