M/M/1 Queueing System with Delayed Controlled Vacation

Similar documents
Stationary Analysis of a Multiserver queue with multiple working vacation and impatient customers

P (L d k = n). P (L(t) = n),

Continuous Time Processes

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 "

2905 Queueing Theory and Simulation PART III: HIGHER DIMENSIONAL AND NON-MARKOVIAN QUEUES

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

Queues and Queueing Networks

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

Introduction to Markov Chains, Queuing Theory, and Network Performance

Figure 10.1: Recording when the event E occurs

Stationary Probabilities of Markov Chains with Upper Hessenberg Transition Matrices

Performance Evaluation of Queuing Systems

1 Basic concepts from probability theory

The discrete-time Geom/G/1 queue with multiple adaptive vacations and. setup/closedown times

Continuous-Time Markov Chain

Computer Networks More general queuing systems

Overload Analysis of the PH/PH/1/K Queue and the Queue of M/G/1/K Type with Very Large K

A Two Phase Service M/G/1 Vacation Queue With General Retrial Times and Non-persistent Customers

Data analysis and stochastic modeling

A Vacation Queue with Additional Optional Service in Batches

A Study on M x /G/1 Queuing System with Essential, Optional Service, Modified Vacation and Setup time

Multiserver Queueing Model subject to Single Exponential Vacation

Priority Queueing System with a Single Server Serving Two Queues M [X 1], M [X 2] /G 1, G 2 /1 with Balking and Optional Server Vacation

Chapter 1. Introduction. 1.1 Stochastic process

ACM 116 Problem Set 4 Solutions

M/G/1 and M/G/1/K systems

M/G/1 queues and Busy Cycle Analysis

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

Performance Analysis and Evaluation of Digital Connection Oriented Internet Service Systems

System with a Server Subject to Breakdowns

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

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

Queuing Theory. Using the Math. Management Science

4.7 Finite Population Source Model

Waiting-Time Distribution of a Discrete-time Multiserver Queue with Correlated. Arrivals and Deterministic Service Times: D-MAP/D/k System

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

Structured Markov Chains

Chapter 5. Continuous-Time Markov Chains. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

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

Statistics 150: Spring 2007

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

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

Link Models for Packet Switching

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe

Burst Arrival Queues with Server Vacations and Random Timers

Link Models for Circuit Switching

M/G/1 and Priority Queueing

Queuing Analysis of Markovian Queue Having Two Heterogeneous Servers with Catastrophes using Matrix Geometric Technique

A Batch Arrival Retrial Queue with Two Phases of Service, Feedback and K Optional Vacations

Derivation of Formulas by Queueing Theory

A discrete-time Geo/G/1 retrial queue with starting failures and second optional service

ECE 3511: Communications Networks Theory and Analysis. Fall Quarter Instructor: Prof. A. Bruce McDonald. Lecture Topic

IEOR 6711, HMWK 5, Professor Sigman

Lecture 20: Reversible Processes and Queues

Queueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements

Non-Persistent Retrial Queueing System with Two Types of Heterogeneous Service

ON THE LAW OF THE i TH WAITING TIME INABUSYPERIODOFG/M/c QUEUES

Introduction to Queuing Networks Solutions to Problem Sheet 3

A Heterogeneous Two-Server Queueing System with Balking and Server Breakdowns

Synchronized Queues with Deterministic Arrivals

Non Markovian Queues (contd.)

System occupancy of a two-class batch-service queue with class-dependent variable server capacity

Markov Processes and Queues

PBW 654 Applied Statistics - I Urban Operations Research

Renewal theory and its applications

LIMITS FOR QUEUES AS THE WAITING ROOM GROWS. Bell Communications Research AT&T Bell Laboratories Red Bank, NJ Murray Hill, NJ 07974

11 The M/G/1 system with priorities

QUEUING SYSTEM. Yetunde Folajimi, PhD

Performance analysis of queueing systems with resequencing

