The Dynamic Analysis and Design of A Communication link with Stationary and Nonstationary Arrivals

Similar documents
Subsequently we consider a model to analyze the integrated streaming traffic and data traffic, where the data traffic is bursty with a time-varying

Continuous-Time Markov Chain

Introduction to Markov Chains, Queuing Theory, and Network Performance

Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.

IEOR 6711, HMWK 5, Professor Sigman

LECTURE #6 BIRTH-DEATH PROCESS

Figure 10.1: Recording when the event E occurs

Markov Chains. X(t) is a Markov Process if, for arbitrary times t 1 < t 2 <... < t k < t k+1. If X(t) is discrete-valued. If X(t) is continuous-valued

CS418 Operating Systems

EXAM IN COURSE TMA4265 STOCHASTIC PROCESSES Wednesday 7. August, 2013 Time: 9:00 13:00

MS&E 321 Spring Stochastic Systems June 1, 2013 Prof. Peter W. Glynn Page 1 of 10. x n+1 = f(x n ),

The Behavior of a Multichannel Queueing System under Three Queue Disciplines

Data analysis and stochastic modeling

Lecture 9: Deterministic Fluid Models and Many-Server Heavy-Traffic Limits. IEOR 4615: Service Engineering Professor Whitt February 19, 2015

Performance Evaluation of Queuing Systems

Computer Systems Modelling

4.7 Finite Population Source Model

SERVER STAFFING TO MEET TIME-VARYING DEMAND

NICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1

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 "

Readings: Finish Section 5.2

Statistics 150: Spring 2007

SENSITIVITY TO THE SERVICE-TIME DISTRIBUTION IN THE NONSTATIONARY ERLANG LOSS MODEL

Derivation of Formulas by Queueing Theory

IOE 202: lectures 11 and 12 outline

BRAVO for QED Queues

Author's personal copy

6 Continuous-Time Birth and Death Chains

Stochastic process. X, a series of random variables indexed by t

Economy of Scale in Multiserver Service Systems: A Retrospective. Ward Whitt. IEOR Department. Columbia University

All models are wrong / inaccurate, but some are useful. George Box (Wikipedia). wkc/course/part2.pdf

Continuous Time Markov Chains

Continuous Time Processes

GI/M/1 and GI/M/m queuing systems

Introduction to queuing theory

Bulk input queue M [X] /M/1 Bulk service queue M/M [Y] /1 Erlangian queue M/E k /1

Stabilizing Customer Abandonment in Many-Server Queues with Time-Varying Arrivals

Queueing Theory. VK Room: M Last updated: October 17, 2013.

Non Markovian Queues (contd.)

Stochastic Processes. Theory for Applications. Robert G. Gallager CAMBRIDGE UNIVERSITY PRESS

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Large deviations for random walks under subexponentiality: the big-jump domain

EE 445 / 850: Final Examination

Math 597/697: Solution 5

SYMBOLS AND ABBREVIATIONS

Markov processes and queueing networks

Name of the Student:

QUEUING MODELS AND MARKOV PROCESSES

Stabilizing Customer Abandonment in Many-Server Queues with Time-Varying Arrivals

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

MODELING WEBCHAT SERVICE CENTER WITH MANY LPS SERVERS

Manual for SOA Exam MLC.

ec1 e-companion to Liu and Whitt: Stabilizing Performance

Since D has an exponential distribution, E[D] = 0.09 years. Since {A(t) : t 0} is a Poisson process with rate λ = 10, 000, A(0.

Little s result. T = average sojourn time (time spent) in the system N = average number of customers in the system. Little s result says that

Chapter 1. Introduction. 1.1 Stochastic process

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

Lecture 20: Reversible Processes and Queues

Jitter Analysis of an MMPP 2 Tagged Stream in the presence of an MMPP 2 Background Stream

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18.

Renewal processes and Queues

Many-Server Loss Models with Non-Poisson Time-Varying Arrivals

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/25/17. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Chapter 5: Special Types of Queuing Models

New Perspectives on the Erlang-A Queue

Chapter 8 Queuing Theory Roanna Gee. W = average number of time a customer spends in the system.

Fluid and Diffusion Limits for Transient Sojourn Times of Processor Sharing Queues with Time Varying Rates

A Queueing System with Queue Length Dependent Service Times, with Applications to Cell Discarding in ATM Networks

1 Basic concepts from probability theory

Advanced Computer Networks Lecture 3. Models of Queuing

Networking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013

Bernoulli Counting Process with p=0.1

Part I Stochastic variables and Markov chains

Session-Based Queueing Systems

Computer Science, Informatik 4 Communication and Distributed Systems. Simulation. Discrete-Event System Simulation. Dr.

Stochastic Models 3 (1998)

Stochastic Models in Computer Science A Tutorial

Online Supplement to Delay-Based Service Differentiation with Many Servers and Time-Varying Arrival Rates

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

Classical Queueing Models.

Review of Queuing Models

Advanced Queueing Theory

Continuous-time Markov Chains

CDA5530: Performance Models of Computers and Networks. Chapter 3: Review of Practical

Irreducibility. Irreducible. every state can be reached from every other state For any i,j, exist an m 0, such that. Absorbing state: p jj =1

57:022 Principles of Design II Final Exam Solutions - Spring 1997

Performance Modelling of Computer Systems

Designing a Telephone Call Center with Impatient Customers

Solving Burnup Equations in Serpent:

STOCHASTIC MODELS FOR RELIABILITY, AVAILABILITY, AND MAINTAINABILITY

Probability Distributions

What You Should Know About Queueing Models To Set Staffing Requirements in Service Systems

CDA6530: Performance Models of Computers and Networks. Chapter 3: Review of Practical Stochastic Processes

Contents Preface The Exponential Distribution and the Poisson Process Introduction to Renewal Theory

Intro Refresher Reversibility Open networks Closed networks Multiclass networks Other networks. Queuing Networks. Florence Perronnin

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/6/16. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

EE126: Probability and Random Processes

Chapter 11 Output Analysis for a Single Model. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

Slides 12: Output Analysis for a Single Model

Transcription:

1 of 28 The Dynamic Analysis and Design of A Communication link with Stationary and Nonstationary Arrivals Five dubious ways to dynamically analyze and design a communication system Wenhong Tian, Harry Perros Department of Computer Science North Carolina State University Raleigh, NC, 27695 June 12, 2006

Outline 2 of 28 1 Introduction Andrei Andreevich Markov (1856-1922); Why are we doing this research? 2 The Nonstationary Erlang Loss System Stationary Arrivals Time-varying Arrivals Dimensioning A Single Link 3 Different Solutions to Calculate Blocking Probabilities The Exact Closed-form Solutions The Ordinary Differential Equations Solver Approach The Truncated Markov Process Approximation The Fixed Point Approximation (FPA) Method The Large Deviation Approach Numerical results 4 Conclusion

Outline 3 of 28 1 Introduction Andrei Andreevich Markov (1856-1922); Why are we doing this research? 2 The Nonstationary Erlang Loss System Stationary Arrivals Time-varying Arrivals Dimensioning A Single Link 3 Different Solutions to Calculate Blocking Probabilities The Exact Closed-form Solutions The Ordinary Differential Equations Solver Approach The Truncated Markov Process Approximation The Fixed Point Approximation (FPA) Method The Large Deviation Approach Numerical results 4 Conclusion

4 of 28 In the Honor of A. A. Markov In this meeting: Life and History of A. A. Markov; applications (five greatest vs. risk etc); past,present and future of his chains; theory and numerical solutions of MC etc. A good source may be: G. P. Basharin, A.N. Langville and V. A. Naumov, The life and work of A. A. Markov, Linear Algebra and its applications. Vol. 386: 3-26, 2004. Just because Google uses Markov chain (random walk actually), does not mean MC is already very well understood and applied.

5 of 28 Problem Most of performance analysis and network design solutions are based on steady-state analysis (classic). But real traffic is more likely nonstationary (or time-dependent). Nonstationary queueing models are needed for many complex production, service, communication and air transportation systems. Q: how do we provide nonstationary analysis and design(extension)? Example: time-of-day effect Real life is nonstationary. The number of telephone calls made during 5 minutes interval of 2:07 pm to 2:12 pm on a Wednesday afternoon is considerably larger than the number of calls made during the 5 minute interval of 3:46 am to 3:51 am Monday morning. W.A. Massey [10]

6 of 28 Solutions Time-dependent blocking probabilities can be computed Time-dependent blocking prob. for constant arrival rates Time-dependent blocking prob. for time-varying arrival rates Dynamic dimensioning approaches for a single link

Major references 7 of 28 1 Jagerman [6], Nonstationary blocking in telephone networks, 1975. 2 C. Moler and C. Van Loan[12], Nineteen dubious ways to compute the exponential of a matrix, twenty-five years later, SIAM Rev., 45(1):pp. 3-49, 2003. 3 Mandjes and Ridder [9], A large deviations approach to the transient of the Erlang loss model,2001. 4 Nayak and Sivarajan [13], Dimensioning Optical Networks Under Traffic Growth Models,2003 5 Karagiannis et al. [7], A nonstationary Poisson view of Internet traffic, In the Proceedings of INFOCOM 2004

Outline 8 of 28 1 Introduction Andrei Andreevich Markov (1856-1922); Why are we doing this research? 2 The Nonstationary Erlang Loss System Stationary Arrivals Time-varying Arrivals Dimensioning A Single Link 3 Different Solutions to Calculate Blocking Probabilities The Exact Closed-form Solutions The Ordinary Differential Equations Solver Approach The Truncated Markov Process Approximation The Fixed Point Approximation (FPA) Method The Large Deviation Approach Numerical results 4 Conclusion

9 of 28 Fig.0 The Markov chain of Erlang loss model for a single service center

Differential Equations for M/M/s/s System 10 of 28 From Markov chain, The loss system M/M/s/s may be represented by the following set of forward differential equations: P 0 (t) = µp 1(t) λp 0 (t) (1) P n(t) = λp n 1 (t) + (n + 1)µP n+1 (t) (λ + nµ)p n (t), 1 n < s, (2) P s(t) = λp s 1 (t) sµp s (t) (3) where P 0 (t) + P 1 (t) + P 2 (t) +... + P s (t)=1, and 0 P n (t) 1, for t 0 and n=0, 1, 2,..., s.

11 of 28 Fig.1 time-dependent blocking probabilities of M/M/8/8, ρ = 2 1 x 10 3 transient 0.8 0.6 0.4 0.2 blocking probability steady state 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 time

12 of 28 Differential Equations for M(t)/M/s/s System From Markov chain, loss system M(t)/M/s/s may be represented by the following set of forward differential equations: P 0 (t) = µp 1(t) λ(t)p 0 (t) (4) P n(t) = λ(t)p n 1 (t)+(n+1)µp n+1 (t) (λ(t)+nµ)p n (t), 1 n < s, (5) P s(t) = λ(t)p s 1 (t) sµp s (t) (6) where P 0 (t) + P 1 (t) + P 2 (t) +... + P s (t)=1, t 0, and 0 P n (t) 1, for t 0 and n=0, 1, 2,..., s.

13 of 28 Fig.2 time-dependent blocking probabilities of the M(t)/M/220/220, where λ(t) = 180 + 50sin(2(t + 20)) 0.025 0.02 0.015 0.01 0.005 blocking probability 0 transient Periodic 0.005 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 time

14 of 28 Fig.3 A dimensioning example of a single link with stationary arrival rate λ=10 20 allocated capacity 15 10 5 transient steady state dimensioning time dependent dimensioning stationary 0 0 2 4 6 8 10 12 time

15 of 28 Fig.4 A dimensioning example of a single link with nonstationary arrival rates 25 20 time dependent arrival rate time dependent allocated capacity 15 10 5 0 0 1 2 3 4 5 6 7 8 9 10 11 12 time

Outline 16 of 28 1 Introduction Andrei Andreevich Markov (1856-1922); Why are we doing this research? 2 The Nonstationary Erlang Loss System Stationary Arrivals Time-varying Arrivals Dimensioning A Single Link 3 Different Solutions to Calculate Blocking Probabilities The Exact Closed-form Solutions The Ordinary Differential Equations Solver Approach The Truncated Markov Process Approximation The Fixed Point Approximation (FPA) Method The Large Deviation Approach Numerical results 4 Conclusion

17 of 28 Why try different solutions? 1 We try to compare and find efficient approaches 2 Our goal is to dimension a communication system, calculating the blocking probabilities is the first step. 3 Q: Which solution is good for dimensioning?

18 of 28 Stationary Arrivals From the Continuous Time Markov Chain of M/M/s/s queue, we obtain Q = λ λ 0 0 µ µ λ λ 0 0 2µ 2µ λ 0..... 0 0 λ 0 0 (s 1)µ (s 1)µ λ λ 0 0 sµ sµ (7) P s (t) = βe (QT )t α (8) where α is the initial state probability vector, β is an all-zero row vector except that the last entry is 1.

Nonstationary Arrivals 19 of 28 An explicit solution is provided in Jagerman [6] by using the probability generating functions of the state probabilities and the corresponding binomial moments where arrival rate function λ(t) is considered to be continuous. However, it s too complex to use for practice. Q: What to do?

20 of 28 The Truncated Markov Process An Approximation (t) (t) (t) (t) 0 1 2 s s+1 µ 2µ sµ (s+1)µ Truncated M(t)/M/infinity M(t)/M/infinity

Stationary Arrivals 21 of 28 we can obtain the transient distribution of M/M/ [14]: Pn (t) = mn e m, m m(t) = ρ(1 e µt ). (9) n! applying the truncation property approximately for an M/M/s/s queue [6]: Pn(t) s P n (t) k {0, 1,...s} (10) k P k (t),

Nonstationary Arrivals 22 of 28 For the M(t)/M/ queue assuming service rate µ = 1: Pn (t) = ρ(t)n e ρ(t) t, ρ(t) = e t λ(u)e u du (11) n! 0 applying truncated property to M(t)/M/s/s system [6]: P n (t) P{q (t) = n q (t) < s} = ρ(t)n /n! s i=0 ρ(t)i /i! (12) Q: How accurate?

23 of 28 The Fixed Point Approximation (FPA) Method The main idea of the FPA method is as follows (see Alnowibet and Perros [3]): Given a loss queue M(t)/M/s/s with time-dependent rate λ(t), the time-dependent average number of customers E[Q(t)] can be expressed as E [Q(t)] = λ(t)(1 B p (t)) µe[q(t)] (13) The time-dependent mean number of customers is given by : E[Q(t)]=ρ(t)/ (1 B p (t)), from which we can get the offered load ρ(t): ρ(t) = E[Q(t)]/(1 B p (t)). (14) where B p (t) = ρ(t)s /s! s i=0 ρ(t)i /i! (15)

The Large Deviation Approach 24 of 28 1 The Large Deviation theory has similarity with the Central Limit theory (CLT). 2 The CLT governs random fluctuations only near the mean deviations from the mean of the order of δ/ n, where δ is the standard deviation. Fluctuations which are of the order of δ are, relative to typical fluctuations, much bigger: they are large deviations from the mean. 3 An interesting asymptotic regime is obtained by scaling the arrival process (by replacing λ(t) with nλ 1 (t) ). 4 Applying Cramer s theorem and Chernoff s formula: P[ 1 n n i=1 X i > x] e ni(x), and I(x) = sup θ {xθ logm(θ)} where M(θ) represents the moment generating function of random variables {X 1, X 2,...}.

25 of 28 Fig.5 The comparison among exact solution, truncated approximation (TR), Bahadur-Rao approximations(br) and large deviations approximations (LD) where λ 1 (t) = 0.7 + 0.2sin(2πt), t=4.8, varying n. 10 0 10 1 LD BR Exact LD TR 10 2 10 3 Exact BR 10 4 TR 10 5 0 10 20 30 40 50 60 70 80 90 100 n

26 of 28 Fig.6 A dimensioning example of a single link with nonstationary arrival rates 250 200 Semi dynamic arrival rate BR FPA 150 100 50 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Outline 27 of 28 1 Introduction Andrei Andreevich Markov (1856-1922); Why are we doing this research? 2 The Nonstationary Erlang Loss System Stationary Arrivals Time-varying Arrivals Dimensioning A Single Link 3 Different Solutions to Calculate Blocking Probabilities The Exact Closed-form Solutions The Ordinary Differential Equations Solver Approach The Truncated Markov Process Approximation The Fixed Point Approximation (FPA) Method The Large Deviation Approach Numerical results 4 Conclusion

Conclusion 28 of 28 Observations For stationary arrivals, the exact closed-form solution will be CPU efficient and easy to implement. For nonstationary arrivals, FPA and Bahadur-Rao approximation will be better choice. Bahadur-Rao approach is preferred if the system is large For dimensioning purpose: Which method is the best?