Renewal processes and Queues
|
|
- Ezra Watson
- 5 years ago
- Views:
Transcription
1 Renewal processes and Queues Last updated by Serik Sagitov: May 6, 213 Abstract This Stochastic Processes course is based on the book Probabilities and Random Processes by Geoffrey Grimmett and David Stirzaker. Chapter 1. A renewal process is a generalization of the Poisson process. Chapter 11. A simple queue model is a birth-death process with constant birth and death rates. 1 Renewal function and excess life Let T =, T n = X X n, where X i are iid strictly positive random variables called inter-arrival times. A renewal process N(t gives the number of renewal events during the time interval (, t] {N(t n} = {T n t}, T N(t t < T N(t+1. Definition 1 The renewal function m(t := E(N(t. In other texts it is the function U(t = 1 + m(t called the renewal function. Put F (t = P(X 1 t and define convolutions F (t = 1 {t }, F k (t = F (k 1 (t udf (u. Using a recursion N(t = 1 {X1 t}(1 + Ñ(t X 1, where Ñ(t is a renewed copy of the initial process N(t we find and m(t = F (t + k=1 m(t udf (u, m(t = F k (t, U(t = F k (t. In terms of the Laplace-Stieltjes transforms ˆF (θ := e θt df (t we get Û(θ = e θt du(t = k= k= e θt df k (t = ˆF (θ k 1 = 1 ˆF (θ. Example 2 Poisson process = Markovian renewal process: F (t = 1 e λt. Since k= we find m(t = λt. ˆF (θ = λ θ + λ ˆm(θ = λ θ, Definition 3 The excess life time E(t := T N(t+1 t. The distribution of E(t is given by P(E(t > y = (1 F (t + y udu(u. (1 1
2 This follows from the following recursion for b(t := P(E(t > y ( ( b(t = E E(1 {E(t>y} X 1 = E 1 {E(t X1>y}1 {X1 t} + 1 {X1>t+y} = 1 F (t + y + b(t xdf (x. Theorem 4 Elementary renewal theorem: m(t/t 1/µ as t, where µ = E(X 1. Proof. Due to the Wald equation (see later we have Since T N(t+1 = t + E(t, it follows E(T N(t+1 = µe(n(t + 1 = µu(t. (2 U(t = µ 1 (t + E(E(t, so that U(t µ 1 t. Moreover, if P(X 1 a = 1 for some finite a, then U(t µ 1 (t + a and the assertion follows. If X 1 is unbounded, then consider truncated inter-arrival times min(x i, a with mean µ a and renewal function U a (t. It remains to observe that U a (t tµ 1 a, U a (t U(t, and µ a µ as a. Theorem 5 Law of large numbers: N(t/t a.s. 1/µ as t. Proof. Note that T N(t t < T N(t+1. Thus, if N(t >, T N(t N(t t N(t < T ( N(t N(t + 1 N(t Since N(t as t, it ramains to apply the classical law of large numbers T n /n µ. Theorem 6 Central limit theorem. If σ 2 = Var(X 1 is positive and finite, then N(t t/µ tσ2 /µ 3 d N(, 1 as t. Proof. The usual CLT implies ( Ta(t µa(t P σ x Φ(x as a(t. a(t Put a(t = t/µ + x tσ 2 /µ 3, and observe that on one hand ( N(t t/µ P x = P(N(t a(t = P(T a(t t, tσ2 /µ 3 and on the other hand, t µa(t x as t. We conclude σ a(t ( N(t t/µ P x Φ( x = 1 Φ(x. tσ2 /µ 3 2 Stopping times and Wald s equation Definition 7 Let M be a r.v. taking values in the set {1, 2,...}. We call it a stopping time with respect to the sequence X n of inter-arrival times, if {M m} σ{x 1,..., X m }, for all m = 1, 2,... Lemma 8 Let X 1, X 2,... be iid r.v. with finite mean µ, and let M be a stopping time with respect to the sequence X n such that E(M <. Then E(X X M = µe(m. 2
3 Proof. By dominated convergence ( E(X X M = E lim n n ( X i 1 {M i} = lim E n X i 1 {M i} = E(X i P(M i = µe(m. n Here we used independence between {M i} and X i, which follows from the fact that {M i} is the complimentary event to {M i 1} σ{x 1,..., X i 1 }. Example 9 Since M = N(t + 1 is a stopping time for X n : the Wald equation implies (2. {M m} = {N(t m 1} = {X X m > t}, Example 1 Observe that M = N(t is not a stopping time and in general E(T N(t µm(t. Indeed, for the Poisson process µm(t = t while T N(t = t C(t, where C(t is the current lifetime. 3 Stationary distribution Theorem 11 Renewal theorem. If X 1 is not arithmetic, then for any positive h U(t + h U(t µ 1 h, t. Example 12 Arithmetic case. A typical arithmetic case is obtained, if we assume that the set of possible values R X for the inter-arrival times X i satisfies R X {1, 2,...} and R X {k, 2k,...} for any k = 2, 3,..., implying µ 1. If again U(n is the renewal function, then U(n U(n 1 is the probability that a renewal event occurs at time n. A discrete time version of Theorem 11 claims that U(n U(n 1 µ 1. Theorem 13 Key renewal theorem. monotone function, then If X 1 is not arithmetic, µ <, and g : [, [, is a g(t udu(u µ 1 g(udu, t. Sketch of the proof. Using Theorem 11, first prove the assertion for indicator functions of intervals, then for step functions, and finally for the limits of increasing sequences of step functions. Theorem 14 If X 1 is not arithmetic and µ <, then Proof. Apply the key renewal theorem to (1. y lim P(E(t y = t µ 1 (1 F (xdx. Definition 15 Let X 1, X 2,... be independent positive r.v. such that X 2, X 3,... have the same distribution. If as before, T = and T n = X X n, then N d (t = max{n : T n t} is called a delayed renewal process. It is described by two distributions F (t = P(X i t, i 2 and F d (t = P(X 1 t. Theorem 16 The process N d (t has stationary increments: N d (s + t N d (s d = N d (t, if and only if y F d (y = µ 1 (1 F (xdx. In this case the renewal function is linear m d (t = t/µ and P(E d (t y = F d (y independently of t. 3
4 4 Renewal-reward processes Let (X i, R i, i = 1, 2,... be iid pairs of possibly dependent random variables: X i are positive inter-arrival times and R i the associated rewards. Cumulative reward process W (t = R R N(t, w(t = E(W (t. Theorem 17 Renewal-reward theorem. Suppose (X i, R i have finite means µ = E(X and E(R. Then W (t/t a.s. E(R/µ, w(t/t E(R/µ, t. 5 Regeneration technique for queues Three applications of Theorem 17 to a general queueing system. Customers arrive one by one, and the n-th customer spends time V n in the system before departing. Let Q(t be the number of customers in the system at time t with Q( =. Let T be the time of first return to zero Q(T =. This can be called a regeneration time as starting from time T the future process Q(T + t is independent of the past. Assuming the traffic is light so that P(T < = 1, we get a renewal process of regeneration times = T < T = T 1 < T 2 < T 3 <.... Write N i for the number of customers arriving during the cycle [T i 1, T i and put N = N 1. To be able to apply Theorem 17 we shall assume E(T <, E(N <, E(NT <. (3 (A The reward associate with the inter-arrival time X i = T i T i 1 is taken to be R i = Ti T i 1 Q(udu. Since R := R 1 NT, we have E(R E(NT <, and by Theorem 17, t 1 Q(udu a.s. E(R/E(T =: L the long run average queue length. (B The reward associate with the inter-arrival time X i is taken to be N i. In this case the cumulative reward process N(t is the number of customers arrived by time t, and by Theorem 17, N(t/t a.s. E(N/E(T =: λ the long run rate of arrival. (C Consider now the reward-renewal process with inter-arrival times N i, and the associated rewards S i defined as the total time spent in system by the customers arrived during [T i 1, T i, so that S := S 1 = V V N. Since E(S E(NT <, by Theorem 17, n 1 n V i a.s. E(S/E(N =: ν the long run average time spent by a customer in the system. Theorem 18 Little s law. Under the assumption (3 we have L = λν. Although it looks intuitively reasonable, it s a quite remarkable result, as the relationship is not influenced by the arrival process distribution, the service distribution, the service order, or practically anything else. Proof. The mean amount of customer time spent during the first cycle can be represented in two ways ( N ( T E V i = E Q(udu. Thus combining (A, (B, (C we get ( T L λν = E(R E(T E(T E(N E(N E E(S = ( Q(udu N = 1. E V i 4
5 x x x x x x x x T1 T2 T3 T4 T5 T6 T7 T8 S S S S S S S S M/M/1 queues The most common notation scheme annotates the queueing systems by a triple A/B/s, where A describes the distribution of inter-arrival times of customers, B describes the distribution of service times, and s is the number of servers. It is assumed that the inter-arrival and service times are two independent iid sequences (X i and (S i. Let Q(t be the queue size at time t. The simplest queue M/M/1 has exponential with parameter λ inter-arrival times and exponential with parameter µ service times (M stands for the Markov discipline. It is the only queue with Q(t forming a Markov chain. In this case Q(t is a birth-death process with the birth rate λ and the death rate µ for the positive states, and no deaths at state zero. The probabilities p n (t = P(Q(t = n satisfy the Kolmogorov forward equations { p n (t = (λ + µp n (t + λp n 1 (t + µp n+1 (t for n 1, p (t = λp (t + µp 1 (t, subject to the boundary condition p n ( = 1 {n=}. In terms of the Laplace transforms ˆp n (θ := e θt p n (tdt we obtain { µˆpn+1 (θ (λ + µ + θˆp n (θ + λˆp n 1 (θ =, for n 1, µˆp 1 (θ (λ + θˆp (θ = 1. Its solution is given by ˆp n (θ = θ 1 (1 α(θα(θ n, α(θ := (λ + µ + θ (λ + µ + θ 2 4λµ. 2µ Theorem 19 Stationarity. Let ρ = λ/µ be the traffic intensity. As t for all n { (1 ρρ n if ρ < 1, P(Q(t = n if ρ 1. The result asserts that the queue settles down into equilibrium if and only if the service times are shorter than the inter-arrival times on average. It follows from the fact that a stationary distribution (π, π 1,... must satisfy the following equations { πn+1 (1 + ρπ n + ρπ n 1 = for n 1, 7 M/G/1 queues π 1 ρπ =. In the M/G/1 queueing system customers arrive according to a Poisson process with intensity λ and the service times S i has a fixed but unspecified distribution (G for General. Let ρ = λe(s be the traffic intensity. 5
6 Theorem 2 If the first customer arrives at time T 1, define a typical busy period of the server as B = inf{t > : Q(t + T 1 = }. We have that P(B < = 1 if ρ 1, and P(B < < 1 if ρ > 1. The moment generating function φ(u = E(e ub satisfies the functional equation φ(u = E(e (u λ+λφ(us. Proof. Imbedded branching process. Call customer C 2 an offspring of customer C 1, if C 2 joins the queue while C 1 is being served. The offspring number has generating function h(u = ( (λs u j j E e λs = E(e Sλ(u 1. j! j= The mean offspring number is h (1 = ρ. Observe that the event (B < is equivalent to the extinction of the branching process, and the first assertion follows. The functional equation follows from the representation B = S + B B Z, where B i are iid busy time of the offspring customers and Z is the number of offspring with generating function h(u. Theorem 21 Stationarity. As t for all n { π P(Q(t = n n if ρ < 1, where j= π ju j = (1 ρ(1 u h(u h(u u, if ρ 1. Proof. Let D n be the number of customers in the system right after the n-th customer left the system. Denoting Z n the offspring number of the n-th customer, we get D n+1 = D n + Z n+1 1 {Dn>}. Clearly, D n forms a Markov chain with transition probabilities δ δ 1 δ 2... δ δ 1 δ 2... ( δ δ 1... (λs j δ..., δ j = P(Z = j = E e λs. j! The stationary distribution of this chain gives the stated results. Theorem 22 Suppose a customer joins the queue after some large time has elapsed. He will wait a period W of time before his service begins. If ρ < 1, then E(e uw = (1 ρu λ + u λe(e us. Proof. Suppose that a customer waits for a period of length W and then is served for a period of length S. Assuming that the length D of the queue on the departure of this customer is distributed according to the stationary distribution given in Theorem 21 we get E(u D h(u = (1 ρ(1 u h(u u. On the other hand, D conditionally on (W, S has a Poisson distribution with parameter λ(w + S: h(u (1 ρ(1 u h(u u = E(uD = E(e λ(w +S(u 1 = E(e λw (u 1 h(u, and E(e λ(u 1W = (1 ρλ(u 1 λu λe(e λ(u 1S. 6
7 Theorem 23 Heavy traffic. Let ρ = λd be the traffic intensity of the M/G/1 queue with M = M(λ and G = D(d concentrated at value d. For ρ < 1 let Q ρ be a r.v. with the equilibrium queue length distribution. Then (1 ρq ρ converges in distribution as ρ 1 to the exponential distribution with parameter 2. Proof. Due to Theorem 21 the moment generating function E(e s(1 ρqρ equals (writing u = e s(1 ρ π j e s(1 ρj = (1 ρ(e s(1 ρ e ρ(u 1 1 e s(1 ρ e = (1 ρ(e s(1 ρ 1 ρ(u 1 exp(s(1 ρ ρ(e s(1 ρ 1 1 j= which converges to 2 2 s as ρ 1. 8 G/M/1 queues Customers arrival times form a renewal process with inter-arrival times (X n, and the service times are exponentially distributed with parameter µ. The traffic intensity is ρ = (µe(x 1. An imbedded Markov chain. Consider the moment T n at which the n-th customer joins the queue, and let A n be the number of customers who are ahead of him in the system. Define V n as the number of departures from the system during the interval [T n, T n+1. Conditionally on A n and X n+1 = T n+1 T n, the r.v. V n has a truncated Poisson distribution P(V n = v A n = a, X n+1 = x = { (µx v v! e µx if v a, (µx i i a+1 i! e µx if v = a + 1. The sequence (A n satisfies A n+1 = A n + 1 V n and forms a Markov chain with transition probabilities 1 α α... 1 α α 1 α 1 α... ( (µx j 1 α α 1 α 2 α 2 α 1 α..., α j = E e µx. j! Theorem 24 If ρ < 1, then the chain (A n is ergodic with a unique stationary distribution π j = (1 ηη j, where η is the smallest positive root of η = E(e Xµ(η 1. If ρ = 1, then the chain (A n is null recurrent. If ρ > 1, then the chain (A n is transient. Unlike the case of M/G/1, the stationary distribution of (A n need not be the limiting distribution of Q(t. To see an example of this consider a deterministic arrival process with P(X = 1 = 1. Theorem 25 Let ρ < 1, and assume that the chain (A n is in equilibrium. Then the waiting time W of an arriving customer has an atom of size 1 η at zero and for x P(W > x = ηe µ(1 ηx. Proof. If A n >, then the waiting time of the n-th customer is W n = S 1 + S 2 + S S An, where S1 is the residual service time of the customer under service, and S 2, S 3,..., S An are the service times of the others in the queue. By the lack-of-memory property, this is the sum A n iid exponentials. Use the equilibrium distribution of A n to find that (( µ E(e uw = E((E(e us An (µ u(1 η An = E = µ u µ u µη µ(1 η = (1 η + η µ(1 η u. 7
8 9 G/G/1 queues Now the arrivals of customers form a renewal process with inter-arrival times X n have an arbitrary distribution. The service times S n have another fixed distribution. The traffic intensity is given by ρ = E(S/E(X. Lemma 26 Lindley s equation. Let W n be the waiting time of the n-th customer. Then W n+1 = max{, W n + S n X n+1 }. Imbedded random walk. Note that U n = S n X n+1 is a collection of iid r.v.. Denote by G(x = P(U n x their common distribution function. Define an imbedded random walk by Lemma 26 implies Σ =, Σ n = U U n. W n+1 = max{, U n, U n + U n 1,..., U n + U n U 1 } d = max{σ,..., Σ n }. (4 Note that E(U = E(S E(X, and E(U < is equivalent to ρ < 1. Theorem 27 Let F n (x = P(W n x. Then for x F n+1 (x = x F n (x ydg(y. There exists a limit F (x = lim n F n (x which satisfies the Wiener-Hopf equation F (x = x F (x ydg(y. Proof. If x then due to the Lindley equation and independence between W n and U n = S n X n+1 P(W n+1 x = P(W n + U n x = and the first part is proved. We claim that x P(W n x ydg(y F n+1 (x F n (x for all x and n 1. (5 If (5 holds, then the second result follows immediately. We prove (5 by induction. Observe that F 2 (x 1 = F 1 (x, and suppose that (5 holds for n = k 1. Then F k+1 (x F k (x = x (F k (x y F k 1 (x ydg(y. Theorem 28 If ρ < 1, then F is a non-defective distribution function. If ρ = 1 and G is not concentrated at one point or if ρ > 1, then F (x = for all x. Proof. In view of (4 we have F (x = P(Σ n x for all n if x. If E(U <, then P(Σ n > for infinitely many n = P(n 1 Σ n > i.o. = P(n 1 Σ n E(U > E(U i.o. = due to the LLN. Thus max{σ, Σ 1,...} is either zero or the maximum of only finitely many positive terms, and F is a non-defective distribution. Next suppose that E(U > and pick any x >. For n 2x/E(U P(Σ n x = P(n 1 Σ n E(U n 1 x E(U P(n 1 Σ n E(U E(U/2 = P(n 1 Σ n E(U/2. Since 1 F (x P(Σ n x, the weak LLN implies F (x =. In the case when E(U = we need a more precise measure of the fluctuations of Σ n. According to the law of the iterated logarithm the fluctuations of Σ n are of order O( n log log n in both positive and negative directions with probability 1, and so 1 F (x = P(Σ n > x for some n = 1 for any given x. 8
9 Definition 29 Define an increasing sequence of r.v. by L( =, L(n + 1 = min{k > L(n : Σ k > Σ L(n }. The L(n are called ladder points of the random walk Σ, these are the times when the random walk Σ reaches its new maximal values. Lemma 3 Let η = P(Σ n > for some n. The total number Λ of ladder points has a geometric distribution P(Λ = k = (1 ηη k, k =, 1, 2,.... Lemma 31 If ρ < 1, the equilibrium waiting time distribution has the Laplace-Stieltjes transform ˆF (θ = 1 η 1 ηe(e θy, where Y = Σ L(1 is the first ladder hight of the imbedded random walk. Proof. Follows from the representation in terms of Y j = Σ L(j Σ L(j 1 which are iid copies of Y = Y 1 : max{σ, Σ 1,...} = Σ L(Λ = Y Y Λ. 9
Renewal theory and its applications
Renewal theory and its applications Stella Kapodistria and Jacques Resing September 11th, 212 ISP Definition of a Renewal process Renewal theory and its applications If we substitute the Exponentially
More informationTentamentsskrivning: Stochastic processes 1
Tentamentsskrivning: Stochastic processes 1 Tentamentsskrivning i MSF2/MVE33, 7.5 hp. Tid: fredagen den 31 maj 213 kl 8.3-12.3 Examinator och jour: Serik Sagitov, tel. 772-5351, mob. 736 97 613, rum H326
More informationFigure 10.1: Recording when the event E occurs
10 Poisson Processes Let T R be an interval. A family of random variables {X(t) ; t T} is called a continuous time stochastic process. We often consider T = [0, 1] and T = [0, ). As X(t) is a random variable
More informationIEOR 6711, HMWK 5, Professor Sigman
IEOR 6711, HMWK 5, Professor Sigman 1. Semi-Markov processes: Consider an irreducible positive recurrent discrete-time Markov chain {X n } with transition matrix P (P i,j ), i, j S, and finite state space.
More informationMarkov 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
Markov Chains X(t) is a Markov Process if, for arbitrary times t 1 < t 2
More informationSolution: The process is a compound Poisson Process with E[N (t)] = λt/p by Wald's equation.
Solutions Stochastic Processes and Simulation II, May 18, 217 Problem 1: Poisson Processes Let {N(t), t } be a homogeneous Poisson Process on (, ) with rate λ. Let {S i, i = 1, 2, } be the points of the
More informationQueueing 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 "
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 " Little s Law a(t): the process that counts the number of arrivals
More informationClass 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.
Service Engineering Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis. G/G/1 Queue: Virtual Waiting Time (Unfinished Work). GI/GI/1: Lindley s Equations
More informationPoisson Processes. Stochastic Processes. Feb UC3M
Poisson Processes Stochastic Processes UC3M Feb. 2012 Exponential random variables A random variable T has exponential distribution with rate λ > 0 if its probability density function can been written
More informationPerformance Evaluation of Queuing Systems
Performance Evaluation of Queuing Systems Introduction to Queuing Systems System Performance Measures & Little s Law Equilibrium Solution of Birth-Death Processes Analysis of Single-Station Queuing Systems
More information1 Delayed Renewal Processes: Exploiting Laplace Transforms
IEOR 6711: Stochastic Models I Professor Whitt, Tuesday, October 22, 213 Renewal Theory: Proof of Blackwell s theorem 1 Delayed Renewal Processes: Exploiting Laplace Transforms The proof of Blackwell s
More informationStatistics 150: Spring 2007
Statistics 150: Spring 2007 April 23, 2008 0-1 1 Limiting Probabilities If the discrete-time Markov chain with transition probabilities p ij is irreducible and positive recurrent; then the limiting probabilities
More information2905 Queueing Theory and Simulation PART III: HIGHER DIMENSIONAL AND NON-MARKOVIAN QUEUES
295 Queueing Theory and Simulation PART III: HIGHER DIMENSIONAL AND NON-MARKOVIAN QUEUES 16 Queueing Systems with Two Types of Customers In this section, we discuss queueing systems with two types of customers.
More informationQueueing Theory. VK Room: M Last updated: October 17, 2013.
Queueing Theory VK Room: M1.30 knightva@cf.ac.uk www.vincent-knight.com Last updated: October 17, 2013. 1 / 63 Overview Description of Queueing Processes The Single Server Markovian Queue Multi Server
More informationExact Simulation of the Stationary Distribution of M/G/c Queues
1/36 Exact Simulation of the Stationary Distribution of M/G/c Queues Professor Karl Sigman Columbia University New York City USA Conference in Honor of Søren Asmussen Monday, August 1, 2011 Sandbjerg Estate
More informationContinuous Time Processes
page 102 Chapter 7 Continuous Time Processes 7.1 Introduction In a continuous time stochastic process (with discrete state space), a change of state can occur at any time instant. The associated point
More informationLecture 10: Semi-Markov Type Processes
Lecture 1: Semi-Markov Type Processes 1. Semi-Markov processes (SMP) 1.1 Definition of SMP 1.2 Transition probabilities for SMP 1.3 Hitting times and semi-markov renewal equations 2. Processes with semi-markov
More informationContents Preface The Exponential Distribution and the Poisson Process Introduction to Renewal Theory
Contents Preface... v 1 The Exponential Distribution and the Poisson Process... 1 1.1 Introduction... 1 1.2 The Density, the Distribution, the Tail, and the Hazard Functions... 2 1.2.1 The Hazard Function
More informationSolutions to Homework Discrete Stochastic Processes MIT, Spring 2011
Exercise 6.5: Solutions to Homework 0 6.262 Discrete Stochastic Processes MIT, Spring 20 Consider the Markov process illustrated below. The transitions are labelled by the rate q ij at which those transitions
More informationMATH 56A: STOCHASTIC PROCESSES CHAPTER 6
MATH 56A: STOCHASTIC PROCESSES CHAPTER 6 6. Renewal Mathematically, renewal refers to a continuous time stochastic process with states,, 2,. N t {,, 2, 3, } so that you only have jumps from x to x + and
More informationLecture Notes on Risk Theory
Lecture Notes on Risk Theory February 2, 21 Contents 1 Introduction and basic definitions 1 2 Accumulated claims in a fixed time interval 3 3 Reinsurance 7 4 Risk processes in discrete time 1 5 The Adjustment
More informationMarkov chains. 1 Discrete time Markov chains. c A. J. Ganesh, University of Bristol, 2015
Markov chains c A. J. Ganesh, University of Bristol, 2015 1 Discrete time Markov chains Example: A drunkard is walking home from the pub. There are n lampposts between the pub and his home, at each of
More informationSimple queueing models
Simple queueing models c University of Bristol, 2012 1 M/M/1 queue This model describes a queue with a single server which serves customers in the order in which they arrive. Customer arrivals constitute
More informationBIRTH DEATH PROCESSES AND QUEUEING SYSTEMS
BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS Andrea Bobbio Anno Accademico 999-2000 Queueing Systems 2 Notation for Queueing Systems /λ mean time between arrivals S = /µ ρ = λ/µ N mean service time traffic
More informationGI/M/1 and GI/M/m queuing systems
GI/M/1 and GI/M/m queuing systems Dmitri A. Moltchanov moltchan@cs.tut.fi http://www.cs.tut.fi/kurssit/tlt-2716/ OUTLINE: GI/M/1 queuing system; Methods of analysis; Imbedded Markov chain approach; Waiting
More informationOther properties of M M 1
Other properties of M M 1 Přemysl Bejda premyslbejda@gmail.com 2012 Contents 1 Reflected Lévy Process 2 Time dependent properties of M M 1 3 Waiting times and queue disciplines in M M 1 Contents 1 Reflected
More informationMarkov processes and queueing networks
Inria September 22, 2015 Outline Poisson processes Markov jump processes Some queueing networks The Poisson distribution (Siméon-Denis Poisson, 1781-1840) { } e λ λ n n! As prevalent as Gaussian distribution
More informationPart I Stochastic variables and Markov chains
Part I Stochastic variables and Markov chains Random variables describe the behaviour of a phenomenon independent of any specific sample space Distribution function (cdf, cumulative distribution function)
More informationContinuous-Time Markov Chain
Continuous-Time Markov Chain Consider the process {X(t),t 0} with state space {0, 1, 2,...}. The process {X(t),t 0} is a continuous-time Markov chain if for all s, t 0 and nonnegative integers i, j, x(u),
More informationModern Discrete Probability Branching processes
Modern Discrete Probability IV - Branching processes Review Sébastien Roch UW Madison Mathematics November 15, 2014 1 Basic definitions 2 3 4 Galton-Watson branching processes I Definition A Galton-Watson
More informationMS&E 321 Spring Stochastic Systems June 1, 2013 Prof. Peter W. Glynn Page 1 of 10
MS&E 321 Spring 12-13 Stochastic Systems June 1, 2013 Prof. Peter W. Glynn Page 1 of 10 Section 3: Regenerative Processes Contents 3.1 Regeneration: The Basic Idea............................... 1 3.2
More informationSystems Simulation Chapter 6: Queuing Models
Systems Simulation Chapter 6: Queuing Models Fatih Cavdur fatihcavdur@uludag.edu.tr April 2, 2014 Introduction Introduction Simulation is often used in the analysis of queuing models. A simple but typical
More information1 IEOR 4701: Continuous-Time Markov Chains
Copyright c 2006 by Karl Sigman 1 IEOR 4701: Continuous-Time Markov Chains A Markov chain in discrete time, {X n : n 0}, remains in any state for exactly one unit of time before making a transition (change
More informationPerformance Modelling of Computer Systems
Performance Modelling of Computer Systems Mirco Tribastone Institut für Informatik Ludwig-Maximilians-Universität München Fundamentals of Queueing Theory Tribastone (IFI LMU) Performance Modelling of Computer
More informationSelected Exercises on Expectations and Some Probability Inequalities
Selected Exercises on Expectations and Some Probability Inequalities # If E(X 2 ) = and E X a > 0, then P( X λa) ( λ) 2 a 2 for 0 < λ
More informationAdventures in Stochastic Processes
Sidney Resnick Adventures in Stochastic Processes with Illustrations Birkhäuser Boston Basel Berlin Table of Contents Preface ix CHAPTER 1. PRELIMINARIES: DISCRETE INDEX SETS AND/OR DISCRETE STATE SPACES
More informationLecture 20: Reversible Processes and Queues
Lecture 20: Reversible Processes and Queues 1 Examples of reversible processes 11 Birth-death processes We define two non-negative sequences birth and death rates denoted by {λ n : n N 0 } and {µ n : n
More informationP (L d k = n). P (L(t) = n),
4 M/G/1 queue In the M/G/1 queue customers arrive according to a Poisson process with rate λ and they are treated in order of arrival The service times are independent and identically distributed with
More informationQ = (c) Assuming that Ricoh has been working continuously for 7 days, what is the probability that it will remain working at least 8 more days?
IEOR 4106: Introduction to Operations Research: Stochastic Models Spring 2005, Professor Whitt, Second Midterm Exam Chapters 5-6 in Ross, Thursday, March 31, 11:00am-1:00pm Open Book: but only the Ross
More informationNEW FRONTIERS IN APPLIED PROBABILITY
J. Appl. Prob. Spec. Vol. 48A, 209 213 (2011) Applied Probability Trust 2011 NEW FRONTIERS IN APPLIED PROBABILITY A Festschrift for SØREN ASMUSSEN Edited by P. GLYNN, T. MIKOSCH and T. ROLSKI Part 4. Simulation
More informationExponential Distribution and Poisson Process
Exponential Distribution and Poisson Process Stochastic Processes - Lecture Notes Fatih Cavdur to accompany Introduction to Probability Models by Sheldon M. Ross Fall 215 Outline Introduction Exponential
More informationStochastic process. X, a series of random variables indexed by t
Stochastic process X, a series of random variables indexed by t X={X(t), t 0} is a continuous time stochastic process X={X(t), t=0,1, } is a discrete time stochastic process X(t) is the state at time t,
More informationChapter 2. Poisson Processes. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan
Chapter 2. Poisson Processes Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan Outline Introduction to Poisson Processes Definition of arrival process Definition
More informationStationary remaining service time conditional on queue length
Stationary remaining service time conditional on queue length Karl Sigman Uri Yechiali October 7, 2006 Abstract In Mandelbaum and Yechiali (1979) a simple formula is derived for the expected stationary
More informationTHE ROYAL STATISTICAL SOCIETY 2009 EXAMINATIONS SOLUTIONS GRADUATE DIPLOMA MODULAR FORMAT MODULE 3 STOCHASTIC PROCESSES AND TIME SERIES
THE ROYAL STATISTICAL SOCIETY 9 EXAMINATIONS SOLUTIONS GRADUATE DIPLOMA MODULAR FORMAT MODULE 3 STOCHASTIC PROCESSES AND TIME SERIES The Society provides these solutions to assist candidates preparing
More informationCDA5530: Performance Models of Computers and Networks. Chapter 3: Review of Practical
CDA5530: Performance Models of Computers and Networks Chapter 3: Review of Practical Stochastic Processes Definition Stochastic ti process X = {X(t), t T} is a collection of random variables (rvs); one
More informationCPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017
CPSC 531: System Modeling and Simulation Carey Williamson Department of Computer Science University of Calgary Fall 2017 Motivating Quote for Queueing Models Good things come to those who wait - poet/writer
More informationThe exponential distribution and the Poisson process
The exponential distribution and the Poisson process 1-1 Exponential Distribution: Basic Facts PDF f(t) = { λe λt, t 0 0, t < 0 CDF Pr{T t) = 0 t λe λu du = 1 e λt (t 0) Mean E[T] = 1 λ Variance Var[T]
More informationQUEUING SYSTEM. Yetunde Folajimi, PhD
QUEUING SYSTEM Yetunde Folajimi, PhD Part 2 Queuing Models Queueing models are constructed so that queue lengths and waiting times can be predicted They help us to understand and quantify the effect of
More informationQueues and Queueing Networks
Queues and Queueing Networks Sanjay K. Bose Dept. of EEE, IITG Copyright 2015, Sanjay K. Bose 1 Introduction to Queueing Models and Queueing Analysis Copyright 2015, Sanjay K. Bose 2 Model of a Queue Arrivals
More informationM/M/1 Queueing System with Delayed Controlled Vacation
M/M/1 Queueing System with Delayed Controlled Vacation Yonglu Deng, Zhongshan University W. John Braun, University of Winnipeg Yiqiang Q. Zhao, University of Winnipeg Abstract An M/M/1 queue with delayed
More informationM/G/1 queues and Busy Cycle Analysis
queues and Busy Cycle Analysis John C.S. Lui Department of Computer Science & Engineering The Chinese University of Hong Kong www.cse.cuhk.edu.hk/ cslui John C.S. Lui (CUHK) Computer Systems Performance
More informationM/G/1 and M/G/1/K systems
M/G/1 and M/G/1/K systems Dmitri A. Moltchanov dmitri.moltchanov@tut.fi http://www.cs.tut.fi/kurssit/elt-53606/ OUTLINE: Description of M/G/1 system; Methods of analysis; Residual life approach; Imbedded
More informationContinuous Time Markov Chains
Continuous Time Markov Chains Stochastic Processes - Lecture Notes Fatih Cavdur to accompany Introduction to Probability Models by Sheldon M. Ross Fall 2015 Outline Introduction Continuous-Time Markov
More informationData analysis and stochastic modeling
Data analysis and stochastic modeling Lecture 7 An introduction to queueing theory Guillaume Gravier guillaume.gravier@irisa.fr with a lot of help from Paul Jensen s course http://www.me.utexas.edu/ jensen/ormm/instruction/powerpoint/or_models_09/14_queuing.ppt
More informationPart II: continuous time Markov chain (CTMC)
Part II: continuous time Markov chain (CTMC) Continuous time discrete state Markov process Definition (Markovian property) X(t) is a CTMC, if for any n and any sequence t 1
More informationCDA6530: Performance Models of Computers and Networks. Chapter 3: Review of Practical Stochastic Processes
CDA6530: Performance Models of Computers and Networks Chapter 3: Review of Practical Stochastic Processes Definition Stochastic process X = {X(t), t2 T} is a collection of random variables (rvs); one rv
More informationIntro Refresher Reversibility Open networks Closed networks Multiclass networks Other networks. Queuing Networks. Florence Perronnin
Queuing Networks Florence Perronnin Polytech Grenoble - UGA March 23, 27 F. Perronnin (UGA) Queuing Networks March 23, 27 / 46 Outline Introduction to Queuing Networks 2 Refresher: M/M/ queue 3 Reversibility
More informationQueueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1
Queueing systems Renato Lo Cigno Simulation and Performance Evaluation 2014-15 Queueing systems - Renato Lo Cigno 1 Queues A Birth-Death process is well modeled by a queue Indeed queues can be used to
More informationf X (x) = λe λx, , x 0, k 0, λ > 0 Γ (k) f X (u)f X (z u)du
11 COLLECTED PROBLEMS Do the following problems for coursework 1. Problems 11.4 and 11.5 constitute one exercise leading you through the basic ruin arguments. 2. Problems 11.1 through to 11.13 but excluding
More informationM/G/1 and Priority Queueing
M/G/1 and Priority Queueing Richard T. B. Ma School of Computing National University of Singapore CS 5229: Advanced Compute Networks Outline PASTA M/G/1 Workload and FIFO Delay Pollaczek Khinchine Formula
More informationIntroduction to queuing theory
Introduction to queuing theory Claude Rigault ENST claude.rigault@enst.fr Introduction to Queuing theory 1 Outline The problem The number of clients in a system The client process Delay processes Loss
More informationPoint Process Control
Point Process Control The following note is based on Chapters I, II and VII in Brémaud s book Point Processes and Queues (1981). 1 Basic Definitions Consider some probability space (Ω, F, P). A real-valued
More informationSlides 9: Queuing Models
Slides 9: Queuing Models Purpose Simulation is often used in the analysis of queuing models. A simple but typical queuing model is: Queuing models provide the analyst with a powerful tool for designing
More informationUNIVERSITY OF YORK. MSc Examinations 2004 MATHEMATICS Networks. Time Allowed: 3 hours.
UNIVERSITY OF YORK MSc Examinations 2004 MATHEMATICS Networks Time Allowed: 3 hours. Answer 4 questions. Standard calculators will be provided but should be unnecessary. 1 Turn over 2 continued on next
More informationCDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory
CDA5530: Performance Models of Computers and Networks Chapter 4: Elementary Queuing Theory Definition Queuing system: a buffer (waiting room), service facility (one or more servers) a scheduling policy
More informationKendall notation. PASTA theorem Basics of M/M/1 queue
Elementary queueing system Kendall notation Little s Law PASTA theorem Basics of M/M/1 queue 1 History of queueing theory An old research area Started in 1909, by Agner Erlang (to model the Copenhagen
More informationLecture 9: Deterministic Fluid Models and Many-Server Heavy-Traffic Limits. IEOR 4615: Service Engineering Professor Whitt February 19, 2015
Lecture 9: Deterministic Fluid Models and Many-Server Heavy-Traffic Limits IEOR 4615: Service Engineering Professor Whitt February 19, 2015 Outline Deterministic Fluid Models Directly From Data: Cumulative
More informationAn Analysis of the Preemptive Repeat Queueing Discipline
An Analysis of the Preemptive Repeat Queueing Discipline Tony Field August 3, 26 Abstract An analysis of two variants of preemptive repeat or preemptive repeat queueing discipline is presented: one in
More informationEXAM IN COURSE TMA4265 STOCHASTIC PROCESSES Wednesday 7. August, 2013 Time: 9:00 13:00
Norges teknisk naturvitenskapelige universitet Institutt for matematiske fag Page 1 of 7 English Contact: Håkon Tjelmeland 48 22 18 96 EXAM IN COURSE TMA4265 STOCHASTIC PROCESSES Wednesday 7. August, 2013
More informationMS&E 321 Spring Stochastic Systems June 1, 2013 Prof. Peter W. Glynn Page 1 of 10. x n+1 = f(x n ),
MS&E 321 Spring 12-13 Stochastic Systems June 1, 2013 Prof. Peter W. Glynn Page 1 of 10 Section 4: Steady-State Theory Contents 4.1 The Concept of Stochastic Equilibrium.......................... 1 4.2
More informationA review of Continuous Time MC STA 624, Spring 2015
A review of Continuous Time MC STA 624, Spring 2015 Ruriko Yoshida Dept. of Statistics University of Kentucky polytopes.net STA 624 1 Continuous Time Markov chains Definition A continuous time stochastic
More informationExam Stochastic Processes 2WB08 - March 10, 2009,
Exam Stochastic Processes WB8 - March, 9, 4.-7. The number of points that can be obtained per exercise is mentioned between square brackets. The maximum number of points is 4. Good luck!!. (a) [ pts.]
More information1 Continuous-time chains, finite state space
Université Paris Diderot 208 Markov chains Exercises 3 Continuous-time chains, finite state space Exercise Consider a continuous-time taking values in {, 2, 3}, with generator 2 2. 2 2 0. Draw the diagramm
More informationNon Markovian Queues (contd.)
MODULE 7: RENEWAL PROCESSES 29 Lecture 5 Non Markovian Queues (contd) For the case where the service time is constant, V ar(b) = 0, then the P-K formula for M/D/ queue reduces to L s = ρ + ρ 2 2( ρ) where
More informationProbability and Statistics Concepts
University of Central Florida Computer Science Division COT 5611 - Operating Systems. Spring 014 - dcm Probability and Statistics Concepts Random Variable: a rule that assigns a numerical value to each
More informationRandom Walk on a Graph
IOR 67: Stochastic Models I Second Midterm xam, hapters 3 & 4, November 2, 200 SOLUTIONS Justify your answers; show your work.. Random Walk on a raph (25 points) Random Walk on a raph 2 5 F B 3 3 2 Figure
More informationStochastic Models in Computer Science A Tutorial
Stochastic Models in Computer Science A Tutorial Dr. Snehanshu Saha Department of Computer Science PESIT BSC, Bengaluru WCI 2015 - August 10 to August 13 1 Introduction 2 Random Variable 3 Introduction
More informationStochastic Processes. Theory for Applications. Robert G. Gallager CAMBRIDGE UNIVERSITY PRESS
Stochastic Processes Theory for Applications Robert G. Gallager CAMBRIDGE UNIVERSITY PRESS Contents Preface page xv Swgg&sfzoMj ybr zmjfr%cforj owf fmdy xix Acknowledgements xxi 1 Introduction and review
More informationStat 150 Practice Final Spring 2015
Stat 50 Practice Final Spring 205 Instructor: Allan Sly Name: SID: There are 8 questions. Attempt all questions and show your working - solutions without explanation will not receive full credit. Answer
More informationClassical Queueing Models.
Sergey Zeltyn January 2005 STAT 99. Service Engineering. The Wharton School. University of Pennsylvania. Based on: Classical Queueing Models. Mandelbaum A. Service Engineering course, Technion. http://iew3.technion.ac.il/serveng2005w
More informationChapter 6 Queueing Models. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation
Chapter 6 Queueing Models Banks, Carson, Nelson & Nicol Discrete-Event System Simulation Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing
More informationEXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY
EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY GRADUATE DIPLOMA, 011 MODULE 3 : Stochastic processes and time series Time allowed: Three Hours Candidates should answer FIVE questions. All questions carry
More informationTHE QUEEN S UNIVERSITY OF BELFAST
THE QUEEN S UNIVERSITY OF BELFAST 0SOR20 Level 2 Examination Statistics and Operational Research 20 Probability and Distribution Theory Wednesday 4 August 2002 2.30 pm 5.30 pm Examiners { Professor R M
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science
MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science 6.262 Discrete Stochastic Processes Midterm Quiz April 6, 2010 There are 5 questions, each with several parts.
More informationECE 3511: Communications Networks Theory and Analysis. Fall Quarter Instructor: Prof. A. Bruce McDonald. Lecture Topic
ECE 3511: Communications Networks Theory and Analysis Fall Quarter 2002 Instructor: Prof. A. Bruce McDonald Lecture Topic Introductory Analysis of M/G/1 Queueing Systems Module Number One Steady-State
More informationLecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking
Lecture 7: Simulation of Markov Processes Pasi Lassila Department of Communications and Networking Contents Markov processes theory recap Elementary queuing models for data networks Simulation of Markov
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science
MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science 6.262 Discrete Stochastic Processes Midterm Quiz April 6, 2010 There are 5 questions, each with several parts.
More informationQuantitative Model Checking (QMC) - SS12
Quantitative Model Checking (QMC) - SS12 Lecture 06 David Spieler Saarland University, Germany June 4, 2012 1 / 34 Deciding Bisimulations 2 / 34 Partition Refinement Algorithm Notation: A partition P over
More informationSolutions For Stochastic Process Final Exam
Solutions For Stochastic Process Final Exam (a) λ BMW = 20 0% = 2 X BMW Poisson(2) Let N t be the number of BMWs which have passes during [0, t] Then the probability in question is P (N ) = P (N = 0) =
More information2905 Queueing Theory and Simulation PART IV: SIMULATION
2905 Queueing Theory and Simulation PART IV: SIMULATION 22 Random Numbers A fundamental step in a simulation study is the generation of random numbers, where a random number represents the value of a random
More informationT. Liggett Mathematics 171 Final Exam June 8, 2011
T. Liggett Mathematics 171 Final Exam June 8, 2011 1. The continuous time renewal chain X t has state space S = {0, 1, 2,...} and transition rates (i.e., Q matrix) given by q(n, n 1) = δ n and q(0, n)
More informationAn Introduction to Probability Theory and Its Applications
An Introduction to Probability Theory and Its Applications WILLIAM FELLER (1906-1970) Eugene Higgins Professor of Mathematics Princeton University VOLUME II SECOND EDITION JOHN WILEY & SONS Contents I
More informationStatistics 253/317 Introduction to Probability Models. Winter Midterm Exam Monday, Feb 10, 2014
Statistics 253/317 Introduction to Probability Models Winter 2014 - Midterm Exam Monday, Feb 10, 2014 Student Name (print): (a) Do not sit directly next to another student. (b) This is a closed-book, closed-note
More informationQueueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements
Queueing Systems: Lecture 3 Amedeo R. Odoni October 18, 006 Announcements PS #3 due tomorrow by 3 PM Office hours Odoni: Wed, 10/18, :30-4:30; next week: Tue, 10/4 Quiz #1: October 5, open book, in class;
More informationChapter 8 Queuing Theory Roanna Gee. W = average number of time a customer spends in the system.
8. Preliminaries L, L Q, W, W Q L = average number of customers in the system. L Q = average number of customers waiting in queue. W = average number of time a customer spends in the system. W Q = average
More informationLecture 4a: Continuous-Time Markov Chain Models
Lecture 4a: Continuous-Time Markov Chain Models Continuous-time Markov chains are stochastic processes whose time is continuous, t [0, ), but the random variables are discrete. Prominent examples of continuous-time
More informationSince 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.
IEOR 46: Introduction to Operations Research: Stochastic Models Chapters 5-6 in Ross, Thursday, April, 4:5-5:35pm SOLUTIONS to Second Midterm Exam, Spring 9, Open Book: but only the Ross textbook, the
More informationarxiv: v2 [math.pr] 24 Mar 2018
Exact sampling for some multi-dimensional queueing models with renewal input arxiv:1512.07284v2 [math.pr] 24 Mar 2018 Jose Blanchet Yanan Pei Karl Sigman October 9, 2018 Abstract Using a recent result
More informationIntroduction to Queueing Theory
Introduction to Queueing Theory Raj Jain Washington University in Saint Louis Jain@eecs.berkeley.edu or Jain@wustl.edu A Mini-Course offered at UC Berkeley, Sept-Oct 2012 These slides and audio/video recordings
More information