Outline. Finite source queue M/M/c//K Queues with impatience (balking, reneging, jockeying, retrial) Transient behavior Advanced Queue.

ON THE NON-EXISTENCE OF PRODUCT-FORM SOLUTIONS FOR QUEUEING NETWORKS WITH RETRIALS

M [X] /G/1 with Second Optional Service, Multiple Vacation, Breakdown and Repair

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

J. MEDHI STOCHASTIC MODELS IN QUEUEING THEORY

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1

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

An M/M/1 Queue in Random Environment with Disasters

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

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

A discrete-time priority queue with train arrivals

Part I Stochastic variables and Markov chains

Queuing Theory. 3. Birth-Death Process. Law of Motion Flow balance equations Steady-state probabilities: , if

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

Delay characteristics in discrete-time GI-G-1 queues with non-preemptive priority queueing discipline

Geom/G 1,G 2 /1/1 REPAIRABLE ERLANG LOSS SYSTEM WITH CATASTROPHE AND SECOND OPTIONAL SERVICE

International Journal of Pure and Applied Mathematics Volume 28 No ,

Inventory Ordering Control for a Retrial Service Facility System Semi- MDP

Two Heterogeneous Servers Queueing-Inventory System with Sharing Finite Buffer and a Flexible Server

Waiting time characteristics in cyclic queues

The Waiting-Time Distribution for the GI/G/1 Queue under the D-Policy

A Robust Queueing Network Analyzer Based on Indices of Dispersion

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

Exact Simulation of the Stationary Distribution of M/G/c Queues

ON MAIN CHARACTERISTICS OF THE M/M/1/N QUEUE WITH SINGLE AND BATCH ARRIVALS AND THE QUEUE SIZE CONTROLLED BY AQM ALGORITHMS

A preemptive repeat priority queue with resampling: Performance analysis

M/M/1 Retrial Queueing System with Negative. Arrival under Erlang-K Service by Matrix. Geometric Method

M/M/1 Retrial Queueing System with N-Policy. Multiple Vacation under Non-Pre-Emtive Priority. Service by Matrix Geometric Method

Sensitivity Analysis for Discrete-Time Randomized Service Priority Queues

Optimal Strategy Analysis of an N-policy Twophase. Server Startup and Breakdowns

Queuing Theory. Richard Lockhart. Simon Fraser University. STAT 870 Summer 2011

Transcription:

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 vacation is studied. If the server has been idle for a period of time called the delay time), the server begins an exponentially distributed vacation which is repeated as long as the number of customers in the system remains less than some number K. For the cases of exponential and deterministic delay time, exact expressions for the steady state probability distribution are obtained, together with associated performance measures. System optimization is also considered; values of K are given which minimize the average total cost per unit time, and it is shown that the optimal delay period is either 0 no delay) or infinite no vacation), in case of Poisson arrivals. Key words: Queueing model, stationary distribution, delayed vacation. E9. Department of Mathematics, Zhongshan University, Guangzhou, 51075, China Department of Mathematics and Statistics, University of Winnipeg, Winnipeg, Manitoba, Canada, R3B 1

