Keywords

1 Introduction and Preliminaries

As it is commonly known, different-type real problems occurring in telecommunication and computer networks, in manufacturing processes, in transport and logistics, tracking systems and similar can be efficiently modelled by using appropriate queueing models (e.g. see [18, 19]). Systems with one or more mechanisms limiting the access to the service station seem to be of special importance. One of such mechanisms are server setup and closedown times, occurring at the beginning and at the end of each busy period of the system, respectively. Indeed, due to the energy saving strategy, the server is being switched off when there are no customers present, and is being switched on when a job arrives into the empty system. Switching off requires a time, usually random, as, similarly, switching on during which the service station achieves full readiness for processing. In the paper we deal with a single-channel queueing model with finite buffer capacity and the service process organized according to the FIFO service discipline, in which generally distributed closedown and setup times are implemented. The considered model has potential practical applications, e.g. in SVC (switched virtual connection) modelling, where the setup time corresponds to the time for building a new SVC by using the signalling procedure, and the closedown time stands for the deactivation timer during which the SVC resource (as, e.g. routing information or the bandwidth frequency) is reserved anticipating more packets from the same flow (see [12]).

One of the crucial operating characteristics in each queueing model is queueing delay, i.e. the time the potentially entering customer needs to wait until the start its processing. In the paper, using the technique based on the idea of embedded Markov chain, the total probability law and linear algebra, we obtain a compact-form representation for the LT (=Laplace transform) of the queueing delay conditional CDF (=cumulative distribution function).

As it is easy to note, in the literature most results for stochastic features of different-kind queueing systems are obtained for the stationary case, when the system is stable. However, transient (time-dependent) analysis is often desired or even necessary, e.g. due to high volatility of the arrival process (as it can be observed in the TCP/IP traffic) or in the case of large traffic in distributed systems [21, 22] or server breakdowns, when the stochastic stabilization of the system is longer or more difficult.

In [3] the M/G/1-type vacation queueing system with server breakdowns, setup and closedown times, in which the length of the vacation period is controlled either by the number of arrivals during the vacation period, or by a timer is investigated. The study on a batch-arrival queue with multiple vacation policy and server setup and closedown times in the stationary case can be found in [1]. Results for models with group arrivals are also presented in [4, 10, 20]. In [11] a discrete-time model is analyzed, where the mixed-type mechanism of a multiple vacation policy combined with setup/closedown periods is implemented. The case of a multi-server queue is investigated in [2]. Transient results for infinite-buffer systems with server setup times can be found in [5, 6]. Analytical solution for time-dependent queue-size distribution in the queueing model with finite buffer capacity and machine setup and closedown times is derived in [7] (similar technique is also applied in [8]). Evolutionary algorithms are used in [13, 14] for the analysis of a finite-buffer queue with temporary unavailable server. In various data management systems (see [15]) we can find applications of queueing systems to enable faster requests management and therefore improved data mining (see e.g. [16, 17]).

The remaining part of the article is organized as follows. In the next Sect. 2 we give a precise mathematical description of the considered queueing model. In Sect. 3 we derive a system of integral equations for conditional CDF of transient queueing delay. In Sect. 4 we obtain the corresponding system for LTs and write it in a specific form. Section 5 contains main result: the closed-form representation for the LT of conditional CDF of queueing delay and the last Sect. 7 gives a short conclusion.

2 System Description

In the paper we deal with a single-server queueing model with a reliable service station and finite capacity of the buffer for jobs waiting for service. Assume that the arrival process of jobs (packets, customers, calls, etc.) is described by a Poisson process with intensity \( \lambda , \) while the processing time of each one is generally distributed random variable with a CDF \( F\left( \cdot \right). \) A number of jobs simultaneously present in the system is bounded by a non-random value \( N, \) i.e. we have a buffer with \( N - 1 \) places and one place in service station. Initially, at time \( t = 0, \) a buffer may contain a number of jobs waiting for service. Every time when the system becomes empty (a service of a job finishes and there are no waiting jobs in the buffer), the service station initializes a randomly distributed closedown time with a CDF \( C\left( \cdot \right). \) If at the completion epoch of a closedown time a buffer contains at least one job waiting for service, the processing begins immediately, otherwise the server waits in the standby mode for the first arrival. The first processing after the idle period is always preceded by a setup time, duration of which is a random variable with a CDF \( S\left( \cdot \right). \) Moreover, if a job enters the system during the closedown time, after its completion epoch the server immediately begins the setup time and next the processing. As it was mentioned in the previous section, the closedown time is needed for a server to switch off according to energy saving strategy. Similarly, the setup time is needed for a server to achieve full operational readiness after the idle period. Successive jobs are being processed according to the FIFO service discipline. Moreover, if the arriving job find the buffer being saturated, it is lost. We assume that the delay of the customer being lost equals 0.

3 Integral Equations for Conditional CDF of Queueing Delay

Let \( v\left( t \right) \) be the (virtual) queueing delay at time \( t, \) i.e. the waiting time of a job entering the system exactly at time \( t. \) Introduce the conditional CDF of \( v\left( t \right) \) in the following way:

$$ V_{n} \left( {t,x} \right)\mathop = \limits^{\text{def}} P\{ v\left( t \right) < x\, | \,X\left( 0 \right) = n\} , 0 \le n \le N, t > 0, x > 0, $$
(1)

where \( X\left( 0 \right) \) denotes the number of jobs present in the system at the opening.

Assume, firstly, that the system is empty at the start epoch \( t = 0 \). In such a case we treat this epoch as a time at which the last processing completes in a busy period, so, in consequence, a closedown time begins. In fact, one can distinguish eight different mutually excluding possibilities:

  1. 1.

    the first jobs arrives during the closedown time, and both the closedown and setup times finishes before time \( t \) (denote this random event by \( E_{1} \));

  2. 2.

    the first job enters during the closedown time but that period completes after \( t \) (\( E_{2} ) \);

  3. 3.

    the first job occurs during the closedown time and the time \( t \) is “inside” the following setup time (\( E_{3} ); \)

  4. 4.

    the first job arrives after the closedown time but before \( t \), and the setup time finishes before \( t \) (\( E_{4} ); \)

  5. 5.

    the first job enters after the closedown time but before \( t \), and the setup time ends after \( t \) (\( E_{5} ); \)

  6. 6.

    the first jobs arrives after \( t \), but the closedown time “closes” before \( t, \) so at the first arrival epoch the setup time begins (\( E_{6} ) \);

  7. 7.

    the first job arrives after \( t \) but still “inside” the closedown time \( (E_{7} ) \);

  8. 8.

    the first jobs joins the system after \( t \) and after the closedown time that “contains” the time \( t \) \( (E_{8} ) \).

Introducing the following notation:

$$ V_{0,i} \left( {t,x} \right)\mathop = \limits^{\text{def}} P\left\{ {\left( {v(t) < x} \right)} \right\}\mathop \cap \nolimits E_{i} \; |\; X\left( 0 \right) = 0\} , 1 \le i \le 8, $$
(2)

we can write the following representations:

$$ \begin{aligned} V_{0,1} \left( {t,x} \right) = & \mathop \smallint \limits_{u = 0}^{t} dC\left( u \right)\mathop \smallint \limits_{v = 0}^{t - u} dS\left( v \right)\mathop \smallint \limits_{y = 0}^{u} \left[ {\mathop \sum \limits_{k = 0}^{N - 2} \frac{{\left[ {\lambda \left( {u + v - y} \right)} \right]^{k} }}{k!}e^{{ - \lambda \left( {u + v - y} \right)}} V_{k + 1} \left( {t - u - v,x} \right)} \right. \\ & \left. { + V_{N} \left( {t - u - v,x} \right)\mathop \sum \limits_{k = N - 1}^{\infty } \frac{{\left[ {\lambda \left( {u + v - y} \right)} \right]^{k} }}{k!}e^{{ - \lambda \left( {u + v - y} \right)}} } \right] \lambda e^{ - \lambda y} dy; \\ \end{aligned} $$
(3)
$$ V_{0,2} \left( {t,x} \right) = \mathop \smallint \limits_{u = t}^{\infty } dC\left( u \right)\mathop \smallint \limits_{y = 0}^{t} \lambda e^{ - \lambda y} \mathop \sum \limits_{k = 0}^{N - 2} \frac{{\left[ {\lambda \left( {t - y} \right)} \right]^{k} }}{k!}e^{{ - \lambda \left( {t - y} \right)}} dy\mathop \smallint \limits_{v = 0}^{\infty } F^{{\left( {k + 1} \right) *}} \left( {x - v - u + t} \right)dS(v); $$
(4)
$$ V_{0,3} \left( {t,x} \right) = \mathop \smallint \limits_{u = 0}^{\text{t}} dC\left( u \right)\mathop \smallint \limits_{y = 0}^{u} \lambda e^{ - \lambda y} \mathop \sum \limits_{k = 0}^{N - 2} \frac{{\left[ {\lambda \left( {t - y} \right)} \right]^{k} }}{k!}e^{{ - \lambda \left( {t - y} \right)}} dy\mathop \smallint \limits_{v = t - u}^{\infty } F^{{\left( {k + 1} \right) *}} \left( {x - v - u + t} \right)dS(v); $$
(5)
$$ \begin{aligned} V_{0,4} \left( {t,x} \right) & = \mathop \smallint \limits_{u = 0}^{t} dC\left( u \right)\mathop \smallint \limits_{y = u}^{t} \lambda e^{ - \lambda y} dy\mathop \smallint \limits_{v = 0}^{t - y} \left[ {\mathop \sum \limits_{k = 0}^{N - 2} \frac{{\left( {\lambda v} \right)^{k} }}{k!}e^{ - \lambda v} V_{k + 1} \left( {t - y - v,x} \right)} \right. \\ & \left. { + V_{N} \left( {t - y - v,x} \right)\mathop \sum \limits_{k = N - 1}^{\infty } \frac{{\left( {\lambda v} \right)^{k} }}{k!}e^{ - \lambda v} } \right]dS\left( v \right); \\ & & & \\ \end{aligned} $$
(6)
$$ V_{0,5} \left( {t,x} \right) = \mathop \smallint \limits_{u = 0}^{t} dC\left( u \right)\mathop \smallint \limits_{y = u}^{t} \lambda e^{ - \lambda y} \mathop \sum \limits_{k = 0}^{N - 2} \frac{{\left[ {\lambda \left( {t - y} \right)} \right]^{k} }}{k!}e^{{ - \lambda \left( {t - y} \right)}} dy\mathop \smallint \limits_{v = t - y}^{\infty } F^{{\left( {k + 1} \right) *}} \left( {x - y - v + t} \right)dS\left( v \right); $$
(7)
$$ V_{0,6} \left( {t,x} \right) = C\left( t \right)\mathop \smallint \limits_{t}^{\infty } \lambda e^{ - \lambda y} S\left( {x - y + t} \right)dy; $$
(8)
$$ V_{0,7} \left( {t,x} \right) = \mathop \smallint \limits_{t}^{\infty } S\left( {x - u + t} \right)\left( {e^{ - \lambda t} - e^{ - \lambda u} } \right)dC(u); $$
(9)

and

$$ V_{0,8} \left( {t,x} \right) = \mathop \smallint \limits_{u = t}^{\infty } dC\left( u \right)\mathop \smallint \limits_{y = u}^{\infty } \lambda e^{ - \lambda y} S\left( {x - y + t} \right)dy. $$
(10)

In the formulae above \( F^{j*} \left( \cdot \right) \) stands for the j-fold Stieltjes convolution of the CDF \( F\left( \cdot \right) \) with itself.

Let us comment briefly some of the formulae (3)–(10). The first summands on the right sides of (3) and (6) refer to the situation in which there is at least one free place in the buffer at the completion epoch of the setup time, while the second one to the case in which the buffer becomes saturated during the setup time. In (4) and (7) the sum is taken only for k = N−2. Indeed, in the case t is “inside” the period during which the service is suspended (the closedown or the setup time) and the buffer becomes saturated before t, the “virtual” jobs occurring exactly at time t is lost.

Now, let us analyze the case where at \( t = 0 \) the buffer contains at least one job, i.e. the level of buffer saturation equals n, where \( 1 \le n \le N. \) Since successive service completion epochs are Markov moments in the evolution of the system, then, applying the continuous version of the total probability law with respect to the first service completion epoch after the start of the system, the following system of integral equations can be written:

$$ \begin{aligned} V_{n} \left( {t,x} \right) & = \mathop \sum \limits_{k = 0}^{N - n - 1} \mathop \smallint \limits_{0}^{t} V_{n + k - 1} \left( {t - y,x} \right)\frac{{\left( {\lambda y} \right)^{k} }}{k!}e^{ - \lambda y} dF\left( y \right) \\ & + \mathop \sum \limits_{k = N - n}^{\infty } \mathop \smallint \limits_{0}^{t} V_{N - 1} \left( {t - y,x} \right)\frac{{\left( {\lambda y} \right)^{k} }}{k!}e^{ - \lambda y} dF\left( y \right) \\ & + \mathop \sum \limits_{k = 0}^{N - n - 1} \frac{{\left( {\lambda t} \right)^{k} }}{k!}e^{ - \lambda t} \mathop \smallint \limits_{t}^{\infty } F^{{\left( {n + k - 1} \right) *}} \left( {x - y + t} \right)dF(y), \\ \end{aligned} $$
(11)

where \( 1 \le n \le N. \) Indeed, the first term on the right side of (11) relates to the situation in which the buffer is not full before the first processing completion epoch, while the second one describes the case in which the buffer becomes saturated before the first departure moment. The last summand refers to the situation in which the first service completes after time \( t \).

4 System of Equations for LTs of Delay Conditional CDFs

In this section we derive the system of equations for LTs of conditional CDFs of the queueing delay in the considered model and write it in a specific form. Thus, let us introduce the following notation:

$$ \begin{aligned} & \tilde{v}_{n} \left( {s,x} \right)\mathop = \limits^{\text{def}} \mathop \smallint \limits_{0}^{\infty } e^{ - st} V_{n} \left( {t,x} \right)dt = \mathop \smallint \limits_{0}^{\infty } e^{ - st} P\left\{ {v(t) < x | X(0) = n} \right\}dt, \text{ }\Re \left( s \right) > 0, \\ & x > 0,\; 0 \le n \le N. \\ \end{aligned} $$
(12)

Moreover, due to the fact that \( \tilde{v}_{0} \left( {s,x} \right) = \mathop \sum \limits_{i = 1}^{8} \mathop \smallint \limits_{0}^{\infty } e^{ - st} V_{0,i} (t,x)dt \), then just by virtue of the Eqs. (3)–(10), we obtain

$$ \tilde{v}_{0} \left( {s,x} \right) = \mathop \sum \limits_{k = 0}^{N - 2} \tilde{v}_{k + 1} \left( {s,x} \right)\alpha_{k} \left( s \right) + \tilde{v}_{N} \left( {s,x} \right)\mathop \sum \limits_{k = N - 1}^{\infty } \alpha_{k} \left( s \right) + \beta \left( {s,x} \right), $$
(13)

where

$$ \begin{aligned} \alpha_{k} \left( s \right) & \mathop = \limits^{\text{def}} \frac{{\lambda^{k + 1} }}{{\left( {k + 1} \right)!}}\mathop \smallint \limits_{u = 0}^{\infty } e^{{ - \left( {\lambda + s} \right)u}} dC(u)\mathop \smallint \limits_{v = 0}^{\infty } e^{{ - \left( {\lambda + s} \right)v}} \left[ {\left( {v + u} \right)^{k + 1} - v^{k + 1} } \right]dS\left( v \right) \\ & + \frac{\lambda }{\lambda + s}\tilde{c}(\lambda + s)\mathop \smallint \limits_{0}^{\infty } e^{{ - \left( {\lambda + s} \right)v}} \frac{{(\lambda v)^{k} }}{k!}dS\left( v \right); \\ \end{aligned} $$
(14)
$$ \tilde{c}\left( s \right)\mathop = \limits^{\text{def}} \mathop \smallint \limits_{0}^{\infty } e^{ - st} dC\left( t \right); $$
(15)
$$ \begin{aligned} \beta \left( {s,x} \right) & \mathop = \limits^{\text{def}} \mathop \smallint \limits_{t = 0}^{\infty } e^{{ - \left( {\lambda + s} \right)t}} \mathop \sum \limits_{k = 0}^{N - 2} \frac{{\lambda^{k + 1} }}{{\left( {k + 1} \right)!}}\left\{ {\left[ {t^{k + 1} - \left( {t - u} \right)^{k + 1} } \right]\mathop \smallint \limits_{u = 0}^{t} dC\left( u \right)\mathop \smallint \limits_{v = t - u}^{\infty } F^{{\left( {k + 1} \right) *}} \left( {x - v - u + t} \right)dS\left( v \right)} \right. \\ & \left. { + t^{k + 1} \mathop \smallint \limits_{u = t}^{\infty } dC\left( u \right)\mathop \smallint \limits_{v = 0}^{\infty } F^{{\left( {k + 1} \right) *}} \left( {x - v - u + t} \right)dS\left( v \right)} \right\}dt \\ & + \mathop \smallint \limits_{t = 0}^{\infty } e^{ - st} dt\mathop \smallint \limits_{u = 0}^{t} dC\left( u \right)\mathop \smallint \limits_{y = u}^{t} \lambda e^{ - \lambda y} \mathop \sum \limits_{k = 0}^{N - 2} \frac{{\left[ {\lambda \left( {t - y} \right)} \right]^{k} }}{k!}e^{{ - \lambda \left( {t - y} \right)}} dy\mathop \smallint \limits_{v = t - y}^{\infty } F^{{\left( {k + 1} \right) *}} \left( {x - y - v + t} \right)dS\left( v \right) \\ & + \mathop \smallint \limits_{t = 0}^{\infty } e^{ - st} C\left( t \right)dt\mathop \smallint \limits_{y = t}^{\infty } \lambda e^{ - \lambda y} S\left( {x - y + t} \right)dy \\ & + \mathop \smallint \limits_{t = 0}^{\infty } e^{ - st} dt\mathop \smallint \limits_{u = t}^{\infty } S\left( {x - u + t} \right)\left( {e^{ - \lambda t} - e^{ - \lambda u} } \right)dC\left( u \right) \\ & + \mathop \smallint \limits_{t = 0}^{\infty } e^{ - st} dt \mathop \smallint \limits_{y = t}^{\infty } \lambda e^{ - \lambda y} S\left( {x - y + t} \right)\left[ {C\left( y \right) - C\left( t \right)} \right]dy. \\ \end{aligned} $$
(16)

In the similar manner, by defining the following functional sequences:

$$ a_{k} \left( s \right)\mathop = \limits^{\text{def}} \mathop \smallint \limits_{0}^{\infty } e^{{ - \left( {\lambda + s} \right)t}} \frac{{\left( {\lambda t} \right)^{k} }}{k!}dF\left( t \right), $$
(17)
$$ \phi_{n} \left( {s,x} \right)\mathop = \limits^{\text{def}} \mathop \smallint \nolimits_{t = 0}^{\infty } e^{{ - \left( {\lambda + s} \right)t}} \mathop \sum \limits_{k = 0}^{N - n - 1} \frac{{\left( {\lambda t} \right)^{k} }}{k!}dt\mathop \smallint \limits_{y = t}^{\infty } F^{{\left( {n + k - 1} \right) *}} \left( {x - y + t} \right)dF\left( y \right), $$
(18)

we obtain from (11) the following system of equations:

$$ \tilde{v}_{n} \left( {s,x} \right) = \mathop \sum \limits_{k = 0}^{N - n - 1} a_{k} (s)\tilde{v}_{n + k - 1} \left( {s,x} \right) + \tilde{v}_{N - 1} \left( {s,x} \right)\mathop \sum \limits_{k = N - n}^{\infty } a_{k} \left( s \right) + \phi_{n} \left( {s,x} \right), $$
(19)

where \( 1 \le n \le N. \) Let us apply to (13) and (19) the following substitution:

$$ \tilde{\omega }_{n} \left( {s,x} \right)\mathop = \limits^{\text{def}} \tilde{v}_{N - n} \left( {s,x} \right) $$
(20)

Now, the representations (13) and (19) can be rewritten as follows:

$$ \tilde{\omega }_{N} \left( {s,x} \right) = \mathop \sum \limits_{k = 1}^{N - 1} \tilde{\omega }_{k} \left( {s,x} \right)\alpha_{N - k - 1} \left( s \right) + \tilde{\omega }_{0} \left( {s,x} \right)\mathop \sum \limits_{k = N - 1}^{\infty } \alpha_{k} \left( s \right) + \beta \left( {s,x} \right), $$
(21)

and

$$ \mathop \sum \limits_{k = - 1}^{n} a_{k + 1} \left( s \right)\tilde{\omega }_{n - k} \left( {s,x} \right) - \tilde{\omega }_{n} \left( {s,x} \right) = \Delta_{n} \left( {s,x} \right), 0 \le n \le N - 1, $$
(22)

where

$$ \Delta_{n} \left( {s,x} \right)\mathop = \limits^{\text{def}} a_{n + 1} \left( s \right)\tilde{\omega }_{0} \left( {s,x} \right) - \tilde{\omega }_{1} \left( {s,x} \right)\sum\nolimits_{k = n + 1}^{\infty } {a_{k} \left( s \right) - \phi_{N - n} \left( {s,x} \right).} $$
(23)

5 Transient Solution for LT of CDF of Queueing Delay

The system of equations of type (22) but with infinite number of equations, namely written for \( n \ge 0, \) was investigated in [9]. It was proved there that each its solution can be written in the form (we give here the representation for functional sequences, however, in [9], the equations with coefficients given by ordinary number sequences are considered):

$$ \tilde{\omega }_{n} \left( {s,x} \right) = R_{n + 1} \left( s \right)K\left( {s,x} \right) + \mathop \sum \limits_{k = 0}^{n} R_{n - k} \left( s \right)\Delta_{k} \left( {s,x} \right),\quad \quad n \ge 0, $$
(24)

where \( K\left( {s,x} \right) \) is independent on \( n, \) and successive terms of the functional sequence \( R_{k} \left( s \right), k \ge 0 \), can be found recursively from coefficients \( a_{k} \left( s \right), k \ge 0, \) of the system as follows:

$$ R_{0} \left( s \right) = 0, R_{1} \left( s \right) = a_{0}^{ - 1} \left( s \right), R_{k + 1} \left( s \right) = R_{1} \left( s \right)\left( {R_{k} \left( s \right) - \mathop \sum \limits_{i = 0}^{k} a_{i + 1} \left( s \right)R_{k - i} \left( s \right)} \right),\quad k \ge 1. $$
(25)

Obviously, if we find closed-form representations for \( \tilde{\omega }_{0} \left( {s,x} \right) \) and \( \tilde{\omega }_{1} \left( {s,x} \right), \) which are present in the formula (23) for \( {\Updelta }_{n} \left({s,x} \right), \) and the formula for \( K\left( {s,x} \right), \) it will be possible to state a representation for \( \tilde{\omega }_{n} \left( {s,m} \right) \) for arbitrary n, basing on (24).

Taking \( n = 0 \) in (24), we obtain

$$ K\left( {s,x} \right) = a_{0} \left( s \right)\tilde{\omega }_{0} \left( {s,x} \right). $$
(26)

Similarly, substituting \( n = 0 \) into (22) and referring to (23), we have

$$ \tilde{\omega }_{1} \left( {s,x} \right) = \frac{1}{{\mathop \sum \nolimits_{k = 0}^{\infty } a_{k} (s)}}\left[ {\tilde{\omega }_{0} \left( {s,x} \right) - \phi_{N} \left( {s,x} \right)} \right] = \frac{{\tilde{\omega }_{0} \left( {s,x} \right) - \phi_{N} \left( {s,x} \right)}}{f(s)}, $$
(27)

where

$$ f\left( s \right)\mathop = \limits^{\text{def}} \mathop \smallint \limits_{0}^{\infty } e^{ - st} dF\left( t \right), \Re \left( s \right) > 0. $$
(28)

In order to find the formula for \( \tilde{\omega }_{0} \left( {s,x} \right) \) we must compare the right sides of (21), being in fact a kind of a boundary condition, and (24) taken for \( n = N. \) Executing necessary calculations, we obtain

$$ \tilde{\omega }_{0} \left( {s,x} \right) = \tilde{v}_{N} \left( {s,x} \right) = \frac{{\beta \left( {s,m} \right) + \gamma \left( {s,x} \right)}}{{{\rm H}_{N} \left( s \right) - \mathop \sum \nolimits_{k = 1}^{N - 1} \alpha_{N - k - 1} \left( s \right)H_{k} ({\text{s}}) - \mathop \sum \nolimits_{k = N - 1}^{\infty } \alpha_{k} \left( s \right)}}, $$
(29)

where

$$ \begin{aligned} \gamma \left( {s,x} \right) & \mathop = \limits^{\text{def}} \mathop \sum \limits_{k = 0}^{N} R_{N - k} \left( s \right)\left[ {\left( {f\left( s \right)} \right)^{ - 1} \phi_{N} \left( {s,x} \right)\mathop \sum \limits_{i = k + 1}^{\infty } a_{i} \left( s \right) - \phi_{N - k} \left( {s,x} \right)} \right] \\ & + \mathop \sum \limits_{k = 1}^{N - 1} \alpha_{N - k - 1} \left( s \right)\mathop \sum \limits_{i = 0}^{k} R_{k - i} \left( s \right)\left[ {\left( {f\left( s \right)} \right)^{ - 1} \phi_{N} \left( {s,x} \right)\mathop \sum \limits_{j = i + 1}^{\infty } a_{j} \left( s \right) - \phi_{N - i} \left( {s,x} \right)} \right] \\ \end{aligned} $$
(30)

and

$$ H_{k} \left( s \right)\mathop \equiv \limits^{\text{def}} R_{k + 1} \left( s \right)a_{0} \left( s \right) + \mathop \sum \limits_{i = 0}^{k} R_{k - i} \left( s \right)\left[ {a_{i + 1} \left( s \right) - \left( {f\left( s \right)} \right)^{ - 1} \mathop \sum \limits_{j = i + 1}^{\infty } a_{j} \left( s \right)} \right]. $$
(31)

After collecting the formulae (23)–(31), we can state the following main theorem:

Theorem 1.

The representations for the LT \( \tilde{v}_{n} (s,x) \) of conditional CDF of the queueing delay in the M/G/1/N-type finite-buffer model with generally distributed setup and closedown times are following:

$$ \begin{aligned} \tilde{v}_{n} \left( {s,x} \right) & = R_{N - n + 1} \left( s \right)a_{0} \left( s \right)q_{N} \left( s \right) + \sum\nolimits_{k = 0}^{N - n} {R_{N - n - k} (s)} \\ & \left[ {a_{k + 1} \left( s \right)\tilde{v}_{N} \left( {s,x} \right) - \left( {f\left( s \right)} \right)^{ - 1} \left( {\tilde{v}_{N} \left( {s,x} \right) - \phi_{N} \left( {s,x} \right)} \right)\mathop \sum \limits_{i = k + 1}^{\infty } a_{i} \left( s \right) - \phi_{N - n} \left( {s,x} \right)} \right], \\ \end{aligned} $$
(32)

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

$$ \tilde{v}_{N} \left( {s,x} \right) = \frac{{\beta \left( {s,m} \right) + \gamma \left( {s,x} \right)}}{{{\rm H}_{N} \left( s \right) - \mathop \sum \nolimits_{k = 1}^{N - 1} \alpha_{N - k - 1} \left( s \right)H_{k} ({\text{s}}) - \mathop \sum \nolimits_{k = N - 1}^{\infty } \alpha_{k} \left( s \right)}}, $$
(33)

where the formulae for \( \beta \left( {s,x} \right), a_{k} \left( s \right), \phi_{k} \left( {s,x} \right), R_{k} \left( s \right),f(s) \) and \( \gamma \left( {s,x} \right) \) are given in ( 16 ), ( 17 ), ( 18 ), ( 25 ), ( 28 ) and ( 30 ), respectively.

6 Computational Examples

Let us consider the stream of packets of sizes 400 [B] arriving to the node of a network with buffer capacity 50 packets. The arrival stream is governed by a Poisson process with intensity 600 [kb/s], while the throughput of the output link is 800 [kb/s], so the traffic load equals 0.75. The mechanism of the node setup/closedown times is implemented. Three different situations of exponentially distributed setup and closedown times are investigated (see Table 1).

Table 1. Three different variants for the relationship between setup and closedown times

In Fig. 1 the behavior of the waiting time distribution in the stable system is shown for all considered cases. It is easy to note that for SET < CLO the probability of long waiting times for the arriving packets is relatively smallest one. In Fig. 2 the case of the arrival intensity 768 kb/s is considered (now the traffic load equals 0.96, so the system is close to the critical loading). Let us observe that in such a case the probability of waiting time less than e.g. 0.1 [s] is relatively large (equals approximately 0.4–0.5), while for the system less loaded equals even about 0.8.

Fig. 1.
figure 1

Waiting time distribution for the stable system with traffic load 0.75

Fig. 2.
figure 2

Waiting time distribution for the stable system with traffic load 0.96

7 Conclusion

In the paper a single-channel queueing model with finite buffer capacity and server setup-closedown times is considered. The arrival process is governed by a single Poisson stream while the processing times are generally distributed random variables. By using the analytical approach based on the concept of embedded Markov chain, total probability law and linear algebra a closed-form representation for the LT of conditional CDF of the queueing delay is obtained. The final formulae are written in terms of “input” system characteristics and certain functional sequence, defined recursively, connected with them. Numerical examples, illustrating theoretical results, are attached.