Next Article in Journal
Marine Sensors: Recent Advances and Challenges
Previous Article in Journal
Timepix3: Temperature Influence on Radiation Energy Measurement with Si Sensor
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the Influence of AQM on Serialization of Packet Losses

by
Andrzej Chydzinski
* and
Blazej Adamczyk
Department of Computer Networks and Systems, Silesian University of Technology, Akademicka 16, 44-100 Gliwice, Poland
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(4), 2197; https://doi.org/10.3390/s23042197
Submission received: 9 January 2023 / Revised: 10 February 2023 / Accepted: 13 February 2023 / Published: 15 February 2023
(This article belongs to the Section Communications)

Abstract

:
We study the influence of the active queue management mechanism based on the queue size on the serialization of packet losses, i.e., the occurrences of losses in long, consecutive series. We use a traffic model able to mimic precisely the autocorrelation function of traffic, which is known to be far from zero in packet networks. The main contribution is a theorem on the burst ratio parameter, describing the serialization of losses, proven for an arbitrary function assigning drop probabilities to queue sizes. In numerical examples, we show the impact of the autocorrelation strength, drop probability function, and load of the link, on the serialization of losses.

1. Introduction

In TCP/IP networks, some packets are deleted in network nodes (routers). This is connected to the fundamental design principle of most such networks: no resource reservation is needed before sending any volume of data, but no guarantee about the delivery is given. Therefore, the rate of traffic aggregated from a few input links may occasionally exceed the capacity of an output link. If this happens, the buffer of the output link becomes full and newly arriving packets are deleted, at least during some period of time.
As widely discussed in the literature, such a simple loss mechanism has several drawbacks. Among other things, it increases transmission delays, causes unfair bandwidth allocation between flows, and synchronizes the TCP control mechanisms of the hosts [1]. All of these are caused by the bufferbloat effect [2,3], i.e., frequent overfilling of packet buffers in networking devices.
Therefore, the Internet Engineering Task Force (IETF) recommends the deployment of active queue management (AQM) in routers and switches [1]. Generally, AQM assumes that packets can be dropped much earlier, when the buffer is far from being overflowed. Moreover, an arriving packet is dropped randomly, with some probability evolving in time. The IETF does not recommend just one algorithm of this type: many solutions have been proposed and tested to date, for instance [4,5,6,7,8,9].
Active queue management is also proposed for wireless sensor networks (WSNs) [10,11,12,13,14]). It can be especially useful in some sensitive applications of WSNs, such as healthcare [13]. Obviously, avoiding link congestions and packet losses is very important in such applications.
An important family of AQM algorithms uses the concept that the probability of deleting a packet should depend on the queue size. Many different drop probability functions have been considered to date, e.g., linear, quadratic, cubic, composed of linear and cubic, composed of linear and logarithmic, or beta (see [15,16,17,18,19,20], respectively). Recently, such AQM algorithms were implemented in a high-speed networking device and tested in an operating network of the campus of a large university [21].
The first, obvious characteristic of the packet loss process is the loss ratio, L. It has been widely studied using mathematical, simulation, and experimental methods. Therefore, we did not deal with it here.
The second important characteristic is the burst ratio, B. It is defined in Section 3, but for now, it is important to say that B characterizes the inclination of packet losses to occur one after another, in series. When B = 1 , the losses have neither the inclination to occur separately, nor in series: short series occur occasionally due to the random grouping of losses. When B > 1 , the losses have the inclination to occur in series. The larger B is, the stronger this inclination is. Finally, when B < 1 , the losses have the inclination to occur separately.
The importance of the burst ratio is connected to the fact that elevated values of B may seriously worsen any real-time transmission of the data, in a network of any type. In general, packet losses do not constitute a critical obstacle in real-time transmissions. The well-known redundant coding enables tolerance to packet losses, by allowing the recreation of missing information from successfully delivered packets. Unfortunately, this becomes difficult or impossible when the losses tend to occur in long, consecutive series. A well-studied case is the real-time transmission of packetized voice, for which a formula was developed that reflects the deterioration of the quality of voice transmissions as a function of B (see page 8 of [22]). The reasoning, however, is the same for any type of real-time transmission, not necessarily voice or even multimedia. In a WSN, we may want to transmit other types of information from sensors, in real-time. The redundant coding can prevent the transmission due to the loss of information due to the packet losses, but the higher the value of B is, the less effective this becomes.
In the experimental study of [21], two things were demonstrated about the burst ratio. Firstly, when no AQM is used, the burst ratio is always greater than 1. Secondly, the application of AQM reduces its value substantially.
In this paper, we studied this effect, i.e., how and to what extent an AQM based on the queue size reduces the burst ratio, using a mathematical model of AQM. This has not yet been performed with a complex, autocorrelated model of traffic. It is well known that packet interarrival times in TCP/IP networks are positively autocorrelated [23,24]. It is also known that this autocorrelation has a profound influence on the queueing performance characteristics.
Therefore, the two main goals of this paper were:
(i)
To derive the burst ratio in a model of the system with AQM based on the queue size and the arrival process such that it enables arbitrary modeling of the autocorrelation function and arbitrary modeling of the distribution of the interarrival time;
(ii)
To present sample results for different system parameterizations, in which we can see the influence of the autocorrelation, as well as other system characteristics on the burst ratio.
The most-important contribution of the paper is Theorem 1, in which a formula for the burst ratio in an AQM queue fed by the Markov-modulated Poisson process (MMPP) is proven. The MMPP is known to fulfill the requirements stated in Goal (i): it indeed enables arbitrary modeling of the autocorrelation function, as well as the interarrival time distribution [25]. Theorem 1 is general in the sense that the drop probability function is not specified there; it may assume an arbitrary form.
Goal (ii) was realized by presenting and discussing the numerical results for a family of arrival processes, in which the strength of the autocorrelation can be controlled by a parameter, and for a family of drop probability functions, in which the strength of the AQM can be controlled by another parameter. Based on these results, several interesting observations on the values of B under different networking conditions were made.
The remaining sections of the paper are organized in the following way. In Section 2, we recall previous analytical work either on the burst ratio or on queuing models of AQM based on the queue size. In Section 3, we define the queueing model of interest and recall the definitions of the MMPP and the burst ratio. In Section 4, the main theorem on the burst ratio is presented and proven. Then, in Section 5, the numerical results are shown and discussed. They include the burst ratios computed for variable autocorrelations, drop probability functions, and link loads. In addition, the simulation results are presented for the verification of the theoretical results. In Section 6, the results of the paper are recapped.

