Next Article in Journal
The Interplay between Digital Entrepreneurship and Sustainable Development in the Context of the EU Digital Economy: A Multivariate Analysis
Previous Article in Journal
On Asymptotic Behavior of a 2-Linear Functional Equation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Analysis of a MAP/M/1/N Queue with Periodic and Non-Periodic Piecewise Constant Input Rate

by
Vladimir Vishnevsky
*,†,
Konstantin Vytovtov
,
Elizaveta Barabanova
and
Olga Semenova
V.A. Trapeznikov Institute of Control Sciences, Russian Academy of Science, 65 Profsoyuznaya Street, 117997 Moscow, Russia
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2022, 10(10), 1684; https://doi.org/10.3390/math10101684
Submission received: 15 April 2022 / Revised: 5 May 2022 / Accepted: 12 May 2022 / Published: 14 May 2022
(This article belongs to the Section Network Science)

Abstract

:
This paper considers a queuing system with a finite buffer, a constant main M A P flow, and an additional periodic (non-periodic) Poisson piecewise-constant flow of customers. The eigenvalues of the probability translation matrix of a Kolmogorov system with constant input intensities is analyzed. The definition of the transition mode time based on the analysis of the probability translation matrix determinant is introduced for the first time. An analytical solution to the Kolmogorov equation system for a queuing system with piecewise constant arrival and service intensities is found, the solutions for a queuing system with periodic arrival and service intensities are analyzed, and numerical calculations illustrating this approach are presented.

1. Introduction

The mathematical tools of queuing theory are widely used to calculate the performance of telecommunication systems. In most cases, the operation of such systems has been studied in a stationary mode [1,2,3]. However, the stationary performance metrics of queuing systems can differ significantly from similar metrics in the transient mode [4].
At the same time, transient modes are often observed in telecommunication systems. These modes occur during the installation or reboot of networks. Transient processes can occur as a result of random traffic jumps caused by an abrupt change in the information transmission route. This situation is typical, for example, of self-organizing wireless networks and of wired networks with dynamic routing in the case of network node failure or network reboot [5]. Traffic jumps occur in software-defined networks as well, as a result of frequent changes in information transmission channels in network controllers [5,6]. An important practical problem is the consideration of periodic input flows. One reason for periodic traffic jumps is a network attack [7]. In cases of periodic impact from undesired traffic, periodic changes in input flow are observed.
The pioneering works analyzing queuing systems with periodic changes in the input flow were published in the 1970s [8,9]. Those papers used an approximate analytical method to study the queuing system M / M / s with the intensity of the input flow, which varies according to a sinusoidal law. In [10], the expressions of the stationary probabilities of the system M t / M / with sinusoidal arrival intensity are obtained. The works in [11,12] carry out a similar study for the systems M t / M / 1 and G t / G t / 1 , while [13,14] analyze the stability of non-homogeneous Markov processes with continuous time, describing the operation of the main classes of queuing systems with the sinusoidal Poisson input flow.
In recent years, researchers have published works describing queuing systems with jumping parameters for the information flow. For example, Ref. [15] considers a queuing system with one server, finite storage, and exponential service with the parameter μ . The queuing system input receives a doubly stochastic Poisson flow, the intensity of which, λ ( t ) , is a jump process. A matrix and functional-analytical method for studying the stationary and non-stationary characteristics of the queuing system is proposed, and a proof of the existence and uniqueness of the stationary mode and a stabilization of the non-stationary mode of the queuing system are provided. In addition, the authors discuss the results of their numerical analysis. The work in [16] studies the stationary and transient modes of the queuing system M S / G / , in which the process of incoming customers is a Cox process; the incoming intensity sharply increases at random times and then returns to lower values. Expressions are found for the number of customers in the queue in the stationary and transient modes. The work in [17] studies the probabilities of states and the average number of customers in the queue of the system G / G / c / c + K , with a stepwise change in the intensity of receiving customers in the transitional and stationary modes. In [18], the authors present an analytical method for the analysis of inhomogeneous continuous Markov processes with piecewise constant transition intensities, including the case with periodically changing transition intensities. These authors presented analytical expressions describing for the first time both the transient and stationary modes of a random process.
Despite the great attention recently paid to the transient mode of queuing systems, most works to date [15,16,17,18,19,20,21] have studied queuing systems with a Poisson input flow, with only a small portion [15,18,20] presenting an analytical analysis of such systems. There is only one work, by the authors of the present paper, studying the M A P / M / 1 / N system in transient mode [4].
This paper, therefore, considers the M A P / M / 1 / N system, in which the input flow is a superposition of a Poisson flow with constant intensity λ and a flow with jump intensity λ ¯ ( t ) . In Section 2, a system of Kolmogorov equations is constructed for the case under consideration. This paper studies the probability translation matrix of a queuing system with an input M A P flow and constant arrival and service intensities (Section 3). Here, the concept of transition mode time is introduced based on the study of the determinant of the translation matrix, in contrast to the transition mode time, which is based on the study of the eigenvalues of the matrix of coefficients of the Kolmogorov equations [4]. The concept introduced here is more general (averaged) than the transient time introduced in [4], as it takes into account the time dependence of all eigenvalues of the translation matrix. Such a study is of great importance for further descriptions of queuing systems with an abrupt change in the input flow. The theorem on solutions to the Kolmogorov system of equations is formulated in Section 4. Thus, the solution to the Kolmogorov system of equations is presented in an exact analytical form. Moreover, this solution does not involve a complex operation requiring the Jordan forms of the coefficient matrices of the Kolmogorov system of equations to be found; this section further describes the main properties of these solutions. A queuing system with a main Poisson flow and an additional flow with a periodically varying intensity is studied in Section 5. The eigenvalue theorem for a queuing system with a periodic input M A P flow is formulated and the nature of the dependence of state probabilities on time is described. Numerical calculations in accordance with the presented method are provided in Section 6. The presented numerical results confirm the correctness and practical applicability of the developed analytical method. Note that this paper, as in [4], considers the case of simple roots of the characteristic equation of the coefficient matrix of the Kolmogorov system of equations.