1 Introduction Queueing systems with server s vacations have been studied extensively. A comprehensive review on vacation models, methods and results up to 1991 can be found in either Doshi [6] or Takagi [11]. In the last few years, increasing interest in studying queueing systems with various rules of vacation has led to many extensions of previously existing results. For example, a batch arrival model with a finite capacity for the buffer size can be used to model some telecommunications systems using a time division multiple access TDMA) scheme Frey and Takahashi, [7]). Researchers have also done performance analysis on systems where probability distributions of the variables are more general and closer to reality e.g. Chao and Zhao []). In this paper, we consider vacation models which are extended in two different ways. The first one is the queueing system in which the length of the vacations can be controlled by means of the number of customers K arriving to the system during the vacation, and the level K may be chosen according to the arrival rate and the service rate, the cost per unit of waiting time and the cost of the server being transferred from vacation to work. Secondly, we allow for a delay time before a vacation begins. During the delay time, the server is situated in warm standby state and it will start service immediately upon arrival of a customer to the system. It seems that the consideration of such a delayed vacation might be reasonable if the cost of a server s warm switch-on is lower than that of a server s cold switch-on. The case of delayed vacation has also very recently been studied by Frey and Takahashi [8] and Sakai et al [9] where the term close-down time is used. They consider general service, delay and vacation times with Poisson batch) arrivals, but must rely on numerical examples to gain insights into their results. We focus on a simpler model with exponential service and vacation which allows us to gain greater insight into the system with less effort. In particular, we are able to consider optimization of the system with respect to the control parameter and the delay parameter. We show that for Poisson arrivals and exponential service and vacation, there is no nontrivial optimal delay period. However, the use of the control parameter to extend the vacation period until K customers arrive in the system can result in improved performance of the system.

Description and Analysis of the Model We make the following assumptions. 1. Customers arrive at the system according to a Poisson process with intensity λ and there is one server in the system. The queue discipline is FCFS.. Service times are assumed to be exponentially distributed with mean 1/µ. The traffic intensity is ρ = λ/µ < 1. 3. A period of time called the delay time occurs before the server goes on vacation. The delay can be interrupted by the arrival of a customer in which case the server resumes service. Thus, the length of the delay time is minx,y ) where X is exponentially distributed with mean 1/λ, and Y is a random variable with mean 1/θ 1. In this paper, we assume that Y is either exponentially distributed or deterministic. 4. If the delay time is completed before the arrival of a customer, the server begins a vacation whose length is exponentially distributed with mean 1/θ. Upon completion of a vacation, the server resumes service if K 1) or more customers are in the system. Otherwise, it takes another vacation having length independent of and identically distributed to the preceding one. 5. All aforementioned random variables are independent of each other. Let St) = 0, St) = 1, and St) = denote the events that the server is busy, in delay period, and on vacation at epoch t, respectively. Define p 0j t) = PNt) = j,st) = 0) j = 1,, 3,...) p 1 t) = PNt) = 0,St) = 1) p j t) = PNt) = j,st) = ) j = 0, 1,,...) Nt) will denote the number of customers in the system at time t. 3

.1 Exponential Delay Case When the delay time is exponentially distributed, {Nt),St)),t 0} is a standard continuoustime Markov chain. From the theory of Markov chains e.g. [3]), it follows that {Nt),St)),t 0} has a unique equilibrium distribution which satisfies the following family of equations. Setting we have p 0j = lim p 0j t) t j = 1,, 3,...) p 1 = lim p 1 t) t p j = lim p j t) t j = 0, 1,,...) λp 0 = θ 1 p 1 λp j = λp,j 1 j = 1,, 3,...,K 1) λ + θ )p j = λp,j 1 j = K,K + 1,K +,...) λ + θ 1 )p 1 = µp 01 1) λ + µ)p 01 = λp 10 + µp 0 λ + µ)p 0j = λp 0,j 1 + µp 0,j+1 j =, 3, 4,...,K 1) λ + µ)p 0j = λp 0,j 1 + µp 0,j+1 + θ p j j = K,K + 1,K +,...) p 0j + p 1 + p j = 1 j=1 j=0 The solution of these equations is as follows see Appendix for a derivation): p 1 = λθ 1 ρ) λθ 1 + λθ + Kθ 1 θ ) θ 1λ p 1 j = 0, 1,,...,K 1) p j = ) j k+1 λ p0 λ+θ j = K,K + 1,K +,...) 3) j 1 p 0j = p 1 ρ j + ρ j i p i j = 1,, 3,...) 4) i=0 4