2. Previous Work

To the best of the authors’ knowledge, the results presented here are new.
The burst ratio as a measure of the serialization of packet losses was proposed in [26]. Then, it was studied in [26,27,28,29,30], using various models of losses. None of these works, however, included an AQM mechanism.
On the other hand, queueing models of systems with AQM based on the queue size were studied in [31,32,33,34,35,36,37,38,39]. In these papers, however, only classic queueing characteristics were derived, including the queue size distribution and the loss ratio. In none of them was the burst ratio of packet losses studied.
Finally, in two articles, the burst ratio in a queue with the AQM mechanism was investigated [40,41]. However, in both of them, the arrival process was a simple renewal process with zero autocorrelation. In real networks, the autocorrelation is far from zero. Moreover, it is known that autocorrelation has a deep impact on the queueing performance characteristics, which could not be studied in models of [40,41].

3. Queueing Model and Notations

We dealt with the single-server queue enhanced by the AQM mechanism based on the queue size and fed by an autocorrelated traffic.
Namely, packets arrive according to the MMPP (defined below) at a buffer of size K packets, where they form a queue. This queue is served by an output link. The service time distribution of a packet is exponential with parameter μ .
The AQM mechanism utilizes a predefined drop probability function d ( n ) . Namely, when a packet arrives, there are n packets in the buffer, the new packet is put into the buffer or deleted with probabilities 1 d ( n ) and d ( n ) , respectively. Moreover, a new packet is always deleted if, upon its arrival, the buffer is full. This is equivalent to assuming that d ( n ) = 1 if n K , except that function d ( n ) may assume any form.
To define the Markov-modulated Poisson process [42], we need a continuous-time Markov chain J ( t ) with states { 1 , , m } and infinitesimal matrix Q. Moreover, we need vector [ λ 1 , , λ m ] . The temporary behavior of the MMPP is that of the Poisson process at rate λ J ( t ) . In other words, the evolution of the Markov chain determines the rate of Poisson arrivals. In practice, we often use rates [ λ 1 , , λ m ] in the form of a diagonal matrix:
Λ = diag [ λ 1 , , λ m ] .
The basic properties and characteristics of the MMPP are known and can be found in [42]. In this paper, the k lag autocorrelation of interarrival times in the MMPP is especially important, which can be found on page 153 of [42]. We also need the total rate of the MMPP, λ (see Formula (10) below). As was already said, the MMPP enables fitting the autocorrelation function and the interarrival time distribution to observed traffic very well [25].
The load of the link is defined as usual, ρ = λ μ . By X ( t ) , we denote the queue size at time t. It was assumed that the packet under service is included in X ( t ) , if applicable. Furthermore, K includes the service position as well. We used the convention that random process X ( t ) is left-hand side continuous, i.e., X ( t ) = X ( t ) for every t.
Finally, we may define the burst ratio characteristic, B, following [26]. Given a long sequence of packets, some of them accepted into the buffer and some of them lost upon arrival, we have:
B = G ¯ K ¯ ,
where G ¯ is the mean length of the series of lost packets in the studied sequence, while K ¯ is the theoretical mean length of the series of lost packets, expected in the case when all the losses are random and independent of each other.
If the loss ratio in the considered sequence is L, then a simple verification shows that K ¯ = 1 / ( 1 L ) . Therefore, we have another, more useful formula for the burst ratio:
B = G ¯ ( 1 L ) .
Consider the following sequence: + + + – – + + + + – – – + + + +, where “+” denotes a packet accepted into the buffer, while “–” denotes a lost packet. The mean length of the series of lost packets is G ¯ = ( 2 + 3 ) / 2 = 2.5 , while the loss ratio is L = ( 2 + 3 ) / 16 = 0.3125 . Hence, the theoretical mean length of the series, expected in the case when all the losses are random and independent of each other, is K ¯ = 1 / ( 1 0.3125 ) = 1.4545 . Finally, B = 2 / 1.45 = 1.38 . B > 1 means that the losses in the sequence have an inclination to occur in series. This inclination is not very strong in the analyzed sequence; perhaps we would have said that if it was B > 2 .

4. Analysis

Before we prove the main theorem of the burst ratio, it is necessary to find the stationary joint distribution of the queue size and the modulating state. Firstly, note that ( X ( t ) , J ( t ) ) is a continuous-time Markov chain. It is easily seen that its generator matrix, P, has the following form:
P = A D 0 0 0 0 μ I C 1 D 1 0 0 0 μ I C 2 D 3 0 0 0 μ I C 3 0 0 0 0 μ I C K ,
with
A = Q ( 1 d ( 0 ) ) Λ ,
C n = Q ( 1 d ( n ) ) Λ μ I ,
D n = ( 1 d ( n ) ) Λ ,
where I denotes the m × m identity matrix. The stationary probabilities, i.e.,
p n , i = lim t P { X ( t ) = n , J ( t ) = i } ,
can be obtained, as usual, by solving the system:
p P = [ 0 , , 0 ] , n = 0 K i = 1 m p n , i = 1 ,
where
p = [ p 1 , , p K ] , p n = [ p n , 1 , , p n , m ] .
Having computed the vectors p n , we can obtain the total arrival rate, λ , of the MMPP:
λ = n = 0 K p n Λ e ,
where e is a column vector of 1s. Obviously, λ can also be obtained in other ways as well. Herein, we used probabilities p n to compute λ , because they are needed for other purposes as well.
Now, we may prove the main result of the paper.
Theorem 1.
The burst ratio of packet losses in a queue with MMPP arrivals and drop probabilities d ( n ) is equal to:
B = ( 1 L ) n = 0 K h n E n n = 0 K h n e ,
where
E 0 = I d ( 0 ) ( Λ Q ) 1 Λ 1 e ,
E n = I d ( n ) M 0 1 k = 1 n 1 d ( n k ) M k E n k + d ( 0 ) ( Λ Q ) 1 Λ E 0 d ( 0 ) k = 0 n 1 M k E 0 + e , n > 0 ,
h 0 = d ( 0 ) λ k = 0 K 1 1 d ( k ) p k Λ ( Λ Q ) 1 Λ u = 0 k M u ,
h n = d ( n ) λ k = n 1 K 1 1 d ( k ) p k Λ M k + 1 n , n > 0 ,
M k = 1 k ! 0 e μ t ( μ t ) k ( Λ Q ) e ( Q Λ ) t ( Λ Q ) 1 Λ d t ,
L = 1 λ k = 0 K d ( k ) p k Λ e ,
while λ and p k are given in (10) and (8), respectively.
Proof of Theorem 1. 
Denote by T 1 , T 2 , the successive arrival times and by X 1 , X 2 , the queue sizes at these arrival times, respectively. Define:
F i , j ( t ) = P { T k + 1 T k < t , J ( T k + 1 ) = j | J ( T k ) = i } ,
In [42], it was shown that
F ( t ) = ( I e ( Q Λ ) t ) ( Λ Q ) 1 Λ ,
where
F ( t ) = [ F i , j ( t ) ] i , j = 1 , , m .
From (19), we have
f ( t ) = ( Λ Q ) e ( Q Λ ) t ( Λ Q ) 1 Λ ,
where
f ( t ) = [ f i , j ( t ) ] i , j = 1 , , m , f i , j ( t ) = d F i , j ( t ) d t .
We first derived the mean number of losses from an arbitrary arrival time. Let us focus on some arrival time T l , at which the queue size is n and the modulating state is i. Assume that the packet arriving at that time is lost, and let E n , i denote the mean number of losses from time T l , including the one at T l . If, at time T l , the queue is not empty, then we can write the equation:
E n , i = k = 0 n 1 j = 1 m 0 e μ t ( μ t ) k k ! d ( n k ) E n k , j f i , j ( t ) d t + k = n j = 1 m 0 e μ t ( μ t ) k k ! d ( 0 ) E 0 , j f i , j ( t ) d t + 1 , n = 1 , , K .
Namely, (23) is built conditioning on the state of the modulating chain upon the next arrival, j, and the duration of the interarrival time, f i , j ( t ) d t . The first summand corresponds to the case where there are no more than n 1 service completions by time T l + 1 and the queue is not empty at T l + 1 . The second summand corresponds to the case where there are n service completions by time T l + 1 and the queue becomes empty at T l + 1 . The third summand corresponds to the loss at the time T l .
Denote
E n = [ E n , 1 , , E n , m ] T .
From (23) and (21), we obtain:
E n = k = 0 n 1 d ( n k ) M k E n k + d ( 0 ) k = n M k E 0 + e , n = 1 , , K ,
where M k is defined in (16).
Assume now that the queue is empty at time T l . In such a case, we see that it must hold that
E 0 , i = j = 1 m d ( 0 ) a i , j E 0 , j + 1 ,
where a i , j is the probability that the modulating chain changes its state from i to j during an interarrival time. From (18), we have:
a i , j = F i , j ( ) .
Hence, from (19), it follows that a i , j is an ( i , j ) entry of the matrix ( Λ Q ) 1 Λ . Using that, from (26), we obtain
E 0 = d ( 0 ) ( Λ Q ) 1 Λ E 0 + e ,
which finally leads to (12).
To simplify (25), we have
k = n M k = 0 1 k = 0 n 1 e μ t ( μ t ) k k ! f ( t ) d t = 0 f ( t ) d t k = 0 n 1 M k = ( Λ Q ) 1 Λ k = 0 n 1 M k .
Hence, (25) and (29) yield:
E n = k = 0 n 1 d ( n k ) M k E n k + d ( 0 ) ( Λ Q ) 1 Λ E 0 d ( 0 ) k = 0 n 1 M k E 0 + e , n = 1 , , K .
Finally, from (30), we obtain (13).
Define by π n , i the stationary probability of the queue size n and the modulating state i at an arrival epoch in the stationary regime, i.e.,
π n , i = lim l P { X l = n , J ( T l ) = i } ,
and denote
π n = [ π n , 1 , , π n , m ] .
(Note that π n , i differs from p n , i defined in (7)). We derive now the probability that a packet arriving at an arbitrary arrival time T l in the stationary regime is the one initiating a new series of losses. To achieve this, examine two consecutive arrival epochs: T l 1 , T l . First, the probability of having arbitrary X ( T l 1 ) = k and J ( T l 1 ) = i is π k , i . Second, the packet arriving at T l 1 must be accepted, which happens with probability 1 d ( k ) . Third, the transition from X ( T l 1 ) = k , J ( T l 1 ) = i at time T l 1 to X ( T l ) = n , J ( T l ) = j at time T l happens with probability
0 e μ t ( μ t ) k + 1 n ( k + 1 n ) ! f i , j ( t ) d t ,
if 0 < n k + 1 K and with probability
u = k + 1 0 e μ t ( μ t ) u u ! f i , j ( t ) d t ,
if n = 0 and k + 1 K . Fourth, the packet arriving at T l must be rejected, to initiate a new series of losses. This happens with probability d ( n ) . Defining h n , j to be the probability that a series of losses begins at an arrival time in the stationary regime when the queue size is n and the modulating state is j, we have, therefore,
h 0 , j = i = 1 m k = 0 K 1 π k , i 1 d ( k ) d ( 0 ) u = k + 1 0 e μ t ( μ t ) u u ! f i , j ( t ) d t ,
h n , j = i = 1 m k = n 1 K 1 π k , i 1 d ( k ) d ( n ) 0 e μ t ( μ t ) k + 1 n ( k + 1 n ) ! f i , j ( t ) d t , n = 1 , , K .
Denote
h n = [ h n , 1 , , h n , m ] .
(35) and (36) yield
h 0 = d ( 0 ) k = 0 K 1 1 d ( k ) π k ( Λ Q ) 1 Λ u = 0 k M u ,
h n = d ( n ) k = n 1 K 1 1 d ( k ) π k M k + 1 n ,
respectively.
To compute π n , i , consider a long time interval of length t ¯ . In this interval, there are λ t ¯ arrivals in total, while λ i p n , i t ¯ arrivals when the queue size is n, and the modulating state is i. Therefore, the probability that, upon arrival, the queue size is n and the modulating state is i must be λ i p n , i t ¯ / ( λ t ¯ ) = λ i p n , i / λ . Hence, we have
π n = 1 λ p n Λ ,
where λ and p k are given in (10) and (8), respectively.
Combining (40) with (38) and (39), we obtain (14) and (15), respectively.
The last missing component needed to compute B by means of (2) is the loss ratio, L. Considering an arbitrary arrival epoch in the stationary regime, we see that it must be
L = n = 0 K d ( n ) π n e .
From (41) and (40), we obtain (17).
Finally, note that the probability that, at an arbitrary arrival time, a series of losses is initiated is equal to n = 0 K h n e . On the other hand, the mean length of the series of losses, under the condition that it begins when the queue size is n, is equal to h n E n . Therefore, the mean length of a series that starts at an arbitrary time, no matter what the queue size is, must be equal to n = 0 K h n E n / n = 0 K h n e . This, combined with Formula (2), yields (11), and the proof is completed.    □

5. Numerical Examples

In these examples, rather than using one particular arrival process, we used a family of processes, dependent on a parameter q > 0 . Namely, a member of family M M P P q is parameterized as follows:
Q = 1 q · 0.03746 0.02241 0.01505 0.01565 0.03319 0.01754 0.02430 0.01003 0.03433 ,
Λ = diag [ 0.03594 , 0.21831 , 2.84660 ] .
These matrices were selected so that, no matter what the value of q is, the total arrival rate is λ = 1 . Parameter q is meant to set the autocorrelation of the interarrival times. Namely, the larger q is, the stronger and longer-range autocorrelation is. Roughly speaking, the autocorrelation is practically negligible for q = 0.01 , mild for q = 0.1 , moderate for q = 1 , and very strong for q = 10 . The autocorrelation function for a few selected values of q is depicted in Figure 1. Manipulating q, we were able to study the dependence of the burst ratio on the autocorrelation of the arrival process, without altering the link load.
We also used a parameter-dependent family, d r , of drop probability functions:
d r ( n ) = 0 , if n < 32 , n 32 32 r , if 32 n < 64 , 1 , if n 64 ,
In (44), r is some positive parameter, while the buffer size is K = 64 packets. Up to 50 percent occupancy of the buffer, there is no dropping: it begins when the occupancy exceeds 50 percent. Using r, we can control the strength of the drop probability function, i.e., the smaller r is, the stronger the dropping is. For instance, for r = 0.5 , the function is the square root, for r = 1 linear, for r = 2 quadratic, for r = 3 cubic, etc. Manipulating r, we were able to study the dependence of the burst ratio on the strength of the drop probability function.
The same buffer size, 64, was used in the examples when AQM was not applied at all. In such a case, packets were dropped due to buffer overflows.
Finally, the service rate was used to control the load. As we normalized the arrival rate, λ = 1 , the load is simply a reciprocal of the service rate, ρ = 1 / μ .

5.1. Dependence on Autocorrelation

We firstly checked the influence of the strength of the autocorrelation on the burst ratio. In Figure 2 and Figure 3, the burst ratio versus q is depicted for a few drop probability functions and the lack thereof. Figure 2 was obtained for an underloaded link, ρ = 0.8 , while Figure 3 for an overloaded link, ρ = 1.2 .
We can notice a few interesting things in Figure 2 and Figure 3. First of all, the burst ratio in the case with no AQM is always significantly higher than in cases with AQM and reaches sometimes very high values, around 3. An application of function d r reduces B substantially. Among the considered functions d r , the best results were obtained for d 1 and d 0.5 and worse for d 5 and d 0.1 . This means that we need to balance the drop probabilities: too high or too low are not optimal. This effect is studied further in Section 5.2.
Perhaps the most-interesting observation in Figure 2 and Figure 3 is that the burst ratio does not grow monotonically with the strength of the autocorrelation. In every case, there is clearly a maximum for a moderate autocorrelation, i.e., for q around 0.2–0.5. This is rather bad news from the networking perspective, where we can expect the strength of the autocorrelation to be just like this, i.e., neither very weak nor extremely strong.
Note that such a non-monotonic behavior of the burst ratio is different than the behavior of other queueing characteristics (e.g., the loss ratio, the queue size), which are known to grow with the strength of the autocorrelation.

5.2. Dependence on Drop Probabilities

Now, we can check the influence of the drop probabilities on the burst ratio.
In Figure 4, the burst ratio versus parameter r of function d r ( n ) is depicted for a few arrival processes, i.e., M M P P 0.01 , M M P P 0.1 , M M P P 1 , and M M P P 10 . A load of 1 was assumed in every case. (When examining Figure 4, we should be reminded that the strength of the drop probability function decreases with r, i.e., a larger r means a weaker d r .)
As we can see in Figure 4, for every arrival process, there is an optimal value of r, for which the burst ratio reaches its minimum. This optimal value, however, can be quite different for arrival processes of different autocorrelations. The optimal r is about 2 for M M P P 0.01 , about 1.3 for M M P P 0.1 , about 0.7 for M M P P 1 , and about 0.4 for M M P P 10 . Hence, when the autocorrelation becomes stronger, a stronger drop probability function is required to achieve the best-possible burst ratio.
From this observation, it clearly follows that it is not possible to have one, universal function d r that provides the best burst ratio in all networking conditions. One value of r may provide an optimal B for a particular traffic autocorrelation, but when this autocorrelation changes, the resulting B may be far from optimal.

5.3. Dependence on the Link Load

Now, we can check the influence of the load of the link on the burst ratio.
In Figure 5 and Figure 6, the burst ratio versus ρ is depicted for the square root and quadratic drop probability functions, respectively. In both figures, the results for different arrival processes, M M P P 0.01 , M M P P 0.1 , M M P P 1 , and M M P P 10 , are depicted.
As can be seen, the burst ratio as a function of ρ is non-monotonic in most cases. Moreover, the autocorrelation has a profound effect on the dependence. The burst ratio reaches a maximum for a ρ of about 1, when the autocorrelation is low ( M M P P 0.01 and M M P P 0.1 ), and for a ρ of about 1.5, when the autocorrelation is moderate ( M M P P 1 ). Most likely, there is also a maximum for M M P P 10 , but for a very high ρ . There is also a minimum in Figure 5 for M M P P 10 .
When comparing Figure 5 and Figure 6 with each other, we see that the quadratic drop function performed slightly better when the autocorrelation was low. On the other hand, when the autocorrelation became moderate, the square root function prevailed slightly. In general, the respective curves are similar between Figure 5 and Figure 6, and the maxima are located in similar places. This means that the impact of the drop probability function was less than the impact of the autocorrelation, which makes the curves within each figure significantly different.

5.4. Simulations

We also performed simulations to check the theoretical results for possible errors. For this purpose, we implemented, faithfully, in a simulator, the system defined in Section 3.
The traffic was simulated according to the MMPP matrices Q and Λ given in (42) and (43), respectively. To all the packets arriving to the queue, the dropping scheme with the function d r ( n ) given in (44) was applied. Each simulation lasted as long as some predefined number of packets passing through the simulated system. During this time, the burst ratio parameter was measured.
The simulation of the MMPP can be performed using quantities b i and q i , j , k defined as follows:
b i = ( Q Λ ) i i , i = 1 , , m ,
q i , i , 0 = 0 , i = 1 , , m ,
q i , j , 0 = 1 b i ( Q Λ ) i j , i , j = 1 , , m , i j ,
q i , j , 1 = 1 b i ( Λ ) i j , i , j = 1 , , m ,
where ( A ) i j denotes the ( i , j ) -thentry of matrix A.
Having b i and q i , j , k , we can describe the progression of an MMPP in the following way. Given that the modulating Markov chain is in state i, it remains in this state for a random time, exponentially distributed with parameter b i . At the end of this time, the state of the Markov chain changes to j, which happens with probability q i , j , 0 , or a new packet arrives, which happens with probability q i , i , 1 . The simultaneous change of the modulating state and a packet arrival is impossible, due to the fact that q i , j , 1 = 0 if i j . Then, the procedure repeats, with the same or a new (if changed) modulating state.
In Algorithm 1, a practical realization of this procedure is presented in pseudocode. It produces the next packet interarrival time and updates the state of the modulating Markov chain. In this code, i is an external variable keeping the state of the modulating chain, m is the number of states of this chain, u n i f o r m ( 0 , 1 ) is a pseudorandom number from interval ( 0 , 1 ) , arrays q [ ] [ ] [ ] and b [ ] store numbers q i , j , k and b i defined above, while the logarithm is used to generate an exponentially distributed random variable.
Algorithm 1 MMPP interarrival time generation and state update.
t 0 ;
do
      s 0 ;
      r u n i f o r m ( 0 , 1 ) ;
     for  k = 0 , 1  do
         for  j = 1 , , m  do
             s s + q [ i ] [ j ] [ k ] ;
            if  s > r  then
                 break ;
         if  s > r  then
             break ;
      t t l o g ( 1 u n i f o r m ( 0 , 1 ) ) / b [ i ] ;
      i j ;                /*updates the modulating state*/
while k = 0 ;
return t;                 /*returns the next interarrival time*/
The simulations were implemented and performed in the modular simulator OMNeT++ [43]. Several different configurations of the system were tested in the simulator, with different combinations of the autocorrelation, drop probabilities (and the lack thereof), and link loads. In every run of the simulator, 100 million packets passing through the queue were simulated.
Sample results are gathered in Table 1. As we can see, in every case, the burst ratio obtained in the simulation conformed very well with the burst ratio obtained via Theorem 1.

6. Conclusions

We showed, using a new theorem, that AQM algorithms based on the queue size can reduce the burst ratio parameter significantly. This is an additional nice feature of them, because they were not designed with the burst ratio in mind.
To show this, we derived a formula for the burst ratio in a model of the system enabling an arbitrary autocorrelation function and an arbitrary interarrival time distribution of the traffic. Using this formula, several numerical examples were presented, in which the influence of different system parameters on the burst ratio was presented.
Firstly, we focused on the influence of the autocorrelation, which was an important feature of the considered model. The most-interesting observation was that the burst ratio did not grow monotonically with the strength of the autocorrelation. Such behavior of B is different than the behavior of other queueing characteristics (the loss ratio, the queue size), which are known to grow with the strength of the autocorrelation. In the considered examples, the burst ratio reached its maximum for a moderate strength of the autocorrelation. This is rather bad news from the networking perspective, where we can expect the strength of the autocorrelation to be just like this.
An application of AQM significantly reduced the burst ratio in every case. We considered a parameter-dependent family of drop probability functions and singled out the optimal function with respect to B, for every considered traffic parametrization. Apparently, the form of the optimal function depends strongly on the traffic autocorrelation, in a quasi-monotonic manner: the stronger the autocorrelation is, the stronger the drop probability function needed to achieve the best burst ratio.

Author Contributions

Conceptualization, A.C.; methodology, A.C.; software, A.C. and B.A.; validation, A.C. and B.A.; formal analysis, A.C. and B.A.; investigation, A.C.; resources, A.C.; data curation, A.C.; writing—original draft preparation, A.C.; writing—review and editing, A.C. and B.A.; visualization, A.C.; supervision, A.C.; project administration, A.C.; funding acquisition, A.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Science Centre, Poland, grant number 2020/39/B/ST6/00224.

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. Internet Engineering Task Force. Request for Comments 7567; Baker, F., Fairhurst, G., Eds.; Internet Engineering Task Force: Fremont, CA, USA, 2015. [Google Scholar]
  2. Gettys, J.; Nichols, K. Bufferbloat: Dark Buffers in the Internet. Queue 2011, 9, 40–54. [Google Scholar] [CrossRef] [Green Version]
  3. Cerf, V.G. Bufferbloat and Other Internet Challenges. IEEE Internet Comput. 2014, 18, 80. [Google Scholar] [CrossRef]
  4. Nichols, K.; Jacobson, V. Controlling Queue Delay. Queue 2012, 55, 42–50. [Google Scholar]
  5. Pan, R.; Natarajan, P.; Piglione, C.; Prabhu, M.S.; Subramanian, V.; Baker, F.; VerSteeg, B. PIE: A lightweight control scheme to address the bufferbloat problem. In Proceedings of the IEEE International Conference on High Performance Switching and Routing, Taipei, Taiwan, 8–11 July 2013; pp. 148–155. [Google Scholar]
  6. Abbas, G.; Manzoor, S.; Hussain, M. A stateless fairness-driven active queue management scheme for efficient and fair bandwidth allocation in congested Internet routers. Telecommun. Syst. 2017, 6, 1–18. [Google Scholar] [CrossRef]
  7. Belamfedel Alaoui, S.; Tissir, E.H.; Chaibi, N. Analysis and design of robust guaranteed cost Active Queue Management. Comput. Commun. 2020, 159, 124–1321. [Google Scholar] [CrossRef]
  8. Wang, H. Trade-off queuing delay and link utilization for solving bufferbloat. ICT Express 2020, 6, 269–272. [Google Scholar] [CrossRef]
  9. Amigo, J.M.; Duran, G.; Gimenez, A.; Valero, J.; Bonastre, O.M. Modeling a new AQM model for internet chaotic behavior using Petri nets. Appl. Sci. 2021, 11, 5877. [Google Scholar] [CrossRef]
  10. Kumar, H.; Kumar, S.M.D.; Nagarjun, E. Congestion Estimation and Mitigation Using Fuzzy System in Wireless Sensor Network. In Lecture Notes in Networks and Systems; Springer: Cham, Switzerland, 2022; Volume 329, pp. 655–667. [Google Scholar]
  11. Asonye, E.A.; Musa, S.M. Analysis of Personal Area Networks for ZigBee Environment Using Random Early Detection-Active Queue Management Model. In Proceedings of the International Conference on Industrial Engineering and Operations Management, Bangkok, Thailand, 12–13 December 2019; pp. 1441–1455. [Google Scholar]
  12. Rezaee, A.A.; Pasandideh, F. A Fuzzy Congestion Control Protocol Based on Active Queue Management in Wireless Sensor Networks with Medical Applications. Wirel. Pers. Commun. 2017, 98, 815–842. [Google Scholar] [CrossRef]
  13. Rezaee, A.A.; Yaghmaee, M.H.; Rahmani, A.M.; Mohajerzadeh, A.H. HOCA: Healthcare Aware Optimized Congestion Avoidance and control protocol for wireless sensor networks. J. Netw. Comput. Appl. 2014, 37, 216–228. [Google Scholar] [CrossRef]
  14. Zhao, S.; Wang, P.; He, J. Simulation analysis of congestion control in WSN based on AQM. In Proceedings of the International Conference on Mechatronic Science, Electric Engineering and Computer, Jilin, China, 19–22 August 2011; pp. 197–200. [Google Scholar]
  15. Floyd, S.; Jacobson, V. Random early detection gateways for congestion avoidance. IEEE/ACM Trans. Netw. 1993, 1, 397–413. [Google Scholar] [CrossRef]
  16. Zhou, K.; Yeung, K.L.; Li, V. Nonlinear RED: Asimple yet efficient active queue management scheme. Comput. Netw. 2006, 50, 3784. [Google Scholar] [CrossRef]
  17. Augustyn, D.R.; Domanski, A.; Domanska, J. A choice of optimal packet dropping function for active queue management. Commun. Comput. Inf. Sci. 2010, 79, 199–206. [Google Scholar]
  18. Feng, C.; Huang, L.; Xu, C.; Chang, Y. Congestion Control Scheme Performance Analysis Based on Nonlinear RED. IEEE Syst. J. 2017, 11, 2247–2254. [Google Scholar] [CrossRef]
  19. Patel, S.; Karmeshu. A New Modified Dropping Function for Congested AQM Networks. Wirel. Pers. Commun. 2019, 104, 37–55. [Google Scholar] [CrossRef]
  20. Giménez, A.; Murcia, M.A.; Amigó, J.M.; Martínez-Bonastre, O.; Valero, J. New RED-Type TCP-AQM Algorithms Based on Beta Distribution Drop Functions. Appl. Sci. 2022, 12, 11176. [Google Scholar] [CrossRef]
  21. Barczyk, M.; Chydzinski, A. AQM based on the queue length: A real-network study. PLoS ONE 2022, 17, E0263407. [Google Scholar] [CrossRef]
  22. Bergstra, J.A.; Middelburg, C. AITU-T Recommendation G.107: The E-Model, a Computational Model for Use in Transmission Planning; Technical Report; International Telecommunication Union: Geneva, Switzerland, 2014. [Google Scholar]
  23. Leland, W.; Taqqu, M.; Willinger, W.; Wilson, D. On the self-similar nature of ethernet traffic (extended version). IEEE/ACM Trans. Netw. 1994, 2, 1–15. [Google Scholar] [CrossRef] [Green Version]
  24. Crovella, M.; Bestavros, A. Self-similarity in World Wide Web traffic: Evidence and possible causes. IEEE/ACM Trans. Netw. 1997, 5, 835–846. [Google Scholar] [CrossRef] [Green Version]
  25. Salvador, P.; Valadas, R.; Pacheco, A. Multiscale Fitting Procedure Using Markov Modulated Poisson Processes. Telecommun. Syst. 2003, 23, 123–148. [Google Scholar] [CrossRef]
  26. McGowan, J.W. Burst Ratio: A Measure of Bursty Loss on Packet-Based Networks. U.S. Patent 6,931,017, 16 August 2005. [Google Scholar]
  27. Rachwalski, J.; Papir, Z. Burst Ratio in Concatenated Markov-based Channels. J. Telecommun. Inf. Technol. 2014, 1, 3–9. [Google Scholar]
  28. Rachwalski, J.; Papir, Z. Analysis of Burst Ratio in Concatenated Channels. J. Telecommun. Inf. Technol. 2015, 4, 65–73. [Google Scholar]
  29. Chydzinski, A.; Samociuk, D.; Adamczyk, B. Burst ratio in the finite-buffer queue with batch Poisson arrivals. Appl. Math. Comput. 2018, 330, 225–238. [Google Scholar] [CrossRef]
  30. Chydzinski, A.; Samociuk, D. Burst ratio in a single-server queue. Telecommun. Syst. 2019, 70, 263–276. [Google Scholar] [CrossRef] [Green Version]
  31. Bonald, T.; May, M.; Bolot, J.-C. Analytic evaluation of RED performance. In Proceedings of the INFOCOM, Tel Aviv, Israel, 26–30 March 2000; pp. 1415–1424. [Google Scholar]
  32. Baccelli, F.; McDonald, D.R.; Reynier, J. A mean-field model for multiple TCP connections through a buffer implementing RED. Perform. Eval. 2002, 49, 77–97. [Google Scholar] [CrossRef]
  33. Chydzinski, A. Queues with the dropping function and non-Poisson arrivals. IEEE Access 2020, 8, 39819–39829. [Google Scholar] [CrossRef]
  34. Hao, W.; Wei, Y. An Extended GIX/M/1/N Queueing Model for Evaluating the Performance of AQM Algorithms with Aggregate Traffic. In Lecture Notes in Networks and Systems; Springer: Cham, Switzerland, 2005; Volume 3619, pp. 395–414. [Google Scholar]
  35. Kempa, W.M. On main characteristics of the M/M/1/N queue with single and batch arrivals and the queue size controlled by AQM algorithms. Kybernetika 2011, 47, 930–943. [Google Scholar]
  36. Mrozowski, P.; Chydzinski, A. Queues with dropping functions and autocorrelated arrivals. Methodol. Comput. Appl. Probab. 2018, 20, 97–115. [Google Scholar] [CrossRef] [Green Version]
  37. Tikhonenko, O.; Kempa, W.M. The generalization of AQM algorithms for queueing systems with bounded capacity. In Lecture Notes in Networks and Systems; Springer: Cham, Switzerland, 2012; Volume 7204, pp. 242–251. [Google Scholar]
  38. Tikhonenko, O.; Kempa, W.M. Performance evaluation of an M/G/N-type queue with bounded capacity and packet dropping. Appl. Math. Comput. Sci. 2016, 26, 841–854. [Google Scholar] [CrossRef] [Green Version]
  39. Tikhonenko, O.; Kempa, W.M. Erlang service system with limited memory space under control of AQM mechanizm. Commun. Comput. Inf. Sci. 2017, 718, 366–379. [Google Scholar]
  40. Chydzinski, A.; Barczyk, M.; Samociuk, D. The Single-Server Queue with the Dropping Function and Infinite Buffer. Math. Probl. Eng. 2018, 2018, 3260428. [Google Scholar] [CrossRef]
  41. Chydzinski, A. Impact of the Dropping Function on Clustering of Packet Losses. Sensors 2022, 22, 7878. [Google Scholar] [CrossRef] [PubMed]
  42. Fischer, W.; Meier-Hellstern, K. The Markov-modulated Poisson process (MMPP) cookbook. Perform. Eval. 1992, 18, 149–171. [Google Scholar] [CrossRef]
  43. Available online: http://www.omnetpp.org/ (accessed on 5 January 2023).
Figure 1. Autocorrelation of interarrival times vs. lag for different values of parameter q.
Figure 1. Autocorrelation of interarrival times vs. lag for different values of parameter q.
Sensors 23 02197 g001
Figure 2. Burst ratio vs. the autocorrelation strength for a few functions d ( n ) and no AQM. Link load ρ = 0.8 .
Figure 2. Burst ratio vs. the autocorrelation strength for a few functions d ( n ) and no AQM. Link load ρ = 0.8 .
Sensors 23 02197 g002
Figure 3. Burst ratio vs. the autocorrelation strength for a few functions d ( n ) and no AQM. Link load ρ = 1.2 .
Figure 3. Burst ratio vs. the autocorrelation strength for a few functions d ( n ) and no AQM. Link load ρ = 1.2 .
Sensors 23 02197 g003
Figure 4. Burst ratio vs. the strength of the drop probability function for arrival processes with different autocorrelations. Link load ρ = 1.0 .
Figure 4. Burst ratio vs. the strength of the drop probability function for arrival processes with different autocorrelations. Link load ρ = 1.0 .
Sensors 23 02197 g004
Figure 5. Burst ratio vs. the link load for arrival processes with different autocorrelations. Square root drop probabilities, i.e., r = 0.5 .
Figure 5. Burst ratio vs. the link load for arrival processes with different autocorrelations. Square root drop probabilities, i.e., r = 0.5 .
Sensors 23 02197 g005
Figure 6. Burst ratio vs. the link load for arrival processes with different autocorrelations. Quadratic drop probabilities, i.e., r = 2 .
Figure 6. Burst ratio vs. the link load for arrival processes with different autocorrelations. Quadratic drop probabilities, i.e., r = 2 .
Sensors 23 02197 g006
Table 1. Theoretical vs. simulated burst ratio for different system parameters (arrival process, drop probabilities, and link load).
Table 1. Theoretical vs. simulated burst ratio for different system parameters (arrival process, drop probabilities, and link load).
SystemTheor.Simul.
ParametersBB
M M P P 1 , no AQM, ρ = 1.0 2.71292.7141
M M P P 1 , d 5 , ρ = 0.7 1.65051.6506
M M P P 1 , d 2 , ρ = 1.0 1.64411.6443
M M P P 1 , d 0.5 , ρ = 1.3 1.59841.5983
M M P P 0.1 , no AQM, ρ = 1.2 2.91622.9169
M M P P 0.1 , d 2 , ρ = 0.9 1.36261.3628
M M P P 0.1 , d 1 , ρ = 1.2 1.33511.3349
M M P P 0.1 , d 0.25 , ρ = 1.5 1.49381.4939
M M P P 0.01 , no AQM, ρ = 1.5 1.85831.8578
M M P P 0.01 , d 1 , ρ = 1.0 1.22201.2218
M M P P 0.01 , d 0.5 , ρ = 1.5 1.12981.1298
M M P P 0.01 , d 0.25 , ρ = 2.0 1.12071.1206
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chydzinski, A.; Adamczyk, B. On the Influence of AQM on Serialization of Packet Losses. Sensors 2023, 23, 2197. https://doi.org/10.3390/s23042197

AMA Style

Chydzinski A, Adamczyk B. On the Influence of AQM on Serialization of Packet Losses. Sensors. 2023; 23(4):2197. https://doi.org/10.3390/s23042197

Chicago/Turabian Style

Chydzinski, Andrzej, and Blazej Adamczyk. 2023. "On the Influence of AQM on Serialization of Packet Losses" Sensors 23, no. 4: 2197. https://doi.org/10.3390/s23042197

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