2. System of Kolmogorov Equations for Queuing Systems with an Additional Piecewise Constant Flow of Customers

Let us consider a queuing system M A P / M / 1 / N with a finite buffer and time-dependent intensities of the input customer flow.
The customer flow into the system is a Markov arrival flow. This flow is controlled by the irreducible non-periodic Markov chain ν t , t 0 with continuous time and the finite state space { 0 , 1 , , M 1 } .
The arrival of customers within the M A P flow is described as follows: the Markov chain ν t , t 0 is in a state ν during a time with an exponential distribution described by the parameter λ ν , ν = ( 0 , M 1 ) ¯ ; after this time, the process ν t , t 0 with probability p ( 1 ) ( ν , ν ) passes into a state ν generating a customer, and the process passes into the state ν with probability p ( 0 ) ( ν , ν ) without generating a customer. It is assumed that transition from a state ν to the same state without generating a customer is impossible, i.e., p ( 0 ) ( ν , ν ) = 0 .
The probabilities p ( k ) ( ν , ν ) , k = 0 , 1 ¯ satisfy the normalization condition
ν = 0 ν ν M 1 p ( 0 ) ( ν , ν ) + ν = 0 M 1 p ( 1 ) ( ν , ν ) = 1 , ν = 0 , M 1 ¯
Usually, the M A P flow is described by the M × M -matrices D 0 and D 1 :
D 0 = λ 0 λ 0 p 0 , 1 ( 0 ) . . . λ 0 p 0 , M 1 ( 0 ) λ 1 p 1 , 0 ( 0 ) λ 1 . . . λ 1 p 1 , M 1 ( 0 ) . . . . . . . . . . . . λ M 1 p M 1 , 0 ( 0 ) λ M 1 p M 1 , 1 ( 0 ) . . . λ M 1
D 1 = λ 0 p 0 , 0 ( 1 ) λ 0 p 0 , 1 ( 1 ) . . . λ 0 p 0 , M 1 ( 1 ) λ 1 p 1 , 0 ( 1 ) λ 1 p 1 , 1 ( 1 ) . . . λ 1 p 1 , M 1 ( 1 ) . . . . . . . . . . . . λ M 1 p M 1 , 0 ( 1 ) λ M 1 p M 1 , 1 ( 1 ) . . . λ M 1 p M 1 , M 1 ( 1 )
The average arrival rate (intensity) of customers within the M A P flow is determined by the equality
λ = θ D 1 e ,
where θ is the row-vector of the stationary distribution of the control process ν t , t 0 and e is a column-vector consisting of units only.
The vector θ can be found as the single solution to the system of linear algebraic equations
θ D 0 + D 1 = 0 , θ e = 1 .
In contrast to the simplest flow, the M A P flow is non-stationary and correlated; in the general case, adjacent time intervals between the instants of customer arrival are dependent. The M A P flow correlation coefficient is calculated using formula:
c c o r = ( λ 1 θ D 0 1 D 1 D 0 1 e λ 2 ) / v ,
where v is the dispersion of the lengths of the intervals between the moments of receiving customers:
v = 2 λ θ D 0 1 e 1 λ 2 .
More detailed information about the M A P flow and its properties as well as the proof of Formula (4) are presented in papers by Neuts, M. [22] and Lucantoni, D. et al. [23], as well as in monograph [1].
The service time of a customer within the system is exponentially distributed by the parameter μ . The system buffer is limited by N, and customers arriving in a system in which all waiting places are occupied will be lost. For this system, it can be assumed that it receives an additional flow independent of the M A P flow, that is, the simplest flow of customers with a piecewise-constant parameter λ ¯ ( t ) , which depends on time (Figure 1).
λ ¯ ( t ) = λ ¯ 1 , 0 < t < t 1 λ ¯ 2 , t 1 < t < t 2 . . . . . . λ ¯ G , t G 1 < t < t G λ ¯ G + 1 , t > t G
where t G > 0 , G is the number of jumps.
This additional flow may be anomalous traffic resulting from a network attack or it may be an additional information flow that can be interpreted depending on the application of this model. The customers of this flow do not have priority and are indistinguishable from customers from the main M A P flow in the service process.
It is known [1] that the Poisson input flow is a particular case of a M A P . In this case, the matrices describing the M A P have a dimension of 1 × 1 and are defined as
D ¯ 0 = λ ¯ ( t ) , D ¯ 1 = λ ¯ ( t ) , t 0
It is known [1] that the superposition (overlay) of two M A P s is itself a M A P , thus, the total flow of customers into the system is a time-dependent M A P with matrices
D ˜ 0 ( t ) = D 0 λ ¯ ( t ) I M , D ˜ 1 ( t ) = D 1 + λ ¯ ( t ) I M , t 0
where I M is the identity matrix of size M.
Following [1], the system of Kolmogorov equations for K = N · M states of the considered M A P / M / 1 / N system in matrix form can be written as
d d t P ( t ) = A ( t ) P ( t )
A ( t ) = D 0 T λ ¯ t I M μ I M . . . 0 D 1 T + λ ¯ t I M D 0 T λ ¯ t I M μ I M . . . 0 . . . . . . . . . . . . 0 0 . . . D 0 T + D 1 T μ I M
where A ( t ) is an infinitesimal generator of a Markov chain with continuous time describing the state of the system at time t, P t = P 0 t , P 1 t , , P N + 1 t T , T is the transposition operator, P k t , and k = 0 , N + 1 ¯ is the macrostate probability column-vector S k (the M states of S k ( 0 ) S k ( M 1 ) of the serving and buffer, determined by the dimension of the matrices (2) and (3) [1,4]).

3. Probability Translation Matrix of a Queueing System with Constant MAP Flows

The Kolmogorov Equation (11) for the state probabilities of a queuing system with M A P flows are the linear homogeneous system of differential equations with piecewise-constant coefficients, thus, the probability translation matrix L ( Δ t ) on each interval with constant coefficients can be constructed using the theory presented in [4]. This matrix relates state probabilities at time t 0 + Δ t to these probabilities at t 0 = 0 :
P ( t 0 + Δ t ) = L ( Δ t ) P ( t 0 ) .
Note that for a system with constant parameters, such a matrix has been found in an analytical form in [4]. In this case, the matrix A ( t ) = A in (12) is independent of the time due to the lack of the additional flow with the rate λ ¯ ( t ) . The problem in the present work is first of all to carry out the additional study of its main characteristics, such as its determinant and eigenvalues. This study is necessary for further description of the behavior of a queuing system with piecewise constant parameters. It will be shown that the eigenvalues and eigenvectors of the translation matrices of both systems with constant parameters and systems with piecewise-constant parameters completely describe the nature of the change in the probabilities of the system states in the transition mode, and the value of the determinant of the probability translation matrix determines the time of the transition mode. Note that the translation matrix of system state probabilities relates these probabilities at time t to the probabilities at time t 0 .
Lemma 1.
All modules of the eigenvalues γ i , i = 0 , K 1 ¯ of the probability translation matrix L Δ t defined by (13) for the interval Δ t of a queuing system with an input M A P flow, constant arrival intensities λ, λ ¯ , and service intensity μ are within the interval 0 , 1 and satisfy the condition
γ 0 = 1 , 0 < γ i < 1 , i = 1 , K 1 ¯ .
Proof. 
In accordance with definition [4], the probability translation matrix of a queuing system with M A P flows and constant arrival intensities λ , λ ¯ and service intensity μ is an exponential of the coefficient matrix A of the original system of Kolmogorov differential Equation (11):
L Δ t = exp Δ t A = T 1 exp Δ t J T
Here, J is the Jordan form of matrix A and T is the matrix composed of the eigenvectors of matrix A . As L Δ t and exp Δ t J are similar matrices, the eigenvalues of L Δ t are exponents of the eigenvalues of matrix A . In this case, one of the eigenvalues of matrix A is equal to zero, and the remaining eigenvalues of matrix A have a negative real part. Therefore, for the eigenvalues of the translation matrix L Δ t , we have γ 0 = 1 , 0 < γ i < 1 , i = 1 , K 1 ¯ . □
From a practical point of view, this means that in a queuing system with a constant incoming M A P flow, an exponential service time, and a buffer of limited capacity, there is always a stationary mode. Indeed, if U i is an eigenvector corresponding to the eigenvalue γ i then U 0 = γ 0 U 0 , as γ 0 = 1 , and | γ i | U i < U i , as 0 < | γ i | < 1 for all i = 1 , K 1 ¯ . Thus, the probabilities of the process states in the transient mode are damped and tend to certain limit values at t .
Lemma 2.
The probability translation matrix L Δ t of a queuing system on an interval Δ t with an input M A P flow and constant arrival and service intensities is stochastic.
Proof. 
In accordance with the definition of the probability translation matrix of a queuing system with M A P flows and constants λ and μ [4],
P i Δ t = j = 0 K 1 L i j Δ t P j 0 , i = 0 , N · M 1 ¯
where L i j Δ t are the elements of the probability translation matrix L Δ t on the interval Δ t and P i Δ t are the probabilities of the states. Then, if P 0 0 = 1 and P j 0 = 0 , i = 1 , K 1 ¯ ; then, P i Δ t = L i 0 Δ t for any values of Δ t . This implies that 0 L i 0 Δ t 1 for any values of Δ t , as 0 P i Δ t 1 .
Similarly, it can be shown that for all L i j Δ t , i , j = 0 , K 1 ¯ and the relation 0 L i j Δ t 1 holds for any Δ t . In this case, for any Δ t , the equality holds:
i = 0 K 1 P i Δ t = 1
Substituting (16) into (17), we can obtain
i = 0 K 1 j = 0 K 1 L ij Δ t P j 0 = 1
As equality (18) must hold for any P j 0 , the necessary and sufficient condition is
i = 0 K 1 L ij Δ t = 1 , j = 0 , K 1 ¯
Thus, the matrix L Δ t is stochastic. □
Let us study the problem of the transient mode time by analyzing the determinant of the probability translation matrix L Δ t for time Δ t . The determinant of the probability translation matrix of a queuing system with a time-dependent input M A P flow, described by (12) and (13) in accordance with the Ostrogradsky–Liouville theorem [24], is equal to
det L ( t ) = exp 0 t Sp A ( τ ) d τ = = exp 1 N i = 0 M 2 λ i i = 0 M 1 λ i ( 1 p i i ( 1 ) ) N · M · μ N 1 t 0 t i = 0 M 1 λ ¯ ( τ ) d τ t
where Sp A t is the trace of the coefficient matrix (13) of the Kolmogorov equation system of (12). Therefore, expression (20) is obtained by substituting the diagonal elements of the matrix in (13) for the expression of the Ostrogradsky–Liouville theorem. Now, denoting
α t = N 1 i = 0 M 2 λ i + i = 0 M 1 λ i 1 p i i ( 1 ) + N · M · μ + N 1 t 0 t i = 0 M 1 λ ¯ τ d τ
we can write
det L t = exp α t t
instead of (20). It can be seen from (2) that α t > 0 , t [ 0 , ) ; therefore, det L t always decreases as t increases.
Now let us consider a particular (yet very important) case of a system with constant input and service intensities. For a queuing system where λ ¯ = c o n s t and μ = c o n s t , it follows from (21) and (22) that
det L t = exp α t
where
α = N 1 i = 0 M 2 λ i + i = 0 M 1 λ i 1 p i i ( 1 ) + N · M · μ + N 1 M λ ¯
It follows from (23) and (24) that det ( L t ) = 1 for t=0 and det ( L t ) = 0 for t , otherwise 0 < det ( L t ) < 1 . This means that no single eigenvalue of the translation matrix of a system with constant parameters is equal to zero for any finite t, as this determinant is equal to the product of the eigenvalues of the probability translation matrix.
In [4], the transition mode time has been defined as the reciprocal of the smallest eigenvalue of matrix A ( t ) with a certain coefficient. Here, we determine this time based on the analysis of the determinant of the probability translation matrix (23). Indeed, this determinant is the product of the eigenvalues of its matrix [21]:
det L t = i = 1 K γ i = exp α t
Then, the value
β = α K = N 1 i = 0 M 2 λ i + i = 0 M 1 λ i 1 p i i ( 1 ) + N · M · μ + N 1 M λ ¯ 1 / K
is the average characteristic of a queuing system with constant intensities of arrival and service flows in the transient mode. Indeed, the determinant of the probability translation matrix is equal to the product of its eigenvalues, each of which, in combination with an eigenvector, describes an independent process of probability translation in the transient mode. Thus, the root of the product of these numbers characterizes the average decay rate of the transient process. Moreover, the damping is the geometric mean of the damping of all eigenvalues.
Definition 1.
The value β = α K , defined by expression (26), is called the decay rate of a transient process in a queuing system, and characterizes the decay rate of this process.
Definition 2.
The time constant of the transient mode is the time during which the value exp β t , characterizing the transient mode, will decrease by e times, i.e., exp β τ = exp ( 1 ) :
τ = 1 / β
Strictly speaking, the transient mode is infinite in time. Indeed, exp β τ 0 only as t . In practice, one can assume that the transitional mode has ended if exp β τ does not exceed a certain small value. Then, based on the analysis of the probability translation matrix, one can determine the time of the transition mode by analogy with [4].
Definition 3.
The transition time is the time from the beginning of the transition mode t 0 to the moment t 0 + τ t r , when the condition exp β t 0 + τ t r / exp β t 0 ε (where ε is an infinite small value) will be satisfied.
In accordance with Definition 3, the transition time is
τ t r = b / β
where b = ln 1 / ε . Further numerical calculations show that it is reasonable to choose b = 3 ÷ 5 .
From the authors’ point of view, this definition is more general than that in [4], as it averages the behavior of all eigenvectors U i , i = 0 , K 1 ¯ corresponding to the eigenvalues γ i , i = 0 , K 1 ¯ , the linear combination of which completely describes the behavior of the system.

4. Queuing System MAP/M/1/N with a Jump in the Arrival and Service Intensities

In this section, the analytical solution to the Kolmogorov system of equations is found for a piecewise constant change in the arrival intensity λ ¯ , and the behavior features of the considered queuing system based on this solution are described. The solution is based on finding the probability translation matrix. First, we formulate the theorem concerning the probability translation matrix of the Kolmogorov system of equations with piecewise constant coefficients.
Theorem 1
(On the solution to the Kolmogorov system of equations with piecewise constant coefficients). The probability translation matrix of a queuing system with correlated flows and piecewise constant parameters at time t is found as a product of interval translation matrices with constant parameters:
L ( t ) = L K t t K 1 i = G 1 1 L i Δ t i
where G is the number of intervals with constant parameters.
Proof. 
It has been shown in [4] that the probability translation matrix allows the probabilities of the system states with constant parameters at any time to be found as
P t = L 1 t P t 0 , t > = t 0
Then, at time t 1 (the moment of the first jump), the probabilities of the states are
P t 1 = L 1 Δ t 1 P t 0
where Δ t 1 = t 1 t 0 . Taking into account the fact that the state probabilities cannot change abruptly, for the second interval we can obtain
P t = L 2 t t 1 P t 1 = L 2 t t 1 L 1 Δ t 1 P t 0
At time t 2 (the moment of the second jump), the state probabilities are defined as
P t 2 = L 2 Δ t 2 L 1 Δ t 1 P t 0
where Δ t 2 = t 2 t 1 . For the third interval, we can obtain
P t 3 = L 3 t t 2 L 2 Δ t 2 L 1 Δ t 1 P t 0 P t 3 = L 3 Δ t 3 L 2 Δ t 2 L 1 Δ t 1 P t 0
Similarly, for the G-th interval, we can obtain
P t = L G t t G 1 L G 1 Δ t G 1 . . . L 2 Δ t 2 L 1 Δ t 1 P t 0 = = L G t t G 1 i = G 1 1 L i Δ t i P t 0
where Δ t i = t i t i 1 . Thus, for the G-th interval the translation matrix of the state probabilities of a system with correlated flows is determined by expression (27). □
Note that the following main properties in the behavior of a queuing system with correlated flows in the transient mode follow from Theorem 1.
Property 1.
Let t 1 and t 2 be the moments of time at which two jumps in the intensity of arrival or service occur sequentially, with 0 < t 1 < t 2 . Let τ t r 1 and τ t r 2 be the duration of the transition modes after the first and second jumps, respectively. If the arrival or service intensity jump occurs during the transition after the previous jump ( t 2 t 1 < τ t r 1 ) , then the total transition time is τ t r = t 1 + τ t r 2 . If the second jump occurs during the stationary mode ( t 2 t 1 > τ t r 1 ) , then both transient processes are independent of each other.
Property 2.
If the duration of the arrival or service intensity jump is less than the time constant in the transient mode, then the intensity jump does not affect the system behavior. If the duration of the jump is more than three time constants in the transition mode, then the jump in intensity leads to a jump in the probabilities of states.
Indeed, for a time equal to the time constant, the values of the state probabilities decrease by a factor of e [4]. During this time, the system does not have time to go into stationary mode. If the jump time is more than ( 3 ÷ 5 ) τ , then, in [4], it is shown that the system has time to switch to a stationary mode and it should be taken into account in the analysis. Indeed, in [4] it is theoretically and numerically shown that the transient mode lasts on the order of ( 3 ÷ 5 ) τ .
Property 3.
Let the system have a finite number of jumps at time t 1 , t 2 , , t G 1 . The stationary state of the queuing system after all jumps in arrival and service intensities is determined by its parameters, λ ( t ) , μ ( t ) , after the last jump ( t > t G 1 ) . However, the nature of the transition mode is determined by its previous states.
Indeed, based on (27), this can be written as
P t = L G t t G 1 P t G 1
where
P t G 1 = i = G 1 1 L i Δ t i P t 0
Thus, the probability of state P ( t N 1 ) is the initial condition for the last jump. However, the probabilities of the system states in the stationary mode are determined only by the parameters of this system, and the initial conditions in the solution to the Kolmogorov system of equations do not affect the probabilities in the stationary mode (at t ) [1].
Now, let us consider the queuing system M A P / M / 1 / N with an additional piecewise constant input flow based on the results obtained above.

