1. Introduction
Queuing systems that employ a mechanism for temporarily shutting down service stations are currently being intensively researched because of their use in modeling real-life processing systems. Particularly important here are models with finite buffers, which can naturally describe systems with losses or untypical delays of different nature due to buffer overflows. Such models are widely used in the analysis and optimization of the operation of network switches, in which incoming data packets are naturally buffered.
One of the key problems of wireless data transmission is the problem of reducing energy consumption. Many systems, therefore, use periodic deactivation of the service station if the buffer for storing incoming messages is empty. The restart of the service station is associated with the arrival of the first packet to be sent after the period of inactivity. Such a mechanism is used, for example, in GSM systems, in which the node is reactivated just before the transmission of the identification frame by a base station.
Most often, it takes a random amount of time, called setup time, for the service station to be fully operational and packet processing. During setup time, transmission is still suspended, so there is an accumulation of incoming packets in the buffer.
The analysis of the
-type system in steady state with threshold strategies of server waking up and setup times can be found in [
1]. A kind of a threshold mechanism in the stationary state of the system with setups is investigated in [
2] (see also [
3]). In [
4] a steady-state behavior of a single batch-arrival queue with random setup times and a vacation period was investigated. This concept was extended to many types of vacations in [
5]. The stationary queue-size distribution in the
-type queuing system with vacation time under single vacation policy is derived in [
6]. The article [
7] contains the steady-state analysis of the queue-size distribution in an infinite-buffer model with batch arrivals, multiple vacations, setup times,
N-policy and closedown times. In [
8], a recursive method based on the supplementary variable technique is used for development of the steady-state queue-size distribution in the
-type model with finite buffer capacity. A Markovian-type model with machine setups being initialized every time a message arrives into the empty system is studied in [
9]. The optimization problem of scheduling in a model of a manufacturing system with finite-sized magazine and the scheme of setup/closedown times is investigated in [
10]. One can find some new analytical results for queuing models with
N-policy and working breakdowns, and with feedback, balking and maintaining of reneged customers in [
11,
12], respectively. In [
13], a model with active queue management is considered.
Application of setup times in WSNs operation is derived in [
14,
15]. In particular, in [
15], the functioning of the IEEE 802.15.4 is modelled. In [
16], queuing systems are used to model the IMS session re-setup delay in WiMAX/LTE heterogeneous networks. Efficient link scheduling based on estimation of the queue size is proposed in [
17] for industrial wireless sensor networks. In [
18], a queueing model with Poisson arrivals, arbitrarily distributed services, server vacations and setups is proposed for modeling base station operation. In [
19], a model of data center with servers restarting the processing with using setups is investigated. In [
20], the issue of optimal scheduling strategy is investigated via a queuing model of central air-conditioners. Non-steady analysis of queuing systems with more complex discipline limiting the access to the service station can be found, e.g., in [
21,
22].
In the paper, we study non-steady operation of the model in which the service station leaves each idle period by a setup time being a generally distributed random variable. During setup time, packet service is suspended and the service station becomes fully operational.
Transient (time-dependent) analysis is often desired or even necessary, e.g., in the case of low traffic intensity (that is symptomatic for some WSNs), or in the case of the analysis of the system just after implementation of a new control mechanism. Additionally, in practice, the statistical behavior of the system may be destabilized by phenomena such as, e.g., fade-out or interference. New analytical formulae for queuing systems with Poisson input streams and generally distributed service times in the non-stationary case can be found, e.g., in [
23,
24]. The transient behavior of the
model with group job arrivals, threshold-type policy and setups is analyzed in [
25] (see also [
26,
27]). In [
28], the previous model is extended by “adding” a multiple vacation policy. In [
29], the closed-form representation for the queue-size distribution in the model with Poisson arrivals and setup and close-down times is obtained. In [
30,
31], an auto-correlated input flow is considered in a finite-buffer model.
In the article, as the main analytical result, a formula for the LT (=Laplace transform) of the non-stationary queue-size distribution is obtained. Theoretical apparatus is based on the technique of embedded Markov chains, renewal-theory approach and some auxiliary linear algebraic facts. Applicability of theoretical formulae is illustrated on numerical results.
The rest of the article is organized as follows. In
Section 2, we define the considered queuing model mathematically and attach some supplementary algebraic results. In
Section 3, we formulate a system of integral equations for non-steady queue-size distribution conditioned by the initial buffer state.
Section 4 contains the main analytical result, namely, the representation for the LT of the queue-size distribution.
Section 5 is devoted to numerical analysis, while in the last
Section 6 one can find a conclusion of the paper.
2. Queuing Model and Preliminaries
In the manuscript, we study a single-machine queuing model with finite waiting-room capacity in that messages (jobs, customers, etc.) enter in groups and are processed one by one, according to FIFO algorithm. Inter-arrival times are exponentially distributed random variables with mean , while service times have general distribution with a CDF (=cumulative distribution function) . Sizes of arriving groups of messages have general discrete-type distribution described by the sequence , where stands for the probability that an arriving group consists of k messages, The total system capacity equals i.e., we have places in the accumulating buffer (waiting room) and one place “in server”. In consequence, jobs occurring during the buffer overflow period, when the buffer is saturated and the service station is busy with processing (i.e., the number of jobs present equals K), are being lost.
In the considered system, we accept the PBAS (Partial Batch Acceptance Strategy) mechanism: according to the instantaneous number of free places in the buffer, some jobs of the arriving batch can be buffered and some can be lost. Moreover, we assume that, in general, the system may be non-empty before its start, i.e., the waiting room can contain at least one job before . When a job arrives into the empty system, the server leaves the idle time with a generally distributed setup time with a CDF During the setup time, the processing of messages is still stopped and the service station becomes fully operational. We assume independence of all inter-arrival, processing and setup times, and sizes of the arriving batches in the system operation.
Let us assume that
stands for the number of jobs (messages) present in the system at time
We define the conditional non-stationary queue-size distribution in the following way:
The main goal is to represent in a compact form the LT of
, so the following function:
In the next section, indicating renewal (Markovian) moments in the operation of the studied queuing system, we construct a system of integral equations for
. In order to solve a corresponding system written for LTs, we use the following supplementary result from [
32]:
Lemma 1. Let and be two given number sequences, where Every solution of the following system of linear equations with respect to where C is a constant and is the so-called potential defined by the sequence as follows: Additionally, successive terms of the sequence can be found recursively as follows: Let us close this section by introducing some necessary notation. In the article, we use the short form
and the nomenclature
for the indicator of the random event
Moreover, let
where Re(s) > 0.
Finally,
stands for the
ith term of the
j-fold convolution of the sequence
with itself defined as
3. Integral Equations for Conditional Queue-Size Distribution
In this section, we identify renewal (Markovian) moments in the operation of the system to write a system of integral equations for conditional non-steady queue-length distribution for and for given In the second step, we obtain from the original equations the system for LTs.
Firstly, let us look at the case in which the waiting room does not contain any job before the start moment. As a consequence, the setup period begins simultaneously with the entering of the first group of jobs. Note that the following three mutually exclusive cases (events) can be distinguished for given t:
- (1)
The first group of messages arrives before t and the setup time also completes before t (we denote this event by );
- (2)
The first group of messages enters before t but the setup time ends after t ();
- (3)
The first group of messages arrives after t ().
Let us introduce the following notation:
where
and
Thus, e.g.,
represents the probability that there are exactly
m jobs present in the system at time
t and the first setup time ends before this moment, on the condition that the buffer is primarily empty. The following equality is a consequence of the formula of total probability:
Let us note that for
we have the following representation:
Indeed, the first summand on the right side of (
13) describes the situation in which the size of the first arriving batch does not exceed the maximal system capacity
K and, moreover, during the setup time, the buffer does not become saturated. Thus, at the completion epoch of the setup time (at time
), the service station begins the processing with
jobs present, where
i denotes the size of the first batch and
r is the total number of jobs occurring during the setup time. The second summand in (
13) presents the case in which before the setup time completion epoch the buffer becomes saturated, so the service process begins with the maximal number
K of jobs present.
For
, we obtain, similarly, the following formula:
Let us comment on (
14) briefly. If the first setup time completes after
t and the queue size measured at
t equals
then, if the setup begins at time
with the arrival of
jobs in the first batch, during
, exactly
jobs must enter (the first summand on the right side of (
14)). If
, then the buffer must become saturated during time period
(the second summand in (
14)).
Obviously, we also have the following representation:
Let us consider now the case of the system being non-empty at the opening (i.e.,
). Since successive departure epochs are Markov (renewal) moments in the evolution of the
-type system (see, e.g., [
33]), then, applying the continuous version of the formula of total probability with respect to the first arrival epoch after
we obtain the following system of integral equations:
where
and the functional sequence
describes the number of jobs entering into the system in the time period
(some of them may be lost due to the buffer saturation), so we have
Let us clarify the meaning of successive components of the sum in (
16). The first component relates to the case in which the waiting room does not become saturated before the first output occurring at
The second component represents the situation in which all places in the waiting room are occupied before the moment
t. Finally, in the last component on the right side of (
16), the first job leaves the service station after time
t.
We define the following functionals:
and
Since (compare (
13))
then, from (
12)–(
15), (
18) and (
20)–(
22), we obtain
Similarly, referring to (
16) and (
19), we obtain
where
and
Let us apply to equations of the system (
24) and (
25) the following substitution:
Now, from (
25), we obtain the following system:
where
and the functionals
are defined as follows:
Quite similarly, inserting (
27) into (
24), we obtain:
4. Main Results for Transforms
In this section, we find the closed-form solution of the system (
28) and (
30), applying Lemma 1. Observe that (
28) has the same form as (
3), but with functional coefficients
and
Hence, it is possible to solve (
28) by utilizing result (
4). Moreover, since the number of equations in (
28) is finite compared to (
3), the formula for
can be found explicitly, applying the last Equation (
30).
Referring to (
4), we obtain for
the following formula:
where now (compare (
7))
where
Taking
in (
31), we obtain
Next, substituting
in (
31) and using (
29) and (
33), we obtain
and hence, we derive
where
Due to the fact that, having (
33) and (
35), the functionals
can be expressed from (
29) explicitly if only the representation for
is known, the main goal at this stage is to find the formula for
Utilizing the representations (
29) and (
31), we can rewrite (
30) in the following form:
where we denote
and
Similarly, let us substitute
into (
31) and use the formulae (
29), (
33) and (
35). As a consequence, we obtain
where
and
By equating the right sides of the Equations (
37) and (
40), we eliminate
as follows:
Now, the formulae (
27), (
29), (
31), (
33), (
35) and (
43) lead to the following main theorem:
Theorem 1. The representation for the LT of the conditional transient queue-size distribution in the -type model with batched arrivals and generally distributed setup times is the following: where the formulae for and are given in (
19), (
26), (
32), (
36), (
38), (
39), (
41)
and (
42),
respectively.
As a corollary from Theorem 1, let us note that from the formula (
44) the stationary queue-size distribution
where
can be found by using the Tauberian theorem.
Indeed, we have
where
n can be chosen arbitrarily from
as the stationary queue-size distribution does not depend on the initial number of jobs present in the system.
In practice, for larger values of the constant
K, instead of evaluating successive terms of the functional sequence
via recursive formulae (
32), we can apply the following approach. Observe that
where
In consequence, the representation (
47) can be utilized to find successive terms of the sequence
. Using Maclaurin’s expansion, we obtain
5. Numerical Examples
As an illustrating example, let us consider the stream of packets of average sizes 250 B arriving into the node of a wireless network. Assume that the incoming process is modeled via a compound Poisson process with intensity 360 Kbps and let .
Let us study two different batch size distributions:
,
,
which give arrival rate parameters and , respectively. In relation to batch distributions, in practice, can be used as a model of the situation in which packets of size 250 B make 80 percent of incoming traffic while packets of size 500 are “responsible” for 20 percent only. Similarly, in the case of , the incoming flow consists of packets of sizes 250 B and 500 B which appear with equal frequencies.
Furthermore, let packets be transmitted with speeds 480 Kbps and 360 Kbps, respectively, according to exponential service time distribution. That corresponds to parameters , of the service time distribution, respectively. Having given arrival and serving rates, we obtain the utilization factor of the considered system equal to or 1, respectively. Additionally, let us implement an energy saving mechanism: the first arrival after an idle period restarts the server and, simultaneously, initializes a setup time with exponential distribution with mean 2 ms or 20 ms.
The probabilities
for factors
,
, batch size distributions
and mean setup times equal 2 ms and 20 ms are presented in
Table 1 (for the stationary state,
) and in
Figure 1,
Figure 2,
Figure 3,
Figure 4,
Figure 5,
Figure 6,
Figure 7 and
Figure 8 (for the transient case), respectively.
As one can observe, in
Figure 1,
Figure 2,
Figure 3,
Figure 4,
Figure 5,
Figure 6,
Figure 7 and
Figure 8, essential dependence of the transient queue-size distribution on the utilization factor (occupation rate) is visible. In fact, the greater the value of
, the longer the process of “stabilization” of the characteristic about the stationary value. Moreover, the dependence on the type of probability distribution of the batch size is shown. Finally, the impact of the mean setup time duration on the convergence rate of the transient characteristic to the stationary one can be noticed: the longer the setup time duration, the lower the corresponding convergence rate.