. Deterministic Delay Case When the delay time is deterministic, {Nt),St)),t 0} is not a Markov chain, but it can be extended to a continuous-state Markov chain with the use of the supplementary variable technique e.g. [5], [4]). In particular, we introduce the random variable Xt) which denotes the elapsed delay time at time t. Setting we have p 0j = lim p 0j t) j = 1,, 3,...) t p 1 x)dx = lim Px Xt) < x + dx,st) = 1), 0 < x < 1/θ 1 t p j = lim p j t) j = 0, 1,,...) t λp 0 = p 1 1/θ 1 ) λp j = λp,j 1 j = 1,, 3,...,K 1) λ + θ )p j = λp,j 1 j = K,K + 1,K +,...) p 1 0) = µp 01 5) λ + µ)p 01 = λ 1/θ1 0 p 1 x)dx + µp 0 λ + µ)p 0j = λp 0,j 1 + µp 0,j+1 j =, 3, 4,...,K 1) λ + µ)p 0j = λp 0,j 1 + µp 0,j+1 + θ p j j = K,K + 1,K +,...) d dx p 1x) = λp 1 x), 0 < x < 1/θ 1 The solution in this case is as follows: 1/θ1 p 0j + p 1 x)dx + p j = 1 j=1 0 j=0 p 1 = eλ/θ 1 1)1 ρ)θ λ θ e λ/θ 1 θ Kθ 1 ρ)θ λ θ p j = +e λ/θ 1θ +Kθ j = 0, 1,,...,K 1) ) j k+1 λ p0 λ+θ j = K,K + 1,K +,...) j 1 p 0j = p 1 ρ j + ρ j i p i j = 1,, 3,...) i=0 5

.3 Mean Queue Length We are now in a position to deduce the mean numbers of customers in the system and in the queue. Let L denote the mean number of customers in the system, and let L q denote the mean queue length. Then, we have and L = L q = ρ 1 ρ + θ 1 θ λθ 1 + λθ + Kθ 1 θ ρ 1 ρ + θ 1 θ λθ 1 + λθ + Kθ 1 θ KK 1) KK 1) in the exponential delay case. In the deterministic delay case, we have ) λ + + Kλ 6) θ θ ) λ + + Kλ 7) θ θ and L = L q = ρ 1 ρ + λ + K λ θ K θ + K θ ) 8) θ λ θ + e λ θ 1 θ + K θ ρ 1 ρ + λ + K λ θ K θ + K θ ) 9) θ λ θ + e λ θ 1 θ + K θ.4 Waiting Time Let W q denote the virtual waiting time of customers arriving in the system. Then p 0 E[W q ] = W 0) = µ λ)θ and E[W q W q > 0] = 1 1 p 1 p 0 µ λ)θ [ λµ θ + We also note that Little s formula also holds for this model. ] λ µ λ + Kµ + KK 1)µp 0 + λp 1 + p 0 K) 10) λµ λ) µ λ) [ ] λµ + λ θ µ λ + Kµ + KK 1)µp 0 + λp ) 1 + p 0 K) λµ λ) µ λ) 11).5 Mean Length of Operational Period The period of time from the beginning of a delay to the end of the subsequent delay will be defined as an operational period for the system; we denote its length by A. 6

By the model assumptions, a busy period which begins with one customer in the system, or a vacation of length V K with a control level K will begin as soon as the delay terminates depending on whether a customer arrives or the server goes on vacation. In the first case, the busy period of length B 1 will be followed eventually) by another delay of length D and then the above process will be repeated. In the latter case, a busy period of length B R will follow the vacation of length V K where R is a random variable with values in {K,K +1,...}. Another delay of length D follows B R so that the above process will then be repeated. From the above considerations, it is clear that an operational period consists of a delay D, a random number say, M, a non-negative integer-valued random variable) of successive B 1 + D events, a vacation of length V K, and a busy period of length B R. In particular, we have E[A] = E[D] + E[M]E[B 1 ] + E[D]) + E[V K ] + E[B R ] 1) The mean length of a delay is easily found. That is, D = minx,y ) where X is an exponential random variable with mean 1/λ, and Y is a random variable with mean 1/θ 1. If Y is exponential, then D is an exponential random variable with mean E[D] = 1/λ + θ 1 ) 13) If Y is deterministic, then D is a truncated exponential random variable with mean E[D] = 1 e λ/θ 1 )/λ 14) Letting M denote the number of B 1 + D events before the server takes a vacation, and using the memoryless property of the exponential distribution, it is seen that these events are independent, and they end with a vacation with a certain probability p 0. Therefore, so that PM = m) = p 0 1 p 0 ) m m = 0, 1,,...) E[M] = 1 p 0 p 0 15) 7

When the delay time Y is exponential, and when Y is deterministic, p 0 = PX > Y ) = θ 1 λ + θ 1 p 0 = PX > Y ) = e λ/θ 1 It is also clear that a busy period beginning with r customer in the system has mean E[B r ] = r µ λ r = 1,, 3,...) 16) It is shown in the appendix that the mean busy period beginning with a random number R) of customers is given by E[B R ] = λ + Kθ µ λ)θ 17) A vacation period with control parameter K has mean length given by E[V K ] = K λ + 1 θ 18) Substituting 13), 15), 18), and 17) into 1) gives, upon simplification, in the exponential case, and using 14) in place of 13) gives in the deterministic case. E[A] = λθ 1 + θ ) + Kθ 1 θ 1 ρ)λθ 1 θ 19) E[A] = θ e λ/θ 1 + K 1)θ + λ λ1 ρ)θ 0) 3 Optimization of the Control Parameter Suppose that the cost per unit time is C 0 0 for server vacation C 1 0 for delay warm standby) 8

C 0 for normal service C C 1 generally) C 4 0 per customer waiting in the system In addition, C 3 0 denotes the cost due to switching the server from vacation to normal service. For an operational period, the expected cost due to vacation is given by The expected cost due to delay is The expected cost while the server is busy is ) λ + θ K C µ λ)θ C 0 K/λ + 1/θ ) C 1 E[D]/p 0 + C µ λ ) 1 1 p 0 From the previous section, the expected length of an operational period is E[A] = K λ + 1 + E[D] + λ + θ K + 1 ) 1 1 θ p 0 µ λ)θ µ λ p 0 In the case of exponential delay, we then find that the cost for an operational period is given by C = C 0 K λ + 1 θ ) so that the average cost per unit time is + C 1 θ 1 + C ρλθ 1 + θ ) + Kθ 1 θ 1 ρ)λθ 1 θ + C 3 C E[A] = C 01 ρ)θ 1 Kθ + λ) + C 1 1 ρ)λθ + C ρλθ 1 + θ ) + Kρθ 1 θ ) + C 3 1 ρ)λθ 1 θ λθ 1 + θ ) + Kθ 1 θ The average total cost per unit time is then G = C E[A] + C 4L Setting dg/dk = 0, we obtain C 4 θ 1 θ K +C 4 λθ 1 +θ )K+C 0 1 ρ)λθ C 1 1 ρ)λθ C 3 1 ρ)λθ 1 θ +C 4 λ λ θ ) 1 + θ = 0 The nonnegative solution of this is given by K = θ 1 θ ) 1 λθ 1 + θ ) + 9 λ θ 1 + θ ) θ 1θ T C 4

where T = C 0 1 ρ)θ C 1 1 ρ)θ C 3 1 ρ)θ 1 θ + C 4 λ λ θ 1 + θ K is nonnegative if T 0, and the second derivative d G/dK is nonnegative in this case. Therefore, if K min is the nearest integer to K, then K min will minimize cost assuming all other quantities are held constant). A similar analysis applies In the case of deterministic delay; again, optimization with respect to K gives rise to a quadratic equation in K for which the nonnegative solution is given by K = 1 e λ θ 1 λ θ + C 4 λ µ + λ µ θ ) + T + C 4 e λ θ 1 µ θ + C 3 λ µ θ C4 µ θ ) where T = λ θ e λ θ 1 λ θ λ µ θ C 0 λ µ θ + e λ θ 1 λ µ θ + C 0 e λ θ 1 λ µ θ C 3 λ µ θ +C 0 µ θ C 0 e λ θ 1 µ θ C 4 e λ theta1 µ θ Remark: A similar treatment will yield optimality conditions on θ 1 and θ. We note that the cost function is monotonic in θ 1, so that the optimal delay period for this system is either infinite no vacation) or 0 no delay). We conjecture that this behaviour is a result of the memoryless property of the arrival process. On the basis of a simulation study, we have observed that, for non-poisson arrivals, a nontrivial delay period will be optimal. Appendix A.1 Derivation of Stationary Queue Length Distribution To solve the family of equations 1), we introduce the following generating functions G 0 s) = p 0j s j s 1) j=1 and G s) = p j s j s 1) j=0 10

From the first three equations of 1), it is clear that and p j = λ λ + θ from which it follows that we can write G s) = p 0 = p 1 = = p,k 1 1) p 0 = θ 1 λ p 1 ) ) j k+1 p 0 j = K,K + 1,K +,...) 3) p 0 λ + θ sλ λ + θ 1 s k ) 1 s Multiplying the 5th, 6th and 7th equations of 1) by s j and summing over j {1,, 3,...} gives or λ + µ) p 0j = sλp 1 + µp 0 ) + s j λp 0,j 1 + µp 0,j+1 ) + s j θ p j j=1 j= j=k λ + µ)g 0 s) = λs + µ/s)g 0 s) + sλp 1 µp 01 + θ s j p j This, together with 3) and the 4th and 1st equations of 1), gives λ + µ λs µ/s)g 0 s) = sλp 10 λ + θ 1 )p 1 + θ p 0 s K λ λ + θ sλ = s 1)λp 1 λp 0 + θ p 0 s K λ λ + θ sλ λp 0 = s 1)λp 1 λ + θ sλ θ s K) λ + θ sλ = s 1) λp 1 + Dividing through by s 1) and using 4), we can write ) λp 0 λ + θ sλ G 0 s)µ/s λ) = λ p 1 + G s)) j=k λ + θ 1 s K 1 s )) 4) so that G 0 s) = λs p 1 + G s)) µ sλ In terms of the traffic intensity, this can be written as 5) G 0 s) = ρs p 1 + G s)) 1 sρ 11

Expanding in geometric series gives G 0 s) = ρs) j p 1 + G s) sρ) j j=1 j=1 and expanding G s) further gives G 0 s) = ρs) j p 1 + s i+j ρ j p i j=1 j=1 i=0 from which we can see that j 1 p 0j = p 1 ρ j + ρ j i p i j = 1,, 3,...) 6) i=0 It remains for us only to determine p 1. Letting s 1 in 4) and 5), we obtain and θ G 1) = λ + Kθ )p 0 µ λ)g 0 1) = λg 1) + λp 1 By using the 1st and 8th equations of 1), it follows that p 1 = λθ 1 ρ) λθ 1 + λθ + Kθ 1 θ 7) Thus, the equilibrium distribution of {Nt),St)),t 0} is given by 1), ), 3), 6) and 7). A. Queue Length Distribution in the Deterministic Case Defining G 0 s) and G s) as for the exponential case, we can again obtain 5) and 4) where we now define p 1 = 1/θ1 0 p 1 x)dx These relations determine G 0 s) and G s) in terms of p 0 and p 1. Thus, 1), 3) and 6) again hold, but with and p 0 = 1 ρ)θ λ θ + e λ/θ 1 θ + Kθ p 1 = eλ/θ 1 1)1 ρ)θ λ θ e λ/θ 1 θ Kθ 1

A.3 Derivation of Mean Queue Length Let N and Q denote the numbers of customers in the system and in the queue, respectively, assuming the system is in equilibrium. Also, let G N s) and G Q s) be the probability generating functions of N and Q, respectively. Clearly, G N s) = G 0 s) + G s) + p 1 s 1) 8) It is also easy to see that G Q s) = G s) + p 1 p 01 + G 0 s)/s Using 5) and the 4th equation of 1), we have G Q s) = G s) + p 1 + which, upon rearrangement, yields G Q s) = µ + λ λs µ λs λs sµ λs) G s) + p 1 ) λ + θ 1 µ p 1 ρ G s) + p 1 1 ρs + µ λ θ ) 1 µ 9) The means L = E[N] and L q = E[Q] are obtained by evaluating the derivatives G N1) and G Q1). To do this, we note that 4) can be differentiated easily to give Using 5), we can readily obtain Since G 1) = p 0 KK 1) G 01) = ) + λ + Kλθ θ 30) λµ µ λ) G 1) + p 10 ) + λ µ λ G 1) 31) we can use 30) and 31) to obtain λµ L = p µ λ) 1 + λ + Kθ ) )p 0 θ L = G 01) + G 1), + µp ) 0 KK 1) + λ + Kλθ µ λ θ From this, we can obtain the special cases of exponential and deterministic delay displayed in equations 6), 7), 8) and 9). 13

A.4 Waiting Time Analysis Let W q denote the virtual waiting time of customers arriving in the system, assuming the system is in equilibrium, and let W q x) denote the corresponding distribution function. Then W q x) = PW q x,s =,N < K) + PW q x,s =,N K) + PW q x,s = 0) + p 1 3) Denote the first 3 terms on the right hand side by W 1 x), W x) and W 01 x), respectively. We will evaluate E[W q ] using where E[W q ] = W 0) = W 10) + W 0) + W 100)) W 0) = lim s 0 W s) and W s) denotes the Laplace-Stieltjes L-S) transform of Wx). If a customer arrives at the system during the server s vacation and sees N = j < K) customers in the system, then the waiting time in the queue will be the sum of K j + 1) interarrivals, a residual vacation and j service times. Because of independence and the memoryless property of the exponential distribution, we have W 1s) = e sx dw 1 x) 0 ) K 1 K j+1) ) ) j λ θ µ = p j j=0 λ + s θ + s µ + s ) K 1 ) θ K j+1) ) j λ µ = p 0 θ + s j=0 λ + s µ + s ) ) K θ λ + s)µ + s) = p 0 λ θ + s sλ µ) λ + s ) K µ 33) µ + s If a customer arrives in the system during vacation and sees N = j K) customers in the system, then the waiting time in the queue is the sum of a residual vacation and j service times. Thus, W s) = 0 e sx dw x) 14

) ) j θ µ = p j j=k θ + s µ + s ) θ λ = p 0 θ + s j=k λ + θ ) ) K θ µ 1 = p 0 θ + s µ + s ) j K+1) µ ) j µ + s λ+θ λ µ µ+s 34) Similarly, if a customer arrives in the system during a busy period and encounters N = j 1) customers in the system, then the waiting time in the queue is the sum of a residual service time and j 1 service times. It then follows that Using 6) we see that W 01s) = 0 e sx dw 01 x) = j=1 p 0j µ µ + s j 1 ) W01s) = {p 1 ρ j j µ + p i ρ j i } j=1 i=0 µ + s Using ) and 3) and several algebraic manipulations gives W01s) λ p 1 = p 0 + 1 ) µ K ) K µ+s µ µ + s λ p 0 1 λµ + s) ) + µ µ + s λ + θ )µ + s) λµ Combining 33), 34) and 35), we obtain λ W θ λ+s s) = p 0 θ + s + Hence, we have 10). λ p 1 + 1 µ + s λ p 0 µ+s ) K ) µ K µ+s λ µ λ+s µ+s ) K µ µ+s 1 µ µ+s + ) j ) µ K µ+s + λ+θ µ λ µ+s ) µ K µ+s λ+θ µ + p 1 p λ µ+s 0 The probability that a customer arriving in the system has to wait for service is given by 35) 36) 1 p 1 37) Hence, given W q > 0, the conditional distribution function W q x) is given by PW q x W q > 0) = W 1x) + W x) + W 01 x) 38) 1 p 1 Then, in view of 3) and 10), we obtain 11). 15

A.4 Analysis of the Operational Period We consider the problem of obtaining the equation 17) for E[B R ], the expected length of a busy period beginning with R customers in the system. First, note that In view of 3), we have 1 PR = r) = p j p r r = K,K + 1,K +,...) j=k PR = r) = θ λ λ Because of 16), we can condition on R, and write E[B R ] = from which 17) follows immediately. = = λ + θ E[B R R = r]pr = r) r=k E[B r ]PR = r) r=k ) r K+1 r θ λ r=k µ λ λ λ + θ ) r K+1 39) We turn next to the derivation of the equation 18) for E[V K ], the expected length of vacation. Let X, Z and S be random variables which are independent and exponentially distributed with mean 1/λ, 1/θ and 1/µ, respectively. We use a recurrence method as follows: E[V K ] = E[V K Z < X]PZ < X) + E[V K X Z]PX Z) = E[Z + V K Z < X]PZ < X) + E[X + V K 1 X Z]PX Z) = E[Z Z < X]PZ < X) + E[X X Z]PX Z) = +E[V K]PZ < X) + E[V K 1]PX Z) 1 + θ E[V K ] + λ E[V K 1 ] 40) λ + θ λ + θ λ + θ where V K and V K 1 have the same distributions as V K and V K 1, respectively, but they are independent of X and Z. We can then write E[V K ] = 1 λ + E[V K 1] 41) 16

To obtain E[V 1 ], we note that E[V 1 ] = E[V 1 Z < X]PZ < X) + E[V 1 X Z]PX Z) = E[Z + V 1 Z < X]PZ < X) + E[Z X Z]PX Z) θ = E[Z] + E[V 1 ] λ + θ = 1 λ + 1 4) θ Combining 41) and 4), we obtain 18). Acknowledgement This work was supported by research grants from the Natural Sciences and Engineering Research Council of Canada NSERC). References [1] Alam, S.S., Acharya, D., and Rao, V.P. 1986) M/M/1 queue with server s vacation. Asia-Pacific J. Oper. Res. 3 1 6. [] Chao, X. and Zhao, Y.Q. 1997) Analysis of multi-server queues with station and server vacations. to appear in EJOR). [3] Chung, K.L. 1967) Markov Chains with Stationary Transition Probabilities. nd edition. Springer-Verlag, Berlin. [4] Chaudhry, M.L. and Templeton, J.G.C. 1983) A First Course in Bulk Queues. Wiley, New York. [5] Cox, D. R. 1955) The analysis of non-markovian stochastic processes by the inclusion of supplementary variables. Proceedings of the Cambridge Philosophical Society 51 433 441. [6] Doshi, B.T. 1986) Queueing system with vacations - a survey. Queueing Systems 1 9 66. 17

[7] Frey, A. and Takahashi, Y. 1997) A Note on an M/GI/1/N Queue with Vacation Time and Exhaustive Service Discipline. to appear in Operations Research Letters). [8] Frey, A. and Takahashi, Y. 1997) An M X /GI/1/N Queue with Close-down and Vacation Times. submitted for publication) [9] Sakai, Y, Takahashi, Y., Takahashi, Y., and Hasegawa, T. 1997) A Composite Queue with Vacation/Set-up/Close-down Times for SVCC in IP over ATM Networks. submitted for publication) [10] Shi, D.H. and Zhang, W.G. 1994) Analysis of the repairable queueing system M X /GM/G)/1M/G) with multiple delay vacations. Acta Mathematica Applicatae Sinica 17 01 14. [11] Takagi, H. 1991) Queueing Analysis Vol. 1 Vacation and Priority Systems. North- Holland, Amsterdam. [1] Tijms, H. 1994) Stochastic Modelling An Algorithmic Approach. 18