5. Queuing System MAP/M/1/N with a Periodic Jump in the Arrival and Service Intensities

Let us consider a periodic abrupt change in the arrival intensity of the Poisson flow:
λ ¯ ( t ) = λ ¯ 1 , n T < t < t 1 + n T λ ¯ 2 , t 1 + n T < t < t 2 + n T . . . . . . λ ¯ G , t G 1 + n T < t < ( n + 1 ) T
Here, T is the period of change of parameters, n 0 N and N is the set of natural numbers.
Obviously, the translation matrix for the period completely describes the state of the system, as it allows us to obtain the values of the state probabilities at any moment of the period. The behavior of the periodic system, in accordance with the theory of differential equations with periodic Lyapunov coefficients [24], is described based on the analysis of the eigenvalues and eigenvectors of this matrix.
Theorem 2
(On the eigenvalues of the probability translation matrix of a periodic M A P system). The modules of eigenvalues γ i , i = 0 , K 1 ¯ of the probability translation matrix L ( T ) over period T of a queuing system with correlated periodic arrival and service intensities lie in interval 0 ; 1 , and one of these eigenvalues is always equal to one:
γ 0 = 1 ; 0 < | γ i | < 1 , i = 1 , K 1 ¯
Proof. 
It follows from (13) that the determinant of the coefficient matrix is equal to zero for any λ ( t ) and μ . This means that one of the eigenvalues of this matrix is zero even if λ ( t ) is a piecewise constant function of the form (38). Taking into account (14), it can be argued that one of the eigenvalues of the translation matrix is equal to one. Based on Lemma 2, translation matrices on intervals with constant parameters are stochastic. Therefore, the product (27) of these matrices is stochastic. However, the eigenvalues of the stochastic matrix always lie within the interval 0 ; 1 [25]. □
The further description of the behavior of a queuing system with periodic λ ( t ) is based on studying the eigenvalues of the probability translation matrix over the period. In accordance with Lyapunov’s stability theory, solutions to a differential equation with periodic coefficients [24] are stable (not increasing in time) if all characteristic numbers of the translation matrix (multipliers) are less than or equal to one in absolute value. If at least one eigenvalue of this matrix is greater than unity in absolute value, then the solution is unstable (increasing in time). In addition, if the eigenvalues are real then the transient process is exponential, while if they are complex, the transient process is undulating [24]. It should be noted here that the period translation matrix found by the authors is not a monodromy matrix [24], as its order is one higher than its rank.
Corollary 1
(On the nature of the probabilities of states of an MAP system with periodic intensities). The state probabilities of a queuing system with M A P flows and periodic λ ( t ) and μ ( t ) are periodic functions with a period equal to the period of change in the arrival and service intensities.
Proof. 
As on the basis of Theorem 2 we have γ 0 = 1 ; 0 < | γ i | < 1 , i = 1 , K 1 ¯ , then in accordance with Lyapunov’s theorem on the stability of periodic systems, the solutions to system (13) are Lyapunov stable. In this case, the system cannot be asymptotically stable in of Lyapunov sense, as one of the eigenvalues of the probability translation matrix is always equal to one. Thus, the corollary is proven. □
Obviously, for periodically changing state probabilities, one can find the average value of the probability of the i-th state as
P a v i = 1 T t 0 t 0 + T P i t d t , i = 0 , K 1 ¯
Such averaging makes sense if the period of change of probabilities is less than 3 τ ; otherwise, each of the transient modes should be considered as an independent one.

6. Numerical Example

In this section, the numerical study of a queuing system with a main constant M A P flow and an additional jumpy Poisson flow for the case N = 3 , M = 3 is carried out. Let M A P describe the three types of traffics with intensities λ 0 = 100 packets/s, λ 1 = 110 packets/s, and λ 2 = 120 packets/s. The Poisson flow characterises anomalous traffic with intensities λ ¯ 1 = 10 packets/s (before the jump) for the first interval and λ ¯ 2 = 200 packets/s (after the jump) for the second interval. The service intensity on both intervals is μ = 800 packets/s.
These parameters characterise real data flows in wireless broadband networks used in unmanned aerial vehicles [26]. The probability matrices p ( 0 ) and p ( 1 ) for both intervals are
P ( 0 ) = 0 p 01 ( 0 ) p 02 ( 0 ) p 10 ( 0 ) 0 p 12 ( 0 ) p 20 ( 0 ) p 21 ( 0 ) 0 = 0 0.15 0.12 0.03 0 0.3 0.1 0.04 0
P ( 1 ) = p 00 ( 1 ) p 01 ( 1 ) p 02 ( 1 ) p 10 ( 1 ) p 11 ( 1 ) p 12 ( 1 ) p 20 ( 1 ) p 21 ( 1 ) p 22 ( 1 ) = 0.11 0.17 0.45 0.15 0.02 0.5 0.13 0.12 0.61
The dependencies of state probabilities on time are shown in Figure 2. Here, the jump in arrival intensities occurs at time t j u m p = 0.05 s. For the first and second intervals, λ < μ , λ 1 ¯ < μ , and λ 2 ¯ < μ are chosen ( λ is the average arrival intensity of M A P ). At the time of the jump, the transition mode that occurs in the system as a result, for example, of its installation and reboot, has not yet ended and the total time of the transition mode, according to Property 1 is τ t r = t j u m p + t t r 2 = 0.005 + 0.01 = 0.015 s, where t t r 2 is the time transition mode in the second interval. It can be seen from the calculation results (Figure 2) that the sum of the probabilities of all states is equal to one for any t (thin blue line), which confirms the correctness of the calculations. The red curve corresponds to the probability of a free state of the buffer P ( 0 ) ( t ) = P 1 ( 0 ) ( t ) + P 2 ( 0 ) ( t ) + P 3 ( 0 ) ( t ) , the blue curve corresponds to the loss probability P 2 ( t ) = p 1 2 ( t ) + p 2 2 ( t ) + p 3 2 ( t ) , and the green curve corresponds to one order in the buffer p 1 ( t ) = p 1 1 ( t ) + p 2 1 ( t ) + p 3 1 ( t ) . After the end of all transient processes, the probabilities of the system states in the stationary mode take the following values: π ( 0 ) = 0.67 ; π ( 1 ) = 0.25 ; π ( 2 ) = 0.08 , which fully correspond to the results based on [1].
Figure 3 shows similar calculations for another value of the intensity of the additional flow: λ ¯ 1 = 10 packets/s before the jump and λ ¯ 2 = 700 packets/s after the jump. Thus, after the jump, λ ¯ 2 + λ μ . For a given ratio of the arrival and service intensities, the probabilities of states in the stationary mode are approximately equal to π ( 0 ) = π ( 1 ) = π ( 2 ) = 0.333 , which corresponds to the theoretical results based on the results in [1]. In this case, the transition mode time in the second interval decreased, amounting to τ t r 2 = 0.009 s and τ t r = t + t t r 2 = 0.005 + 0.009 = 0.014 s.
Figure 4 shows the calculations of state probabilities for λ ¯ 1 = 10 packets/s and λ 2 ¯ = 900 packets/s, i.e., for λ ¯ 2 + λ > μ . For this ratio, π ( 0 ) = 0.26 ; π ( 1 ) = 0.33 ; π ( 2 ) = 0.41 . The total time of the transition mode was τ t r = t + t t r 2 = 0.005 + 0.005 = 0.01 s. Thus, with an increase in the intensity of the additional flow in the second interval, the jumps in the probabilities of the system states increase and the time of the transition mode decreases.
Next, let us consider a periodic change in the arrival intensity of the Poisson flow. Each period includes two intervals with constant intensities of M A P and Poisson flows. The dependencies of the modules of the eigenvalues of the probability translation matrix on the duration of the second interval of the period are shown in Figure 5 and Figure 6. Here, the duration of the first interval is t 1 = 0.1 s. The calculation results show that eight of the nine eigenvalues are less than one in absolute value and tend to zero with the duration of the second interval t 2 , and one is equal to one for any values of t 1 and t 2 . This means that the process is periodic in the system. Those solutions to the Kolmogorov system of equations are Lyapunov stable.
Figure 7, Figure 8 and Figure 9 show the dependencies of the probabilities of states with a periodic abrupt change in the arrival intensity. In the first case (Figure 7), the arrival intensity at the first interval of period λ ¯ 1 = 10 packets/s, the intensity at the second interval of period λ ¯ 2 = 200 packets/s, the time from the beginning of the arrival of the M A P flow to the arrival of an additional Poisson flow t 0 = 0.1 s, the duration of the first interval of period t 1 = 0.015 s, and the duration of the second interval of period t 2 = 0.07 s. It can be seen from the results of the calculation that during time t 2 the system manages to switch to the stationary mode, with an abrupt decrease in intensity, and does not have time to switch to the stationary mode during time t 1 , with an increase in input intensity. In this case, the averaging of the state probabilities is impossible, and these probabilities must be considered separately for each interval. In the second case (Figure 8), the period of change in the arrival intensity is much less than the time of the transition mode ( t 1 = 0.015 s, t 2 = 0.015 s, and the values of the Poisson flows are λ ¯ 1 = 10 packets/s and λ ¯ 2 = 50 packets/s. In this case, it is possible to average the probabilities of the system states according to (40). Thus, the average value of the probability that the buffer is free is 0.84. In the third case (Figure 9), the times of the first and second intervals of the period are equal to t 1 = 0.015 s, t 2 = 0.015 s, respectively, and the arrival intensity λ ¯ 1 = 10 packets/s and λ ¯ 2 = 500 packets/s, respectively. In this case, the averaging of the probabilities of states is impossible despite the small period of change in the intensity of the input flow.
Numerical calculations show that in all three cases of periodic change in the intensity of the input Poisson flow, the change in the state probabilities has a periodic undamped character, which fully corresponds to the theoretical results of this paper.

7. Conclusions

This article studied the behavior of a queuing system with a constant M A P flow and a piecewise constant Poisson input flow. To do this, the study of the eigenvalues and the determinant of the translation matrix of the queuing system state probabilities with constant M A P flows was first carried out. A definition of the transition mode time based on the analysis of the determinant of the translation matrix was introduced and the cases of abrupt and periodic abrupt changes in the arrival and service intensities were considered. For these cases, analytical solutions to the corresponding systems of Kolmogorov equations were found and the features of the behavior of the considered queuing system described based on the obtained solutions. A theorem on the eigenvalues of the translation matrix with periodic input flows was formulated and a numerical analysis of the M A P / M / 1 / N system was carried out using the example of an M A P / M / 1 / 2 system with three states of the M A P flow in transient and stationary modes.

Author Contributions

Conceptualization, K.V. and E.B.; formal analysis, K.V.; funding acquisition, V.V.; Investigation, E.B. and O.S.; methodology, K.V.; project administration, V.V.; software, E.B.; supervision, V.V.; validation, E.B. and O.S.; writing—original draft, K.V. and E.B.; writing—review & editing, O.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Russian Science Foundation, grant number 22-49-02023.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dudin, A.N.; Klimenok, V.I.; Vishnevsky, V.M. The Theory of Queuing Systems with Correlated Flows; Springer: Berlin/Heidelberg, Germany, 2020; 410p. [Google Scholar]
  2. Panta, A.P.; Ghimire, R.P.; Panthi, D.; Pant, S.R. Auditing of Queueing Systems under Various Frame-Works. Am. J. Comput. Appl. Math. 2021, 11, 21–29. [Google Scholar]
  3. Kozyrev, D.; Ometov, A.; Moltchanov, D.; Rykov, V.; Efrosinin, D.; Milovanova, T.; Andreev, S.; Koucheryavy, Y. Mobility-Centric Analysis of Communication Offloading for Heterogeneous Internet of Things Devices. Wirel. Commun. Mob. Comput. 2018, 2018, 3761075. [Google Scholar] [CrossRef]
  4. Vishnevsky, V.; Vytovtov, K.; Barabanova, E.; Semenova, O. Transient behavior of the MAP/M/1/N queuing system. Mathematics 2021, 9, 2559. [Google Scholar] [CrossRef]
  5. Czachórski, T.; Gelenbe, E.; Kuaban, G.S.; Marek, D. Time-Dependent Performance of a Multi-Hop Software Defined Network. Appl. Sci. 2021, 11, 2469. [Google Scholar] [CrossRef]
  6. Czachórski, T.; Gelenbe, E.; Kuaban, G.S.; Marek, D. Transient Behaviour of a Network Router. In Proceedings of the 2020 43rd International Conference on Telecommunications and Signal Processing, Milan, Italy, 7–9 July 2020. [Google Scholar]
  7. Callegari, C.; Giordano, S.; Pagano, M. On the proper choice of datasets and traffic features for realtime anomaly detection. J. Phys. Conf. Ser. 2021, 2091, 012001. [Google Scholar] [CrossRef]
  8. Rothkopft, M.H.; Orent, S.S. A closure approximation for the nonstationary M/M/s queue. Manag. Sci. 1979, 25, 522–534. [Google Scholar] [CrossRef] [Green Version]
  9. Jagerman, D.L. Nonstationary Blocking in Telephone Traffic. Bell Syst. Tech. J. 1975, 54, 625–661. [Google Scholar] [CrossRef]
  10. Whitt, W. The steady-state distribution of the Mt/M/ queue with a sinusoidal arrival rate function. Oper. Res. Lett. 2014, 42, 311–318. [Google Scholar] [CrossRef]
  11. Pant, A.P.; Ghimire, R.P. M(t)/M/1 Queueing System with Sinusoidal Arrival Rate. J. Inst. Eng. 2015, 11, 120–127. [Google Scholar] [CrossRef] [Green Version]
  12. Whitt, W. Stabilizing performance in a single-server queue with time-varying arrival rate. Queueing Syst. 2015, 81, 341–378. [Google Scholar] [CrossRef]
  13. Zeifman, A.; Korolev, V.; Satin, Y. Review Two Approaches to the Construction of Perturbation Bounds for Continuous-Time Markov Chains. Mathematics 2020, 8, 253. [Google Scholar] [CrossRef] [Green Version]
  14. Zeifman, A.I.; Korotysheva, A. Perturbation bounds for Mt/Mt/N queue with catastrophes. Stochast. Models 2012, 28, 49–62. [Google Scholar] [CrossRef]
  15. Golovko, N.I.; Katrakhov, V.V.; Ryzhkov, D.E. Queueing system with finite memory and jump intensity of the arrival process. Autom. Remote Control. 2009, 70, 1176–1189. [Google Scholar] [CrossRef]
  16. Czachórski, T.; Kuaban, G.S.; Tomasz Nycz, T. Multichannel Diffusion Approximation Models for the Evaluation of Multichannel Communication Networks. Lect. Notes Comput. Sci. 2019, 11965, 43–57. [Google Scholar]
  17. Koops, D.T.; Boxma, O.J.; Mandjes, M.R.H. Networks of ·/G/·/G/ queues with shot-noise-driven arrival intensities. Queueing Syst. 2017, 86, 301–325. [Google Scholar] [CrossRef] [Green Version]
  18. Vytovtov, K.A.; Barabanova, E.A. An Analytical Method for the Analysis of Inhomogeneous Continuous Markov Processes with Piecewise Constant Transition Intensities. Autom. Remote. Control. 2021, 81, 2111–2123. [Google Scholar] [CrossRef]
  19. Kumar, R.; Sharma, S.; Rykov, V. Transient Behaviour of a Network Router. In Proceedings of the 26th International Conference, Sydney, NSW, Australia, 12–15 December 2019; pp. 330–346. [Google Scholar]
  20. Rubino, G. Transient analysis of Markovian queueing systems: A survey with focus on closed forms and uniformization. In Queueing Theory 2: Advanced Trends; Wiley-ISTE: Hoboken, NJ, USA, 2021; pp. 269–307. [Google Scholar]
  21. Kumar, R.; Soodan, B.S. Transient Analysis of a Single-Server Queuing System with Correlated Inputs and Reneging. Reliab. Theory Appl. 2019, 1, 102–106. [Google Scholar]
  22. Neuts, M. A Versatile Markovian Point Process. J. Appl. Probab. 1979, 16, 764–779. [Google Scholar] [CrossRef]
  23. Lucantoni, D.M.; Meier-Hellstern, K.S.; Neuts, M. A single-server queue with server vacations and a class of non-renewal arrival processes. Adv. Appl. Probab. 1990, 22, 676–705. [Google Scholar] [CrossRef]
  24. Gantmacher, F.R. The Theory of Matrices; Chelsea Publishing Company: New York, NY, USA, 1959; Volume 1, 374p. [Google Scholar]
  25. Labsker, L.G. Probabilistic Modeling in the Financial and Economic Field; INFRA-M: Moscow, Russia, 2021; 172p. (In Russian) [Google Scholar]
  26. Dinh, T.D.; Vishnevsky, V.; Larionov, A.; Vybornova, A.; Kirichek, R. Structures and Deployments of a Flying Network Using Tethered Multicopters for Emergencies. Lect. Notes Comput. Sci. 2020, 12563, 28–38. [Google Scholar]
Figure 1. An example of the dependence of the intensity of additional information flow on time.
Figure 1. An example of the dependence of the intensity of additional information flow on time.
Mathematics 10 01684 g001
Figure 2. Dependencies of state probabilities on time in the case of an abrupt change in the arrival intensity ( λ + λ 1 ¯ < μ and λ + λ 2 ¯ < μ ).
Figure 2. Dependencies of state probabilities on time in the case of an abrupt change in the arrival intensity ( λ + λ 1 ¯ < μ and λ + λ 2 ¯ < μ ).
Mathematics 10 01684 g002
Figure 3. Dependencies of state probabilities on time in the case of an abrupt change in the arrival intensity ( λ 1 + λ < μ , λ 2 + λ μ ).
Figure 3. Dependencies of state probabilities on time in the case of an abrupt change in the arrival intensity ( λ 1 + λ < μ , λ 2 + λ μ ).
Mathematics 10 01684 g003
Figure 4. Dependencies of state probabilities on time in the case of an abrupt change in the arrival intensity ( λ 1 + λ < μ , λ 2 + λ > μ ).
Figure 4. Dependencies of state probabilities on time in the case of an abrupt change in the arrival intensity ( λ 1 + λ < μ , λ 2 + λ > μ ).
Mathematics 10 01684 g004
Figure 5. Dependencies of modules of eigenvalues of the probability translation matrix ( t = 0.002 ÷ 0.01 ).
Figure 5. Dependencies of modules of eigenvalues of the probability translation matrix ( t = 0.002 ÷ 0.01 ).
Mathematics 10 01684 g005
Figure 6. Dependencies of modules of eigenvalues of the probability translation matrix ( t = 0 ÷ 0.1 ).
Figure 6. Dependencies of modules of eigenvalues of the probability translation matrix ( t = 0 ÷ 0.1 ).
Mathematics 10 01684 g006
Figure 7. Dependencies of the probabilities of states with a periodic abrupt change in the arrival intensity ( λ ¯ 1 = 10 packets/s, λ ¯ 2 = 200 packets/s, t 1 = 0.015 s, t 2 = 0.07 s).
Figure 7. Dependencies of the probabilities of states with a periodic abrupt change in the arrival intensity ( λ ¯ 1 = 10 packets/s, λ ¯ 2 = 200 packets/s, t 1 = 0.015 s, t 2 = 0.07 s).
Mathematics 10 01684 g007
Figure 8. Dependencies of the probabilities of states with a periodic abrupt change in the arrival intensity ( λ ¯ 1 = 10 packets/s and λ ¯ 2 = 50 packets/s, t 1 = 0.015 s, t 2 = 0.015 s).
Figure 8. Dependencies of the probabilities of states with a periodic abrupt change in the arrival intensity ( λ ¯ 1 = 10 packets/s and λ ¯ 2 = 50 packets/s, t 1 = 0.015 s, t 2 = 0.015 s).
Mathematics 10 01684 g008
Figure 9. Dependencies of the probabilities of states with a periodic abrupt change in the arrival intensity ( λ ¯ 1 = 10 packets/s, λ ¯ 2 = 500 packets/s, t 1 = 0.015 s, t 2 = 0.015 s).
Figure 9. Dependencies of the probabilities of states with a periodic abrupt change in the arrival intensity ( λ ¯ 1 = 10 packets/s, λ ¯ 2 = 500 packets/s, t 1 = 0.015 s, t 2 = 0.015 s).
Mathematics 10 01684 g009
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Vishnevsky, V.; Vytovtov, K.; Barabanova, E.; Semenova, O. Analysis of a MAP/M/1/N Queue with Periodic and Non-Periodic Piecewise Constant Input Rate. Mathematics 2022, 10, 1684. https://doi.org/10.3390/math10101684

AMA Style

Vishnevsky V, Vytovtov K, Barabanova E, Semenova O. Analysis of a MAP/M/1/N Queue with Periodic and Non-Periodic Piecewise Constant Input Rate. Mathematics. 2022; 10(10):1684. https://doi.org/10.3390/math10101684

Chicago/Turabian Style

Vishnevsky, Vladimir, Konstantin Vytovtov, Elizaveta Barabanova, and Olga Semenova. 2022. "Analysis of a MAP/M/1/N Queue with Periodic and Non-Periodic Piecewise Constant Input Rate" Mathematics 10, no. 10: 1684. https://doi.org/10.3390/math10101684

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop