Lesson 11: Solved M/G/1 Exercises

Slides:



Advertisements
Similar presentations
E&CE 418: Tutorial-4 Instructor: Prof. Xuemin (Sherman) Shen
Advertisements

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)
1 ELEN 602 Lecture 8 Review of Last lecture –HDLC, PPP –TDM, FDM Today’s lecture –Wavelength Division Multiplexing –Statistical Multiplexing –Preliminary.
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.
Consider the M/M/1 queue Arrival process: Poi( t) Service distribution: Poi(  t) One server, infinite queue length possible Prob(arrival in small interval.
Mean Delay in M/G/1 Queues with Head-of-Line Priority Service and Embedded Markov Chains Wade Trappe.
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Queueing Network Model. Single Class Model Open - Infinite stream of arriving customers Closed - Finite population eg Intranet users Indistinguishable.
Little’s Theorem Examples Courtesy of: Dr. Abdul Waheed (previous instructor at COE)
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.
Lesson 6: Queues and Markov Chains
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
April 10, HOL Blocking analysis based on: Broadband Integrated Networks by Mischa Schwartz.
Lesson 9: Advanced M/G/1 Methods and Examples Giovanni Giambene Queuing Theory and Telecommunications: Networks and Applications 2nd edition, Springer.
Lesson 18: Networks of Queues and Exercises Giovanni Giambene Queuing Theory and Telecommunications: Networks and Applications 2nd edition, Springer All.
Network Analysis A brief introduction on queues, delays, and tokens Lin Gu, Computer Networking: A Top Down Approach 6 th edition. Jim Kurose.
Introduction to Queuing Theory
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
Probability Review Thinh Nguyen. Probability Theory Review Sample space Bayes’ Rule Independence Expectation Distributions.
Lesson 7: M/G/1 Queuing Systems Analysis Giovanni Giambene Queuing Theory and Telecommunications: Networks and Applications 2nd edition, Springer All rights.
Department of Information Engineering University of Padova, ITALY Performance Analysis of Limited–1 Polling in a Bluetooth Piconet A note on the use of.
Introduction to Operations Research
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
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.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
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.
yahoo.com SUT-System Level Performance Models yahoo.com SUT-System Level Performance Models8-1 chapter11 Single Queue Systems.
1 Dr. Ali Amiri TCOM 5143 Lecture 8 Capacity Assignment in Centralized Networks.
Queuing Theory and Traffic Analysis Based on Slides by Richard Martin.
Why Wait?!? Bryan Gorney Joe Walker Dave Mertz Josh Staidl Matt Boche.
7-1 Introduction to Queueing Theory l Components of a queueing system n probability density function (pdf) of interarrival times n pdf of service times.
State N 2.6 The M/M/1/N Queueing System: The Finite Buffer Case.
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
CS352 - Introduction to Queuing Theory Rutgers University.
Network Design and Analysis-----Wang Wenjie Queueing Theory II: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
Computer Networking Queueing (A Summary from Appendix A) Dr Sandra I. Woolley.
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
1 Chapter 4 Fundamental Queueing System. 2 3 Ref: Mischa Schwartz “Telecommunication Networks” Addison-Wesley publishing company 1988.
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.
1 Chapter 4 Fundamental Queueing System
COMT 4291 Queuing Analysis COMT Call/Packet Arrival Arrival Rate, Inter-arrival Time, 1/ Arrival Rate measures the number of customer arrivals.
Thought of the day Thought of the day Difference between science and spirituality is same as the difference between word and silence. Sameer Trapasiya.
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.
Queuing Theory Simulation & Modeling.
Managerial Decision Making Chapter 13 Queuing Models.
1 Lecture 06 EEE 441: Wireless And Mobile Communications BRAC University.
Queueing Theory II.
T305: DIGITAL COMMUNICATIONS Arab Open University-Lebanon Tutorial 181 T305: Digital Communications Block 4 – Modelling Activities: Traffic.
Al-Imam Mohammad Ibn Saud University
Queueing Theory What is a queue? Examples of queues:
Lecture on Markov Chain
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
The M/G/1 Queue and others.
Queueing Theory II.
Queueing networks.
Queueing Theory 2008.
CSE 550 Computer Network Design
Satellite Packet Communications A UNIT -V Satellite Packet Communications.
Presentation transcript:

Lesson 11: Solved M/G/1 Exercises Slide supporting material Lesson 11: Solved M/G/1 Exercises Giovanni Giambene Queuing Theory and Telecommunications: Networks and Applications 2nd edition, Springer All rights reserved © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Exercise #1 We consider an ATM multiplexer receiving 2 synchronous input time-division traffic flows that have different priorities: Each slot of the high-priority line carries an ATM cell with probability p; Each slot of the low-priority line carries one message with probability q; each message is composed of a random number of cells according to the PGF L(z). The packet arrival process on the low-priority line is compound Bernoulli. The ATM multiplexer stores the cells before transmission in a buffer of infinite capacity. The output line is synchronous with the input lines: input and output slot durations are equal; each output slot is used to convey one input cell. We have to study the mean delay experienced by the cells of the low-priority line due to the presence of the cells served of the high-priority line. This exercise could also be applied to any time-division transmission (e.g., downlink transmissions of wireless systems). © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Exercise #1 This exercise could also be applied to any time-division transmission (e.g., downlink transmissions of wireless systems). We consider an ATM multiplexer receiving 2 synchronous input time-division traffic flows that have different priorities: Each slot of the high-priority line carries an ATM cell with probability p; Each slot of the low-priority line carries one message with probability q; each message is composed of a random number of cells according to the PGF L(z). The packet arrival process on the low-priority line is compound Bernoulli. The ATM multiplexer stores the cells before transmission in a buffer of infinite capacity. The output line is synchronous with the input lines: input and output slot durations are equal; each output slot is used to convey one input cell. We have to study the mean delay experienced by the cells of the low-priority line due to the presence of the cells served of the high-priority line. © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Exercise #1 (cont’d) This system admits a queuing model as depicted below: The arrivals from line #1 have a non-prehemptive priority with respect to those from line #2. © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Solution The presence of the high-priority traffic causes that output line slots are available for the low-priority traffic with probability 1-p and unavailable with probability p. Hence, the equivalent service model for low-priority traffic is shown below: Three different imbedding choices can be made, depending on the performance metric we need to measure. In the different cases, we have different meanings for ni and ai modeling the system. Since the mean cell delay is requested, we need to imbed the system at the end of the slots of the output TDM line. The service of the high-priority traffic from line #1 is unaffected by the service of the lower priority traffic from line #2. The high-priority traffic has no waiting delay, since it is immediately served at the arrival [A’’(1) is equal to zero for this traffic]. © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Solution The service of the high-priority traffic from line #1 is unaffected by the service of the lower priority traffic from line #2. The high-priority traffic has no waiting delay, since it is immediately served at the arrival [A’’(1) is equal to zero for this traffic]. The presence of the high-priority traffic causes that output line slots are available for the low-priority traffic with probability 1-p and unavailable with probability p. Hence, the equivalent service model for low-priority traffic is shown below: Three different imbedding choices can be made, depending on the performance metric we need to measure. In the different cases, we have different meanings for ni and ai modeling the system. Since the mean cell delay is requested, we need to imbed the system at the end of the slots of the output TDM line. © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Solution: Imbedding at the Slot End of the Output Line Let ni denote the number of ATM cells in the buffer (from the low-priority line) at the end of the i-th slot of the output line. Let ai denote the number of ATM cells (from the low-priority line) arrived at the buffer during the i-th slot. where m is a random variable defined as: We have obtained the same difference equation of the queue with feedback solved at the end of Lesson #9 (in that case, however, the arrival process is different, continuous time). (*) At the i-th imbedding instant i+, the queue is empty, ni = 0. Hence, during the next slot no cell is transmitted and at the end of the next slot (instant i+1-) the system contains the new requests ai+1, arrived in the current slot. With this type of imbedding instants, no service differentiation is needed for the case ni = 0. (*) © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Solution… Let A(z) denote the PGF of number of cells arrived at the buffer in a slot from the low priority line: We achieve the following expression for the PGF of the number of cells in the queue from the low-priority line, P(z): Since P(z) has a singularity at z = 1, we can derive the mean number of cells in the buffer from the low-priority line, Np, by multiplying both sides of P(z) by the denominator and by differentiating twice: Stability limit according to the condition P0>0. Traffic intensity in cells/slot Additional waiting term due to the fact that resources are not always available (prob. p). © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved Due to the availability of resources with prob. 1-p

Solution… Stability condition for the high-priority line: p < 1. Stability condition for the low-priority line: 1 – p > qL’(1). The low priority cells ‘see’ the output slot available with probability 1 – p; this quantity must be bigger than the mean number of cells arrived per slot, qL’(1). For p = 0 we re-obtain the classical M/G/1 solution: By means of the Little theorem we can derive the mean packet delay Tp dividing Np by the mean packet arrival rate of qL’(1) cells/slot that is equal to A’(1): © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Exercise #2 Messages arrive at a node of a telecommunication network to be transmitted on an output line. From measurements we know that the arrival process and the service process are characterized as follows: Interarrival times  are distributed so that E[2]  2E[]2. The message service time, t, is characterized by a distribution so that E[t2]  E[t]2. We have to determine the mean delay experienced by a message to cross the node. © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Solution The interarrival times have mean square value and mean value that fulfill the typical relation of an exponential distribution with mean rate 1/E[]. Hence, we can assume that the message arrival process is Poisson. The message service time has mean square value and mean value that fulfill the typical relation of a deterministic distribution (i.e., Var = 0). We can study the node of the telecommunication network according to the M/D/1 theory by imbedding the chain at the instants of message transmission completion. © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Solution (cont’d) We can express the mean message delay by means of the Pollaczek-Khinchin formula: where l = 1/E[] and x = t. System stability is assured if lx = t/E[] < 1 Erlang. © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Exercise #3 Let us consider a scheduler for multiple flows sharing an output line as follows. We refer to the transmission system outlined in the following Figure with N traffic flows (each modeled as an independent Poisson arrival of packets with mean rate l), which correspond to distinct buffers served by a shared transmission line. Let t denote the packet transmission time. The transmission line cyclically serves the different buffers according to a type of Round Robin (RR) limited scheme: the line transmits one packet from a buffer (if it is not empty) and then instantaneously switches to service the next buffer (zero switch-over times) according to a fixed service cycle. We have to determine the mean delay experienced by a packet from its arrival at the system to its departure. © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Exercise #3 (cont’d) © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Solution Since the server (i.e., the transmission line) instantaneously switches from one buffer to the next one, we can model the entire system as a single equivalent global queue with a specific service discipline for the packets. The arrival process to this ‘global’ (virtual) queue is the sum of independent Poisson arrivals; hence, it is still Poisson with mean rate Nl. The transmission time of a packet is deterministic and equal to t. Therefore the equivalent global queue admits an M/D/1 model. Only if the switching times of the server from one queue to the other are null, we can model the whole system by means of an M/D/1 queue. © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Solution Since the server (i.e., the transmission line) instantaneously switches from one buffer to the next one, we can model the entire system as a single equivalent global queue with a specific service discipline for the packets. The arrival process to this ‘global’ (virtual) queue is the sum of independent Poisson arrivals; hence, it is still Poisson with mean rate Nl. The transmission time of a packet is deterministic and equal to t. Therefore the equivalent global queue admits an M/D/1 model. Only if the switching times of the server from one queue to the other are null, we can model the whole system by means of an M/D/1 queue. © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Solution (cont’d) We imbed the queue at the instants of packet transmission completions and we adopt the Pollaczek-Khinchin formula to express the mean packet delay T as: This system is stable if lNt < 1 Erlang. Note that an M/G/1 queuing model with vacations is needed to study the case of non-zero-switch-over times from the service of a queue to the service of the next queue. © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved

Thank you! giovanni.giambene@gmail.com © 2013 Queuing Theory and Telecommunications: Networks and Applications – All rights reserved