Journal of Applied Mathematics

Volume 2013, Article ID 587163, 6 pages

http://dx.doi.org/10.1155/2013/587163

## On the Discrete-Time Queues under -Policy with Single and Multiple Vacations

^{1}Department of Management Engineering, Sangmyung University, Cheonan 330-720, Republic of Korea^{2}Department of Industrial Engineering, Chonnam National University, Gwangju 500-757, Republic of Korea^{3}Department of Business Administration, Pai Chai University, Daejeon 302-735, Republic of Korea^{4}Department of Industrial and Systems Engineering, KAIST, Daejon 305-701, Republic of Korea^{5}Division of Business and Commerce, Baekseok University, Cheonan 330-704, Republic of Korea

Received 5 August 2013; Accepted 4 December 2013

Academic Editor: Alexander Timokha

Copyright © 2013 Sung J. Kim et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

We consider the discrete-time queue under *N*-policy with single and multiple vacations. In this queueing system, the server takes multiple vacations and a single vacation whenever the system becomes empty and begins to serve customers only if the queue length is at least a predetermined threshold value *N*. Using the well-known property of stochastic decomposition, we derive the stationary queue-length distributions for both vacation models in a simple and unified manner. In addition, we derive their busy as well as idle-period distributions. Some classical vacation models are considered as special cases.

#### 1. Introduction

Queueing systems with vacations have been studied by many researchers over the past four decades. A vacation is the period in which a server is not available for some reason: the server may break down, take time to warm up/close down/repair, or be serving other classes of customers and so forth. Such queuing systems are useful in modeling a variety of real-life queueing situations such as those in digital communications, computer networks, and production/inventory systems. Readers are referred to Doshi [1] and Takagi [2, 3] for excellent and extensive treatments of various types of queueing systems with vacations.

In recent years, there has been a growing interest in the analysis of discrete-time queueing systems due to their applications in a variety of slotted digital communication systems and other related areas. Takagi [3] presents an extensive study on discrete-time queueing systems with vacations such as those with multiple vacations, single vacation, -policy, and set-up times. Zhang and Tian [4] study the discrete-time Geo//1 queue with multiple adaptive vacations, which includes multiple-vacation and single-vacation models as its special cases. Fiems and Bruneel [5] consider the discrete-time GI//1 queue with timed vacations. Alfa [6] discusses a variety of vacation models with discrete-time Markovian arrival process.

In this paper, we consider a discrete-time queueing system with batch arrivals, -policy, and single and multiple vacations. In this queueing system, groups of customers arrive according to a Bernoulli process, and they are served by the single server. The server takes single and multiple vacations whenever the system becomes empty and restarts to serve the customers only if the number of the customers in the system is at least a predetermined threshold value . We refer to this system as the queue under -policy with single and multiple vacations. The continuous-time counterpart of this queue, that is, the queue under -policy with single and multiple vacations, has been discussed by Lee et al. [7] and Lee et al. [8], respectively. As special cases, the queues with multiple vacations, single vacation, and -policy are also considered. Until recently, numerous studies have been reported regarding variations of queueing systems with -policy and vacations including Markovian queues (Choudhury [9], Ke et al. [10], and Wang [11]), general input queues (Lim et al. [12]), and combination with other control policies (Ke et al. [13] and Feyaerts et al. [14]). Also, reported works are well summarized by Tian and Zhang [15]. Nonetheless, results included in this paper have not been introduced previously and the approach to solve complex queueing problem is novel and quite simple.

It is well known that discrete-time queueing systems have been extensively applied in computer and digital communication systems. Also, control policies including -policy and two types of vacation considered in this paper have wide applicability to all sorts of different real life problems. Consider vulnerability of software system that is potentially dangerous since it might be exploited to cause loss or harm [16]. Single or multiple vulnerabilities of software systems are reported and stored in vulnerability databases daily. For example, vulnerabilities are collected in the NVD (national vulnerability database) of the NIST (National Institute of Standards and Technology) in the United States. Then, discovery and removal of reported vulnerabilities can be modelled using the discrete time batch arrival queueing system [16]. A day corresponds to a slot, and -policy can be applied to operate system more efficiently. Other applications of queueing systems with vacations can be found in Tian and Zhang [15].

This paper is organized as follows. In Section 2, we describe the models in detail. We first study the queue with -policy and multiple vacations in Section 3. Next, we consider the queue with -policy and single vacation in Section 4. Finally, we conclude the paper in Section 5.

#### 2. Model Description

In discrete-time queueing models, the time axis is segmented into a sequence of equal intervals of unit duration, called slots. It is always assumed that interarrival, service, and vacation times are integer multiples of unit duration. Because nothing is assumed to happen at any time during a slot, the state of the system changes only at a slot boundary . Under this discrete-time setting, note that an arrival and a departure may take place simultaneously at a slot boundary. Regarding the order of these simultaneous events, there have been two typical assumptions: arrivals first (AF) and departures first (DF). Specifically, under AF (DF), such an arrival (a departure) occurs just before a departure (an arrival). We also assume that, under AF (DF), a service and a vacation end before an arrival (a departure) and begin after a departure (an arrival). By all these assumptions, all the events that may occur simultaneously at a slot boundary are in order. For more details on the discrete-time queueing models, see Hunter [17], Takagi [3], and Bruneel and Kim [18]. Until addressing DF at the end, we assume AF.

We consider two discrete-time queueing systems: the discrete-time queue under -policy with single and multiple vacations. In the queue with -policy and multiple vacations, the server takes a vacation as soon as the system becomes empty. If the number of waiting customers is less than when the server returns from the vacation, he takes another vacation. He keeps taking vacations until he finds at least customers on return from a vacation. Finally, the server finding at least customers starts to serve those customers. In the queue with -policy and single vacation, on the other hand, if the number of waiting customers is less than after the server’s first vacation, the server becomes idle and just waits for the number to rise to be at least . Such a waiting period is called a dormant period; as soon as the number reaches (or more), he starts to serve the customers.

Let denote a generic random variable (r.v.) representing the number of customers that arrive during a single slot. It is assumed that numbers of such arrivals are independent and identically distributed (i.i.d.) with their common distribution and PGF (probability generating function) given by Note that this arrival process is considered as a batch Bernoulli process, where the interarrival times between batches are independent and geometrically distributed with parameter , and the batch-size PMF (probability mass function) is , . Service times of customers (denoted by a generic r.v. ) are independent of the arrival process and they are i.i.d. with their common PMF and PGF given by Lengths of vacations (denoted by a generic r.v. ) are independent of the arrival and service processes and they are i.i.d. with their common PMF and PGF given by

#### 3. The Geo^{x} Queue with -Policy and Multiple Vacations

For this system, we derive PGFs of the stationary queue length, idle period, and busy period.

##### 3.1. The Queue-Length Distribution

To obtain the queue-length PGF, we make use of the well-known property of stochastic decomposition [3, p. 90] and [17]: for a class of queueing systems with server vacations, PGF of the queue length (i.e., the number of customers in system including the one, if any, being served) during an arbitrary slot is given by where is the corresponding PGF of the standard queue without vacations [3, p. 21] and is the PGF of the number of customers that arrive during elapsed slots of an idle period. Note that is given by where with its PGF is a r.v. of the number of customers that arrive during an idle period. Note that and are PGFs of the (discrete-time version of the) equilibrium distributions of and , respectively.

Let be the probability that customers () arrive during a vacation with its PGF , and let be the probability that a grand vacation process visits state (). By a grand vacation, we mean a series of vacations that ends with a vacation in which at least one customer arrives (see Lee et al. [8]). For the continuous-time queue with -policy and multiple vacations, Lee et al.[8] show that is given by Moreover, they show that is fully characterized by and as follows: Note that is interpreted as the expected number of customers that arrive during a grand vacation (see Wald’s equation [19, p. 98]) and as the expected number of a grand vacation during an idle period. In derivations of (6) and (7), we notice that it is irrelevant whether the model is continuous or discrete; that is, (6) and (7) hold for their discrete-time counterparts as well.

Now, substituting (7) into (5) and (4), we have the following theorem.

Theorem 1. *For the discrete-time queue with -policy and multiple vacations, the PGF of the stationary queue length and its mean are given by
**
where and are the corresponding PGF and mean of the queue with multiple vacations.*

*Remark 2. *The continuous-time counterpart of Theorem 1 is derived by Lee et al. [8] using the supplementary variable technique.

*Remark 3. *Theorem 1 is readily specialized for the corresponding results of the queue with multiple vacations and the same queue with -policy. By letting be 1, the corresponding results for the queue with multiple vacations [3, p. 98] are obtained. By letting be a single slot (so thus ), on the other hand, the corresponding results for the queue with -policy [3, p. 174] are also obtained (under the discrete-time setting, note that taking a vacation whose length is a single slot is equivalent to taking no vacations).

##### 3.2. The Cycle Time

In this section, we first consider the idle period and then the busy period. Let and denote the number of slots of an idle period and its PGF. Then we have the following theorem.

Theorem 4. *For the discrete-time queue with -policy and multiple vacations, the PGF of an idle period and its mean are given by
*

*Proof. *Conditioning on the length of the first vacation and the number of arrivals during this vacation (denoted by ), we have the following recursive equation:
Then, unconditioning (11) on , we have
where is the probability that customers arrive during slots with its PGF given by . Next, unconditioning (12) on , we have the desired result (9):
From (9), we have
Using (6), it can be shown that (10) is a solution to the recursive equation (14). This completes the proof.

Note that is interpreted as the expected length of a grand vacation.

Next, we consider the busy period. Let and denote the number of slots of a busy period and its PGF. Note that PGF for a busy period that begins with customers in the queueing system is given by [3, p. 40], where represents PGF of the length of a busy period that begins with one customer in the standard queue without vacation. Thus we have the following.

Theorem 5. *For the discrete-time queue with -policy and multiple vacations, the PGF of a busy period and its mean are given by
*

*Remark 6. *Along the same lines as presented above, the continuous-time counterparts of Theorems 4 and 5 have been derived by Lee et al. [8]. Theorems 4 and 5 are readily specialized for the corresponding results of the queue with multiple vacations [3, p. 94-95] and the same queue with -policy [3, p. 175].

#### 4. The Geo^{X} Queue with -Policy and Single Vacation

##### 4.1. The Queue-Length Distribution

For this system, we also make use of the well-known property of stochastic decomposition [3, p. 90] and [20] to derive the queue-length distribution. First, we consider an individual cycle by which we mean an idle period plus the following busy period. In a given cycle, we note that a dormant period exists with probability . Then we let be the probability that the system visits state () during such a dormant period. And be the probability that the system visits state () during an idle period in the under -policy without vacations. For the continuous-time queue with -policy and single vacation, Lee et al. [7] show that is given by In this derivation, we notice that it is irrelevant whether the model is continuous or discrete; that is, (16) holds for its discrete-time counterpart as well.

Following the procedure presented by Lee et al. [7], we obtain that is fully characterized by , , and as follows: Note that is interpreted as the mean number of batch arrivals during a dormant period and as the mean batch size.

Now, simply substituting (17) into (5) and (4), we have the following.

Theorem 7. *For the discrete-time queue with -policy and single vacation, the PGF of the stationary queue length and its mean are given by
*

*Remark 8. *The continuous-time counterpart of Theorem 7 was derived by Lee et al. [7] using the supplementary variable technique.

*Remark 9. *Theorem 7 is readily specialized for the corresponding results of the queue with single vacation and the same queue with -policy. By letting be 1, the corresponding results for the queue with single vacation [3, p. 132] are obtained. By letting be a single slot, the corresponding results for the queue with -policy [3, p. 174] are also obtained.

##### 4.2. The Cycle Time

In this section, we first consider the idle period and then the busy period. Let and denote the number of slots of an idle period and its PGF. Then we have the following.

Theorem 10. *For the discrete-time queue with -policy and single vacation, the PGF of an idle period and its mean are given by
*

*Proof. *Conditioning on the length of the first vacation and the number of customers that arrive during this vacation (denoted by ), we have the following recursive equation:
where denotes the PGF for an idle period in under -policy without vacations. Then, unconditioning (22) on , we have
where is the probability that customers arrive during slots with its PGF given by . Next, unconditioning (23) on , we have the desired result (20):
From (18), we have

Note that is interpreted as the mean length of a dormant period, where represents the mean interbatch time.

Next, we consider the busy period. Let and denote the number of slots of a busy period and its PGF. Following the same procedure as presented in Section 3, we have the following.

Theorem 11. *For the discrete-time queue with -policy and single vacation, the PGF of a busy period and its mean are given by
*

*Remark 12. *Along the same lines as presented above, the continuous-time counterparts of Theorems 10 and 11 have been derived by Lee et al. [7]. Theorems 10 and 11 are readily specialized for the corresponding results of the queue with single vacation [3, p. 130-131] and the same queue with -policy [3, p. 175].

#### 5. Concluding Remarks

In this paper, we consider the discrete-time queues under -policy with multiple and single vacations. As a result, PGFs of queue-length distributions are obtained, and PGFs of the lengths of idle and busy periods are also presented. These results have not been presented previously in the literature. In addition, our approach is fairly simple to solve complex problems comparing to other previous works. For example, the supplementary variable technique needs a lengthy and difficult calculation. Our simple and unified approach is based on the well-known property of stochastic decomposition. The results presented in this paper specialize some fundamental vacation models that include the queues with single vacation, multiple vacations, and policy.

Finally, we remark that all the results obtained in this paper for models under AF assumptions also hold for those under DF assumptions. This is because assumptions on the order of simultaneous events at a slot boundary do not affect the system state during a slot (see Kim et al. [20]).

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

This work was supported by the National Research Foundation of Korea Grant funded by the Korean Government (NRF-2013S1A5A8022372).

#### References

- B. T. Doshi, “Queueing systems with vacations-a survey,”
*Queueing Systems*, vol. 1, no. 1, pp. 29–66, 1986. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - H. Takagi,
*Queueing Analysis, Vol. 1*, North-Holland, Amsterdam, The Netherlands, 1991. View at MathSciNet - H. Takagi,
*Queueing Analysis, Vol. 3*, North-Holland, 1993. - Z. G. Zhang and N. Tian, “Discrete time $\text{G}\text{e}\text{o}/\text{G}/1$ queue with multiple adaptive vacations,”
*Queueing Systems*, vol. 38, no. 4, pp. 419–429, 2001. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - D. Fiems and H. Bruneel, “Analysis of a discrete-time queueing system with timed vacations,”
*Queueing Systems*, vol. 42, no. 3, pp. 243–254, 2002. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A. S. Alfa, “Vacation models in discrete time,”
*Queueing Systems*, vol. 44, no. 1, pp. 5–30, 2003. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. S. Lee, H. W. Lee, S. H. Yoon, and K. C. Chae, “Batch arrival queue with
*N*-policy and single vacation,”*Computers & Operations Research*, vol. 22, pp. 173–189, 1995. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - H. W. Lee, S. S. Lee, J. O. Park, and K. C. Chae, “Analysis of the ${\text{M}}^{\text{X}}/\text{G}/1$ queue with $N$-policy and multiple vacations,”
*Journal of Applied Probability*, vol. 31, no. 2, pp. 476–496, 1994. View at Publisher · View at Google Scholar · View at MathSciNet - G. Choudhury, “An ${\text{M}}^{\text{X}}/\text{G}/1$ queueing system with a setup period and a vacation period,”
*Queueing Systems*, vol. 36, no. 1–3, pp. 23–38, 2000. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J.-C. Ke, K.-B. Huang, and W. L. Pearn, “The randomized vacation policy for a batch arrival queue,”
*Applied Mathematical Modelling*, vol. 34, no. 6, pp. 1524–1538, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - T.-Y. Wang, “Random $N$-policy Geo/G/1 queue with startup and closedown times,”
*Journal of Applied Mathematics*, vol. 2012, Article ID 793801, 19 pages, 2012. View at Publisher · View at Google Scholar · View at MathSciNet - D.-E. Lim, D. H. Lee, W. S. Yang, and K.-C. Chae, “Analysis of the GI/Geo/1 queue with $N$-policy,”
*Applied Mathematical Modelling*, vol. 37, no. 7, pp. 4643–4652, 2013. View at Publisher · View at Google Scholar · View at MathSciNet - J.-C. Ke, H.-I. Huang, and Y.-K. Chu, “Batch arrival queue with $N$-policy and at most $J$ vacations,”
*Applied Mathematical Modelling*, vol. 34, no. 2, pp. 451–466, 2010. View at Publisher · View at Google Scholar · View at MathSciNet - B. Feyaerts, S. De Vuyst, H. Bruneel, and S. Wittevrongel, “The impact of the
*NT*-policy on the behaviour of a discrete-time queue with general service times,”*Journal of Industrial and Management Optimization*, vol. 10, pp. 131–149, 2014. View at Google Scholar · View at Zentralblatt MATH - N. Tian and Z. G. Zhang,
*Vacation Queueing Models*, Springer, New York, NY, USA, 2006. View at MathSciNet - D. E. Lim and T. S. Kim, “Modeling discovery and removal of security vulnerabilities in software system using priority queueing models,” submitted to
*Journal of Computer Virology and Hacking Techniques*. - J. J. Hunter,
*Mathematical Techniques of Applied Probability, Vol. 2*, Operations Research and Industrial Engineering, Academic Press, New York, NY, USA, 1983. View at MathSciNet - H. Bruneel and B. G. Kim,
*Discrete-Time Models for Communication System Including ATM*, Kluwer Academic Publishers, 1993. - R. W. Wolff,
*Stochastic Modeling and the Theory of Queues*, Prentice Hall, Englewood Cliffs, NJ, USA, 1989. View at MathSciNet - N. K. Kim, K. C. Chae, and M. L. Chaudhry, “An invariance relation and a unified method to derive stationary queue-length distributions,”
*Operations Research*, vol. 52, no. 5, pp. 756–764, 2004. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet