Keywords

1 Introduction

Queueing models with finite buffer capacities are widely used in the analysis of real-life systems occurring in technical and economic sciences, and in transport and logistic problems, in which the phenomena of “queueing” of items [27, 28] (packets, calls, customers, jobs, etc.) and their losses due to buffer saturation can be observed. As it seems, particularly important are models in which different-type restrictions in access to the service station are implemented additionally. In practice, these restrictions are often a kind of energy saving mechanism (e.g., cyclic succession of listening and dormant modes in wireless networks, or switching off a machine in manufacturing process in the case of the traffic with low intensity), and are associated with temporary blocking the service of items despite their presence in the accumulation buffer. The scientific literature concerning such systems is already huge and still increasing. Servi and Finn proposed in [15] for the first time the model with the so called working vacation, in which the server, instead of total service stopping, offers the processing with another speed (usually lower). This model was originally motivated by a reconfigurable WDM (Wavelength-division multiplexing) optical access network in which a single token cyclically visits each queue, operating at two different rates (faster and slower ones), but it can be successfully used in modelling many phenomena typical for, e.g. computer and telecommunication networks or manufacturing engineering. In particular, we can use it

  • when the service station processes two types of packets with significantly different service speeds (e.g., different times of putting them in the link);

  • in the case of temporary throughput reductions, due to parallel launching another application;

  • in the situation of periodic reduction of the throughput of the production line (slower processing with lower power consumption).

As it is shown in [12, 29], a working vacation queueing system with two different processing rates can be successfully applied in modelling, e.g. the Ethernet Passive Optical Network (EPON), consisting of one optical line terminal (OLT), situated at the central office, and multiple optical network units (ONUs) situated at customer premises equipment (CPE), and a passive splitter/combiner. In EPON bi-directional transmissions are provided: in the downstream direction the OLT broadcasts to all ONUs and in the upstream direction (from ONUs to the OLT) the fiber channel is shared by all ONUs.

After the article [15] many papers were published on the analysis of stochastic characteristics of queueing models with working vacation mechanism. Working vacation models of GI/M/1 type are considered, e.g. in [2, 26] in the case of finite buffer capacity, and in [1, 13] for the infinite waiting room. Unfortunately, as one can see, most of the results relates only to the steady state of the system. Meanwhile, as it seems, in practice it is increasingly essential to investigate the system in the transient case. Such a study is of particular importance in the case of the observation the system shortly after its opening or applying new control mechanism. The high variability of the packet traffic (e.g., in the Internet) also can “force” the time-dependent analysis. In [18] the transient queue-size distribution for the infinite-sized M/M/1-type model with server working vacations is found. In [22] the study is extended for the multi-server case and multiple working vacation regime by using the matrix geometric method. Compact-form transient results for main stochastic characteristics of finite-buffer queues with different-type service restrictions can be found, e.g. in [710]. The case of infinite buffer is studied in [5, 6]. In [21] a processor-sharing model with limited total volume and probabilistic packet dropping is considered. In various data management systems (see [23]) we can find applications of queueing systems to enable faster requests management and therefore improved data mining (see e.g. [24, 25, 30, 31]).

The remaining part of the article is organized as follows. In the next Sect. 2 we give the precise description of the considered queueing model and state an auxiliary algebraic result which can be used in further analysis. Section 3 is devoted to the ordinary system (without server working vacation). The compact-form representation for the LT (=Laplace transform) of conditional transient queue-size distribution is derived there, and written by using the functional sequence recursively defined. In Sect. 4 we obtain the corresponding result for the original model with generally distributed working vacations, utilizing results from Sects. 2 and 3. In Sect. 5 numerical examples are attached and the last Sect. 6 contains a short summary and conclusions.

2 Model Description and Auxiliary Results

In the article we deal with the M/M/1/N-type queueing model with Poisson job arrivals with rate \( \lambda , \) exponential processing times with mean \( \mu^{ - 1} , \) and finite capacity \( N \ge 2 \) (\( N - 1 \) places in the buffer queue and one place “in service”). Every time when the system empties the server begins a generally distributed single working vacation period, during which the processing of jobs is carried out with another (slower) rate \( \mu^{*} < \mu \) (see Fig. 1 for the scheme of the system operation). We denote by \( G\left( \cdot \right) \) the CDF (=cumulative distribution function) of the working vacation period duration. After finishing the vacation period the service process is being continued normally, with original speed. The next working vacation period is being initialized at the next time at which the queue becomes empty, and so on.

Fig. 1.
figure 1

Scheme of a single-server finite-buffer working vacation model with Poisson arrivals

The following theorem can be found in [11]:

Theorem 1.

Introduce two number sequences \( \left( {\alpha_{k} } \right), k \ge 0, \) and \( \left( {\psi_{k} } \right), k \ge 1, \) with the assumption \( \alpha_{0} \ne 0. \) Each solution of the following system of linear equations with respect to \( x_{n} , n \ge 1: \)

$$ \mathop \sum \nolimits_{k = - 1}^{n - 1} \alpha_{k + 1} x_{n - k} - x_{n} = \psi_{n} ,\quad n \ge 1, $$
(1)

can be written in the form

$$ x_{n} = CR_{n} + \mathop \sum \nolimits_{k = 1}^{n} R_{n - k} \psi_{k} ,\quad n \ge 1, $$
(2)

where \( C \) is a constant independent on \( n, \) and \( \left( {R_{k} } \right) \) is connected with the sequence \( \left( {\alpha_{k} } \right) \) by the following formula:

$$ \mathop \sum \nolimits_{k = 0}^{\infty } \theta^{k} R_{k} = \frac{1}{{P_{\alpha } \left( \theta \right) - 1}},\,{\text{where}}\,P_{\alpha } \left( \theta \right) = \mathop \sum \nolimits_{k = - 1}^{\infty } \theta^{k} \alpha_{k + 1} , \left| \theta \right| < 1. $$
(3)

Moreover, in [11] it is proved that successive terms of the sequence \( \left( {R_{n} } \right) \) (called a potential) can be found recursively as follows:

$$ R_{0} = 0, R_{1} = \alpha_{0}^{ - 1} , R_{k + 1} = R_{1} \left( {R_{k} - \mathop \sum \nolimits_{i = 0}^{k} \alpha_{i + 1} R_{k - i} } \right),\quad k \ge 1. $$
(4)

As it turns out, LTs of conditional queue-size distributions in the original system and in the ordinary one, satisfy systems of equations similar to (1). Hence, in solving these systems, we will use the formula (2), where the representation for \( C \) will be found from a boundary condition.

3 Conditional Transient Queue-Size Distribution in an Ordinary System

In this section we deal with the conditional queue-size distribution in the ordinary finite-buffer M/M/1/N-type model without working vacation discipline, corresponding to the original one, with \( \lambda \) and \( \mu^{*} \) being the arrival intensity and service speed, respectively, and find the representation for its LT in terms of “input” system parameters, writing it in a specific way, by using a recursively defined sequence, called a potential. Similar result was obtained in [3] for the generally-distributed service time, however it is written in another form. It should be mentioned here that transient solutions for the M/M/1/N-type queue were also obtained in [19] (see also [14]) by using the technique of eigenvalues and eigenvectors, in [16] by applying Chebyshev polynomials, in [17] by utilizing matrix technique and in [20] via LTs. Introduce the following notation:

$$ P_{n}^{O} \left( {t,m} \right)\mathop = \limits^{\text{def}} \varvec{P}\left\{ {X^{O} \left( t \right) = m |X^{O} \left( 0 \right) = n} \right\}, \quad 0 \le m,n \le N, $$
(5)

where \( X^{O} \left( t \right) \) denotes the number of packets present in the ordinary system at time \( t. \) Since, due to exponential distributions of inter-arrival and service times, both arrival and service completion epochs are Markov moments, from the continuous version of the total probability formula written with respect to the first Markov moment after \( t = 0, \) we obtain the following system of integral equations:

$$ P_{0}^{O} \left( {t,m} \right) = \lambda \mathop \smallint \limits_{0}^{t} e^{ - \lambda x} P_{1}^{O} \left( {t - x,m} \right)dx + e^{ - \lambda t} \delta_{m,0} , $$
(6)
$$ \begin{aligned} P_{n}^{O} \left( {t,m} \right) & = \lambda \mathop \smallint \limits_{0}^{t} e^{{ - \left( {\lambda + \mu^{ *} } \right)x}} P_{n + 1}^{O} \left( {t - x,m} \right)dx \\ & \,\,\,\, + \,\mu^{ *} \mathop \smallint \limits_{0}^{t} e^{{ - \left( {\lambda + \mu^{ *} } \right)x}} P_{n - 1}^{O} \left( {t - x,m} \right)dx \\ & \,\,\,\, + \,e^{{ - \left( {\lambda + \mu^{ *} } \right)t}} \delta_{m,n} , \\ \end{aligned} $$
(7)

where \( 1 \le n \le N - 1, \) and

$$ \begin{aligned} P_{N}^{O} \left( {t,m} \right) & = \lambda \mathop \smallint \limits_{0}^{t} e^{{ - \left( {\lambda + \mu^{ *} } \right)x}} P_{N}^{O} \left( {t - x,m} \right)dx \\ & \,\,\, +\, \mu^{ *} \mathop \smallint \limits_{0}^{t} e^{{ - \left( {\lambda + \mu^{ *} } \right)x}} P_{N - 1}^{O} \left( {t - x,m} \right)dx \\ & \,\,\, + \,e^{{ - \left( {\lambda + \mu^{ *} } \right)t}} \delta_{m,N} ,\\ \end{aligned} $$
(8)

where the notation \( \delta_{i,j} \) stands for the Kronecker delta function. Let us comment (6)–(8) briefly. Indeed, the first summands on the right side of (7) and (8) relate to the case in which, as the first one, a jump of the arrival Poisson process occurs, while the second ones - to the situation in which the jump of the service process is observed as the first one. The last summands on the right side of (7) and (8) present the case in that there is no jump of the arrival and service processes before \( t. \) The formula (6), written for the case of the system being empty at the opening, is obvious. Defining

$$ \tilde{p}_{n}^{O} (s,m)\mathop = \limits^{\text{def}} \mathop \smallint \limits_{0}^{\infty } e^{ - st} \varvec{P}\left\{ {X^{O} \left( t \right) = m |X^{O} \left( 0 \right) = n} \right\}dt, \quad {\Re }\left( s \right) > 0, $$
(9)

we obtain from (6)–(8) the following equations:

$$ \tilde{p}_{0}^{O} \left( {s,m} \right) = \frac{\lambda }{\lambda + s}\tilde{p}_{1}^{O} \left( {s,m} \right) + \frac{{\delta_{m,0} }}{\lambda + s}, $$
(10)
$$ \tilde{p}_{n}^{O} \left( {s,m} \right) = \frac{\lambda }{{\lambda + \mu^{ *} + s}}\tilde{p}_{n + 1}^{O} \left( {s,m} \right) + \frac{{\mu^{ *} }}{{\lambda + \mu^{ *} + s}}\tilde{p}_{n - 1}^{O} \left( {s,m} \right) + \frac{{\delta_{m,n} }}{{\lambda + \mu^{ *} + s}}, 1 \le n \le N - 1 $$
(11)

and

$$ \tilde{p}_{N}^{O} \left( {s,m} \right) = \frac{\lambda }{{\lambda + \mu^{ *} + s}}\tilde{p}_{N}^{O} \left( {s,m} \right) + \frac{{\mu^{ *} }}{{\lambda + \mu^{ *} + s}}\tilde{p}_{N - 1}^{O} \left( {s,m} \right) + \frac{{\delta_{m,N} }}{{\lambda + \mu^{ *} + s}}. $$
(12)

We will obtain the solution of the system (10)–(12) by applying the algebraic-type approach based on Theorem 1 that allows for writing the representation for \( \tilde{p}_{k}^{O} \left( {s,m} \right) \) (at arbitrary \( k \)) via certain recursively-defined sequence (see (4)).

Let us note that, if we define

$$ \alpha_{0}^{ *} \left( s \right) = \frac{\lambda }{{\lambda + \mu^{ *} + s}}, \alpha_{1}^{ *} \left( s \right) = 0, \alpha_{2}^{ *} \left( s \right) = \frac{{\mu^{ *} }}{{\lambda + \mu^{ *} + s}},\alpha_{k}^{ *} \left( s \right) = 0, \quad k \ge 3, $$
(13)

and, moreover,

$$ \psi_{n}^{ *} \left( {s,m} \right) = \phi_{n}^{ *} \left( {s,m} \right) - D_{n}^{ *} \left( s \right)\tilde{p}_{0}^{O} \left( {s,m} \right), $$
(14)

where

$$ \phi_{n}^{ *} \left( {s,m} \right)\mathop = \limits^{\text{def}} - \frac{{\delta_{m,n} }}{{\lambda + \mu^{ *} + s}}, \quad D_{n}^{ *} \left( s \right)\mathop = \limits^{\text{def}} \delta_{1,n} \alpha_{2}^{ *} \left( s \right), $$
(15)

then the Eqs. (11) and (12) can be rewritten as

$$ \mathop \sum \nolimits_{k = - 1}^{n - 1} \alpha_{{{\text{k}} + 1}}^{ *} \left( s \right)\tilde{p}_{n - k}^{O} \left( {s,m} \right) - \tilde{p}_{n}^{O} \left( {s,m} \right) = \psi_{n}^{ *} \left( {s,m} \right), \quad 1 \le n \le N - 1, $$
(16)

and

$$ \tilde{p}_{N}^{O} \left( {s,m} \right) = \left[ {1 - \alpha_{0}^{ *} \left( s \right)} \right]^{ - 1} \left[ {\alpha_{2}^{ *} \left( s \right)\tilde{p}_{N - 1}^{O} \left( {s,m} \right) - \phi_{N}^{ *} \left( {s,m} \right)} \right]. $$
(17)

Because (16) has the same form as (1) (now with \( \alpha_{\text{k}}^{ *} \) and \( \psi_{n}^{ *} \) being functions of \( s \) and \( \left( {s,m} \right), \) respectively), then the following representation holds true (compare (2)):

$$ \tilde{p}_{n}^{O} \left( {s,m} \right) = C^{ *} \left( {s,m} \right)R_{n}^{ *} \left( s \right) + \mathop \sum \nolimits_{k = 1}^{n} R_{n - k}^{ *} \left( s \right)\psi_{k}^{ *} \left( {s,m} \right), \quad n \ge 1, $$
(18)

where now (see (4) and refer to (13)) for \( k \ge 1 \)

$$ R_{0}^{ *} \left( s \right) = 0, R_{1}^{ *} \left( s \right) = \left[ {\alpha_{0}^{ *} \left( s \right)} \right]^{ - 1} , R_{k + 1}^{ *} \left( s \right) = R_{1}^{ *} \left( s \right)\left( {R_{k}^{ *} \left( s \right) - \alpha_{2}^{ *} \left( s \right)R_{k - 1}^{ *} \left( s \right)} \right). $$
(19)

In order to find the explicit representation for \( C^{ *} \left( {s,m} \right) \), we will use the Eq. (17), treating it as a kind of boundary condition. Indeed, implementing (18) in (17), we obtain

$$ \begin{aligned} & \left[ {1 - \alpha_{0}^{ *} \left( s \right)} \right]\left[ {C^{ *} \left( {s,m} \right)R_{N}^{ *} \left( s \right) + \mathop \sum \nolimits_{k = 1}^{N} R_{N - k}^{ *} \left( s \right)\left( {\phi_{k}^{ *} \left( {s,m} \right) - D_{k}^{ *} \left( s \right)\tilde{p}_{0}^{O} \left( {s,m} \right)} \right)} \right] \\ & = \alpha_{2}^{ *} \left( s \right)\left[ {C^{ *} \left( {s,m} \right)R_{N - 1}^{ *} \left( s \right) + \mathop \sum \nolimits_{k = 1}^{N - 1} R_{N - 1 - k}^{ *} \left( s \right)\left( {\phi_{k}^{ *} \left( {s,m} \right) - D_{k}^{ *} \left( s \right)\tilde{p}_{0}^{O} \left( {s,m} \right)} \right)} \right] \\ & \,\,\, - \,\phi_{N}^{ *} \left( {s,m} \right). \\ \end{aligned} $$
(20)

Observe that, taking in (18) \( n = 1, \) we have

$$ \tilde{p}_{1}^{O} \left( {s,m} \right) = C^{ *} \left( {s,m} \right)R_{1}^{ *} \left( s \right) = C^{ *} \left( {s,m} \right)\left[ {\alpha_{0}^{ *} \left( s \right)} \right]^{ - 1} . $$
(21)

Substituting now (21) into (10), we get

$$ \tilde{p}_{0}^{O} \left( {s,m} \right) = A^{ *} \left( s \right)C^{ *} \left( {s,m} \right) + B^{ *} \left( {s,m} \right), $$
(22)

where

$$ A^{ *} \left( s \right)\mathop = \limits^{\text{def}} \frac{\lambda }{\lambda + s}\left[ {\alpha_{0}^{ *} \left( s \right)} \right]^{ - 1} , \quad B^{ *} \left( {s,m} \right)\mathop = \limits^{\text{def}} \frac{{\delta_{m,0} }}{\lambda + s}. $$
(23)

Inserting (22) into (20), we eliminate \( C^{ *} \left( {s,m} \right) \) in the following form:

$$ C^{ *} \left( {s,m} \right) = \frac{{T^{ *} (s,m)}}{{{\Delta }^{ *} (s)}}, $$
(24)

where we denote

$$ \begin{aligned} T^{ *} \left( {s,m} \right) & \mathop = \limits^{\text{def}} \alpha_{2}^{ *} \left( s \right)\mathop \sum \nolimits_{k = 1}^{N - 1} R_{N - k - 1}^{ *} \left( s \right)\left[ {\phi_{k}^{ *} \left( {s,m} \right) - D_{k}^{ *} \left( s \right)B^{ *} \left( {s,m} \right)} \right] \\ & \,\,\, - \, \left[ {1 - \alpha_{0}^{ *} \left( s \right)} \right]\mathop \sum \nolimits_{k = 1}^{N} R_{N - k}^{ *} \left( s \right)\left[ {\phi_{k}^{ *} \left( {s,m} \right) - D_{k}^{ *} \left( s \right)B^{ *} \left( {s,m} \right)} \right] \\ & \,\,\, - \, \phi_{N}^{ *} \left( {s,m} \right) \\ \end{aligned} $$
(25)

and

$$ \begin{aligned} {\Delta }^{ *} \left( s \right) & \mathop = \limits^{\text{def}} \left( {1 - \alpha_{0}^{ *} \left( s \right)} \right)\left[ {R_{N}^{ *} \left( s \right) - A^{ *} \left( s \right)\mathop \sum \nolimits_{k = 1}^{N} R_{N - k}^{ *} \left( s \right)D_{k}^{ *} \left( s \right)} \right] \\ & \,\,\, + \,\alpha_{2}^{ *} \left( s \right)\left[ {A^{ *} \left( s \right)\mathop \sum \nolimits_{k = 1}^{N - 1} R_{N - 1 - k}^{ *} \left( s \right)D_{k}^{ *} \left( s \right) - R_{N - 1}^{ *} \left( s \right)} \right].\\ \end{aligned} $$
(26)

Collecting the formulae (14), (18), (22) and (24), we can formulate the following:

Theorem 2.

The LT \( \tilde{p}_{n}^{O} \left( {s,m} \right) \) of transient queue-size distribution in the ordinary M/M/1/N-type queue, conditioned by the number \( 0 \le n \le N \) of jobs present in the system initially, can be expressed in the following way:

$$ \tilde{p}_{0}^{O} \left( {s,m} \right) = A^{*} \left( s \right)\frac{{T^{*} (s,m)}}{{\varDelta^{*} (s)}} + B^{*} \left( {s,m} \right), $$
(27)
$$ \begin{aligned} \tilde{p}_{n}^{O} \left( {s,m} \right) & = \frac{{T^{*} (s,m)}}{{\varDelta^{*} (s)}}R_{n}^{*} \left( s \right) \\ &\,\,\,\, + \mathop \sum \nolimits_{k = 1}^{N} R_{N - k}^{*} \left( s \right)\left[ {\phi_{k}^{*} \left( {s,m} \right) - D_{k}^{*} \left( s \right)\left( {A^{*} \left( s \right)\frac{{T^{*} (s,m)}}{{\varDelta^{*} (s)}} + B^{*} \left( {s,m} \right)} \right)} \right], \quad 1 \le n \le N,\\ \end{aligned} $$
(28)

where \( {\Re }\left( s \right) > 0 \) and \( 0 \le m \le N, \) and the formulae for \( \phi_{k}^{*} \left( {s,m} \right), \) \( D_{k}^{*} \left( s \right), \) \( R_{k}^{*} \left( s \right), \) \( A^{*} \left( s \right), \) \( B^{*} \left( {s,m} \right), \) \( T^{*} (s,m) \) and \( \varDelta^{*} \left( s \right) \) are given in ( 15 ), ( 19 ), ( 23 ) ( 25 ) and ( 26 ), respectively.

4 Queue-Size Distribution in a Model with Working Vacations

Let us take into consideration the original model with generally-distributed server working vacation periods (each with a CDF \( G( \cdot ) \)) during which the processing of jobs is offered with a slower rate \( \mu^{*} < \mu , \) where \( \mu \) denotes the normal-mode service rate. Introduce the following notation:

$$ P_{n} \left( {t,m} \right)\mathop = \limits^{\text{def}} \varvec{P}\left\{ {X\left( t \right) = m |X\left( 0 \right) = n} \right\}, \quad 0 \le m,n \le N, $$
(29)

where \( X\left( t \right) \) denotes the number of packets present in the system with working vacations (original one) at time \( t. \) Assume, firstly, that the system starts its evolution being empty. So, at \( t = 0 \) the working vacation period begins. Observe, that the following equation is then satisfied:

$$ P_{0} \left( {t,m} \right) = \mathop \sum \nolimits_{k = 0}^{N} \mathop \smallint \limits_{0}^{t} P_{0}^{O} \left( {x,k} \right)P_{k}^{O} \left( {t - x,m} \right)dG\left( x \right) + \left[ {1 - G(t)} \right]P_{0}^{O} \left( {t,m} \right). $$
(30)

Indeed, the first summand on the right side of (30) presents the situation in which the working vacation period completes at time \( x < t. \) Hence, at time \( x \) the system starts the operation in normal mode with \( 0 \le k \le N \) packets with probability \( P_{0}^{O} \left( {x,k} \right) \). The second summand in (30) relates to the case in that the time epoch \( t \) is “inside” the working vacation period. If the number of packets equals \( 1 \le n \le N - 1 \) initially, we similarly obtain

$$ P_{n} \left( {t,m} \right) = \lambda \mathop \smallint \limits_{0}^{t} e^{{ - \left( {\lambda + \mu } \right)x}} P_{n + 1} \left( {t - x,m} \right)dx + \mu \mathop \smallint \limits_{0}^{t} e^{{ - \left( {\lambda + \mu } \right)x}} P_{n - 1} \left( {t - x,m} \right)dx + e^{{ - \left( {\lambda + \mu } \right)t}} \delta_{m,n} . $$
(31)

Finally, \( n = N \) we have

$$ P_{N} \left( {t,m} \right) = \lambda \mathop \smallint \limits_{0}^{t} e^{{ - \left( {\lambda + \mu } \right)x}} P_{N} \left( {t - x,m} \right)dx + \mu \mathop \smallint \limits_{0}^{t} e^{{ - \left( {\lambda + \mu } \right)x}} P_{N - 1} \left( {t - x,m} \right)dx + e^{{ - \left( {\lambda + \mu } \right)t}} \delta_{m,N} . $$
(32)

The interpretation of (31) and (32) is the same as of (7) and (8). Defining

$$ \tilde{p}_{n} (s,m)\mathop = \limits^{\text{def}} \mathop \smallint \limits_{0}^{\infty } e^{ - st} \varvec{P}\left\{ {X\left( t \right) = m | {\text{X}}\left( 0 \right) = n} \right\}dt, \quad {\Re }\left( s \right) > 0, $$
(33)

and, moreover (compare (13)–(15)),

$$ \alpha_{0} \left( s \right) = \frac{\lambda }{\lambda + \mu + s}, \alpha_{1} \left( s \right) = 0, \alpha_{2} \left( s \right) = \frac{\mu }{\lambda + \mu + s},\alpha_{k} \left( s \right) = 0, \quad k \ge 3, $$
(34)

and

$$ \psi_{n} \left( {s,m} \right) = \phi_{n} \left( {s,m} \right) - D_{n} \left( s \right)\tilde{p}_{0} \left( {s,m} \right), $$
(35)

where

$$ \phi_{n} \left( {s,m} \right)\mathop = \limits^{\text{def}} - \frac{{\delta_{m,n} }}{\lambda + \mu + s}, D_{n} \left( s \right)\mathop = \limits^{\text{def}} \delta_{1,n} \alpha_{2} \left( s \right), $$
(36)

we obtain from (30)–(32) the following system (see (10) ,(16) and (17)):

$$ \tilde{p}_{0} \left( {s,m} \right) = \mathop \sum \nolimits_{k = 0}^{N} \tilde{p}_{k} \left( {s,m} \right)\mathop \smallint \limits_{0}^{\infty } e^{ - sx} P_{0}^{O} \left( {x,k} \right)dG\left( x \right) + \mathop \smallint \limits_{0}^{\infty } e^{ - st} P_{0}^{O} \left( {t,m} \right)\left[ {1 - G(t)} \right]dt, $$
(37)
$$ \mathop \sum \nolimits_{k = - 1}^{n - 1} \alpha_{k + 1} \left( s \right)\tilde{p}_{n - k} \left( {s,m} \right) - \tilde{p}_{n} \left( {s,m} \right) = \psi_{n} \left( {s,m} \right), 1 \le n \le N - 1, $$
(38)

and

$$ \tilde{p}_{N} \left( {s,m} \right) = \left[ {1 - \alpha_{0} \left( s \right)} \right]^{ - 1} \left[ {\alpha_{2} \left( s \right)\tilde{p}_{N - 1} \left( {s,m} \right) - \phi_{N} \left( {s,m} \right)} \right]. $$
(39)

Since (38) has the same form as (1), then we can write (compare (18))

$$ \tilde{p}_{n} \left( {s,m} \right) = C\left( {s,m} \right)R_{n} \left( s \right) + \mathop \sum \nolimits_{k = 1}^{n} R_{n - k} \left( s \right)\psi_{k} \left( {s,m} \right), \quad n \ge 1, $$
(40)

where here (see (19)) for \( k \ge 1 \)

$$ R_{0} \left( s \right) = 0, R_{1} \left( s \right) = \left[ {\alpha_{0}^{ *} \left( s \right)} \right]^{ - 1} , R_{k + 1} \left( s \right) = R_{1} \left( s \right)\left( {R_{k} \left( s \right) - \alpha_{2} \left( s \right)R_{k - 1} \left( s \right)} \right) $$
(41)

and the sequence \( \left( {\alpha_{k} \left( s \right)} \right) \) is defined in (34).

Let us note that, if we define

$$ L_{k} (s)\mathop = \limits^{\text{def}} \mathop \smallint \limits_{0}^{\infty } e^{ - st} P_{0}^{O} \left( {t,k} \right)dG(t) $$
(42)

and

$$ M\left( {s,m} \right)\mathop = \limits^{\text{def}} \mathop \smallint \limits_{0}^{\infty } e^{ - st} P_{0}^{O} \left( {t,k} \right)\left[ {1 - G\left( t \right)} \right]dt, $$
(43)

where \( {\Re }\left( s \right) > 0, \) then (37) can be rewritten in the following way:

$$ \tilde{p}_{0} \left( {s,m} \right) = \mathop \sum \nolimits_{k = 0}^{N} \tilde{p}_{k} \left( {s,m} \right)L_{k} \left( s \right) + M\left( {s,m} \right). $$
(44)

Inserting now in (44), instead of \( \tilde{p}_{k} \left( {s,m} \right) \), the right side of the representation (40), we obtain

$$ \begin{aligned} \tilde{p}_{0} \left( {s,m} \right) &=\tilde{p}_{0} \left( {s,m} \right)L_{0} \left( s \right) \\ & \,\,\,\, + \mathop \sum \nolimits_{k = 1}^{N} L_{k} \left( s \right)\left[ {C\left( {s,m} \right)R_{k} \left( s \right) + \mathop \sum \nolimits_{i = 1}^{k} R_{k - i} \left( s \right)\left( {\phi_{i} \left( {s,m} \right) - D_{i} \left( s \right)\tilde{p}_{0} \left( {s,m} \right)} \right)} \right] \\ & \,\,\,\, + \,M\left( {s,m} \right), \\ \end{aligned} $$
(45)

and hence we get the following formula:

$$ \tilde{p}_{0} \left( {s,m} \right) = A\left( s \right)C\left( {s,m} \right) + B\left( {s,m} \right), $$
(46)

where

$$ A(s) \mathop = \limits^{\text{def}} \left[ {1 - L_{0} \left( s \right) + \mathop \sum \nolimits_{k = 1}^{N} L_{k} \left( s \right)\mathop \sum \nolimits_{i = 1}^{k} R_{k - i} \left( s \right)D_{i} \left( s \right)} \right]^{ - 1} \mathop \sum \nolimits_{k = 1}^{N} L_{k} \left( s \right)R_{k} \left( s \right) $$
(47)

and

$$ \begin{aligned} B(s,m) & \mathop = \limits^{\text{def}} \left[ {1 - L_{0} \left( s \right) + \mathop \sum \nolimits_{k = 1}^{N} L_{k} \left( s \right)\mathop \sum \nolimits_{i = 1}^{k} R_{k - i} \left( s \right)D_{i} \left( s \right)} \right]^{ - 1} \\ & \,\,\,\,\, \left[ {\mathop \sum \nolimits_{k = 1}^{N} L_{k} \left( s \right)\mathop \sum \nolimits_{i = 1}^{k} R_{k - i} \left( s \right)\phi_{i} \left( {s,m} \right) + M(s,m)} \right] \\ \end{aligned} $$
(48)

Having defined \( A(s) \) and \( B\left( {s,m} \right) \), we can execute successive steps of the procedure described for the ordinary system in (20)–(26) and formulate the following main theorem:

Theorem 3.

The LT \( \tilde{p}_{n} \left( {s,m} \right) \) of time-dependent queue-size distribution in the M/M/1/N-type queue with working vacation mechanism, conditioned by the number \( 0 \le n \le N \) of jobs present in the system initially, can be written in the following way:

$$ \tilde{p}_{0} \left( {s,m} \right) = A\left( s \right)\frac{T(s,m)}{{{\Delta }(s)}} + B\left( {s,m} \right), $$
(49)
$$ \begin{aligned} \tilde{p}_{n} \left( {s,m} \right) & = \frac{T(s,m)}{\Delta (s)}R_{n} \left( s \right)\\ &\,\,\,\, + \mathop \sum \nolimits_{k = 1}^{N} R_{N - k} \left( s \right)\left[ {\phi_{k} \left( {s,m} \right) - D_{k} \left( s \right)\left( {A\left( s \right)\frac{T(s,m)}{\Delta (s)} + B\left( {s,m} \right)} \right)} \right],\,\,1 \le n \le N,\\ \end{aligned} $$
(50)

where \( {\Re }\left( s \right) > 0 \) and \( 0 \le m \le N, \) and (compare ( 25 ) and ( 26 ))

$$ \begin{aligned} T\left( {s,m} \right) & \mathop = \limits^{\text{def}} \alpha_{2} \left( s \right)\mathop \sum \nolimits_{k = 1}^{N - 1} R_{N - 1 - k} \left( s \right)\left[ {\phi_{k} \left( {s,m} \right) - D_{k} \left( s \right)B\left( {s,m} \right)} \right]\\ &\,\,\,\, - \left[ {1 - \alpha_{0} \left( s \right)} \right]\mathop \sum \nolimits_{k = 1}^{N} R_{N - k} \left( s \right)\left[ {\phi_{k} \left( {s,m} \right) - D_{k} \left( s \right)B\left( {s,m} \right)} \right] - \phi_{N} \left( {s,m} \right),\\ \end{aligned} $$
(51)
$$ \begin{aligned} \Delta \left( s \right) & \mathop = \limits^{\text{def}} \left( {1 - \alpha_{0} \left( s \right)} \right)\left[ {R_{N} \left( s \right) - A\left( s \right)\mathop \sum \nolimits_{k = 1}^{N} R_{N - k} \left( s \right)D_{k} \left( s \right)} \right]\\ &\,\,\,\, + \alpha_{2} \left( s \right)\left[ {A\left( s \right)\mathop \sum \nolimits_{k = 1}^{N - 1} R_{N - 1 - k} \left( s \right)D_{k} \left( s \right) - R_{N - 1} \left( s \right)} \right].\\ \end{aligned} $$
(52)

Moreover, the formulae for \( \phi_{k} \left( {s,m} \right), D_{k} \left( s \right), R_{k} \left( s \right), A(s) \) and \( B(s,m) \) are given in ( 36 ), ( 41 ), ( 47 ) and ( 48 ), respectively.

Remark 1.

The formulae ( 49 ) and ( 50 ) allow for finding the LT of the queue-size distribution in the original system as functions of the appropriate distribution for the ordinary model (given in terms of LTs in ( 27 ) and ( 28 )), by \( L_{k} \left( s \right) \) and \( M(s,m) \) defined in ( 42 ) and ( 43 ), respectively.

Remark 2.

Having LTs of the probabilities \( \tilde{p}_{n} \left( {s,m} \right), \) we can easily find the stationary queue-size distribution \( \pi_{0} , \ldots , \pi_{N} , \) by using the well-known Tauberian theorem, namely

$$ \pi_{m} = \mathop {\lim }\limits_{t \to \infty } \varvec{P}\left\{ {X\left( t \right) = m} \right\} = \mathop {\lim }\nolimits_{s \downarrow 0} s \cdot \tilde{p}_{n} \left( {s,m} \right), \quad 0 \le m \le N, $$
(53)

where \( n \) can be chosen arbitrarily between 0 and \( N. \)

Remark 3.

In the case of exponentially distributed working vacation period with mean \( \theta^{ - 1} , \) i.e. if \( G(t) = 1 - e^{ - \theta t} , t > 0, \) we can evaluate \( L_{k} \left( s \right) \) and \( M(s,m) \) explicitly. Indeed, we obtain

$$ L_{k} \left( s \right) = \theta \tilde{p}_{0}^{O} \left( {s + \theta ,k} \right), M\left( {s,m} \right) = \tilde{p}_{0}^{O} \left( {s + \theta ,m} \right). $$
(54)

5 Numerical Examples

Let us consider a node of the wireless network in which packets of sizes 200 [B] arrive according to a Poisson process with intensity 600 [kb/s]. The normal throughput equals 800 [kb/s], but every time when the buffer empties the throughput is lower (500 [kb/s]) for a random exponential time with mean 0.1 [s]. Let us note that for such parameters the traffic load equals normally 0.75 and during the working vacation period 1.20 (so, in this case the link is overloaded). In Fig. 1 transient behaviour of probabilities \( P\{ X(t) = m\, | \,X(0) = 0\} \) is presented for \( m = 0, 2\, {\text{and 4}} \), where \( N = 4. \) In Fig. 2 transient behaviour of \( \varvec{P}\{ X(t) = 1 \, | \,X(0) = 0\} \) is visualized for different arrival rates: 200, 400 and 600 [kb/s], where the remaining system parameters are kept the same as in Fig. 1. As one can observe, for the lowest arrival rate, the time for the system stabilization is the shortest one. Figure 3 shows the behaviour of \( \varvec{P}\{ X(t) = 4\, | \,X(0) = 0\} \) at arrival rate 400 [kb/s] and normal service speed 800 [kb/s], for three different processing speeds during the WV (= working vacation) period (the case 800 [kb/s] denotes, in fact, no working vacation) (Fig. 4).

Fig. 2.
figure 2

Transient behaviour of \( \varvec{P}\{ X(t) = m\, | \,X(0) = 0\} \) for different values of m

Fig. 3.
figure 3

Sensitivity of transient queue-size distribution on different arrival intensities

Fig. 4.
figure 4

Sensitivity of transient queue-size distribution on processing rates during WV

6 Conclusions and Closing Remarks

In the paper a single-server queueing model with finite buffer capacity, Poisson arrival stream and exponential processing times is investigated. The service process is governed by a FIFO discipline with working vacation algorithm, in which the service station, every time when the system empties, provide the processing with a slower rate during a generally distributed random time. The explicit formulae for the LT of transient conditional queue-size distribution are obtained. Numerical utility of the formulae is presented in examples motivated by real traffic in a node of the wireless network.