Abstract

In this paper, the nonsmooth compound transmission control protocol (TCP) with the gentle random early detection (GRED) system with the state-dependent round-trip delay is investigated in detail. Uniqueness of the positive equilibrium is proved firstly. Then, the closed approximate periodic solutions in this state-dependent delayed nonsmooth compound TCP with the GRED model are obtained by employing the harmonic balance and alternating frequency/time domain (HB-AFT) method. Then, we compare the results generated by numerical simulations with those of the closed approximate expressions obtained by HB-AFT. It indicates that HB-AFT is simple, correct, and powerful for state-dependent delayed nonsmooth dynamical systems. Finally, we find the complicated dynamic: chaos. It is a grazing chaos with a hybrid property, i.e., where usually oscillates at a very low frequency and oscillates at a very high frequency. And, the route to chaos is a very rare route, i.e., the instantaneous and local transition of stable equilibrium to chaos. So, to the end of stability and good performance, we should adjust the parameters carefully to avoid the periodic and chaotic oscillations.

1. Introduction

With the rapid growth of applications, network congestion is becoming more and more serious. At present, the whole congestion control system is a combination of the end-to-end transmission control protocol (TCP) congestion control mechanism at the source and the active queue management (AQM) mechanism at routers.

Although TCP can deliver data efficaciously in most applications, it is reported that TCP substantially cannot utilize successfully the network bandwidth over high-speed and long-distance networks [1]. Many approaches have been established to settle this problem. One class of these approaches is loss based, which uses packet loss as congestion feedback, including Tahoe TCP [2], HSTCP [1], STCP [3], and BIC-TCP [4]. Another class is delay based, which takes RTT variances as a congestion indicator, like FAST TCP [5]. However, some problems such as efficiency, RTT fairness, and TCP fairness cannot be concurrently mitigated either by loss-based or delay-based protocols. Compound TCP approach has been proposed in [6], which is a combination of delay-based and loss-based approaches. The approach has good efficiency, RTT fairness, and TCP fairness.

It is essential to consider queue management when solving the problem of network congestion. AQM has become a research hot spot because of the defects of passive queue management (PQM). The main idea of AQM is to notify TCP sources to reduce their sending window to avoid congestion by marking or dropping packets before buffers fill up. Random early detection (RED), a typical AQM algorithm, was proposed in [7]. Floyd proposed gentle RED (GRED), the version of the RED algorithm, in [8]. Numerically congestion control systems operating on GRED may have a slight decrease in the amplitude of the oscillation, which indicates a positive effect on the system behaviors; however, there is an increase in the oscillation frequency in most cases [9]. Thus, it is important to consider the periodic solutions and complicated dynamics of the compound TCP with GRED congestion control systems in detail. There are various versions of AQM algorithms, such as random exponential marking (REM) [10] and proportional integral queue policy [11].

The stability and dynamics of compound TCP with the RED system are considered in some works. The authors studied the stability and bifurcation of compound TCP with the RED system in three different limiting regimes in [12, 13]. In [14], chaotic phenomena and period doubling bifurcation of the first-order discrete time model for compound TCP with RED system are obtained by employing bifurcation diagrams and Lyapunov exponent. As far as we know, few works on the analytical approximate expression of the periodic oscillation of the state-dependent round-trip delayed and nonsmooth compound TCP-GRED system have been reported. As well known, the stability and performance of the network have close relationship with dynamics of the control system. So, it is significant to investigate their dynamics including periodic solution and chaos. Periodic solution is also the basis for the study of rich dynamics. The closed approximate periodic solution can help us adjust parameters to obtain the desired solutions. It is our motivation to research the rich dynamics and the closed approximate periodic solutions of the compound TCP with the GRED system.

Delay represents the tendency of some system counts not only on current but also on past historical states. It lays the basis of the delayed differential equation (DDE). So, it has important applications in the fields of physics, chemistry, information [15], neural networks [16, 17], biomathematics, finance [18], stock market, mechanics, aerospaces, electrical and circuits, and so on. Generally speaking, DDE exhibits more complicated dynamical behaviors than ordinary differential equations.

The harmonic balance method (HBM) is an efficient way to find the closed approximate periodic solutions in the nonlinear systems. Distinct methods are established from the classical HBM, such as the incremental harmonic balance (IHB) method [19, 20], the high-dimensional harmonic balance (HDHB) method [21, 22], the generalized harmonic balance (GHB) method [23], and the HB-AFT method [2430]. In the process of solving the periodic solution, the HB-AFT method sets both the state variable and the nonlinear function as harmonic solution and establishes the relationship between harmonic coefficients according to the discrete time-frequency characteristics of the system. It does not need integration and series expansion for complex nonlinear terms. Therefore, the HB-AFT method is efficacious for the nonsmooth dynamical systems. In this paper, we derive the closed approximate periodic solutions for the state-dependent delayed nonsmooth compound TCP with GRED system by HB-AFT successfully.

We also explore the complicated dynamics of this system by numerical simulation. By the largest Lyapunov exponent and bifurcation diagram, we find (i) a grazing chaos with a hybrid property and (ii) the route to this chaos is the instantaneous and local transition of equilibrium to chaos. This phenomenon is very rare and has been reported in [31, 32]. The direct transition from a stable equilibrium to quasiperiodicity in nonsmooth systems is also a rare phenomenon [33].

The remaining of this paper is organized as follows. We introduce the compound TCP with GRED model in the high-speed and long-distance networks in Section 2. We do not consider the average queue size in the computation of the packet-drop probability since it is not beneficial to stability of the model. The disadvantage of the model is that the router may not generate correct response when data streams enter the network suddenly. However, the model is relatively stable, which is excellent for the congestion control system. In Section 3, we briefly introduce the HB-AFT method. In Section 4, we present the analytical approximate expressions of the periodic solutions by HB-AFT and then we compare the results of numerical simulations with the analytical approximate expressions obtained by HB-AFT. The results show that the HB-AFT method is simple, correct, and efficient. Complicated and rich dynamics are presented in Section 5. The chaos is with hybrid states where has a very high frequency and a very small amplitude, but has a very low frequency and a large amplitude. The route to this chaos is a very rare sudden transition from equilibrium to chaos. Finally, we come to the conclusions of this paper in Section 6.

2. Compound TCP-GRED Model

In this section, we will present the compound TCP-GRED model. The standard TCP adjusts the data flow in the way of additive increase and multiplicative decrease, that is, the sending window size increases by one packet per round-trip time (RTT) and reduces to half of the current window size every time packet loss is detected. TCP variant increases the sending window by per received acknowledgment and reduces it by per packet loss. If a packet loss probability is , then it is acknowledged with probability . The average window size of TCP flow satisfies the following differential equation [34]:where is the round-trip time, is the average window size, and different TCP variants have different and . Next, we will gain and for the compound TCP. The compound TCP adds a scalable delay-based component into the standard TCP; therefore, it is a combination of delay-based and loss-based approaches.

The congestion control algorithm of the compound TCP has two variables: cwnd, the congestion window; dwnd, the delay window. The sending window size follows that [6]where awnd is the advertised window size. In the congestion avoidance stage, cwnd increases by one packet per RTT and halves every time packet loss is detected. The compound TCP sends packets in one RTT. Therefore, when an acknowledgment is received, the congestion window is updated as

The dwnd increases the window size when the network is underutilized and reduces it when congestion is detected. The algorithm of dwnd is designed as follows:where is a threshold for congestion detection, defines how rapidly the delay window should reduce its window when early congestion is detected, parameters control the increase and decrease of the window size, , and parameter diff is the number of backlogged packets in the bottleneck queue, and it is estimated aswhere is updated by the minimal RTT that has been observed so far when the connection is started. Therefore, the window size is updated as

We can get from (6).

Now, we consider dynamics of the queue size. Assuming there are end users, we let be the sum of all the window sizes, and we can get the average window size . Let be the rate at which packets arrive at the queue at time , and the average arrival rate is . So, . If probability of packets loss is , then the packets would be queued with probability . Therefore, the total number of arrival queues is in time. Let be the per-flow service capacity, and then the packets are served at a rate of . Therefore, in the time interval , the queue size satisfies the following relationship [35]:where and is the size of the router buffer. Therefore, the queue size satisfies the following differential equation:where is the probability of packet loss.

RED applies an exponentially weighted moving average scheme to calculate the average queue size. The average queue size , where describes the instantaneous queue size and represents the queue weighting parameter. Because large values of the queue weighting parameter can aid stability [13], we only consider the special case that in this paper, which means the average queue is not considered. So, in the gentle RED algorithm, the packet-drop probability is given bywhere , , are are the minimum threshold, maximum threshold, and maximum packet-drop probability, respectively.

The compound TCP with gentle RED system is modeled by the following delay differential equations from (1), (8), and (9) in [13]:where is the average window size (average of packets sent by all windows in one round-trip time) at time , is the queue size at time , , and . Parameters control the increase and decrease of the window size, ; represents the packet-drop probability at time ; characterizes the round-trip time, , comprising the propagation delay and the queuing delay; is dependent on the state variable , so it is a state-dependent delay; is the per-flow link capacity.

Theorem 1. There exists a unique positive equilibrium in system (10) for .

Proof. Let be the positive equilibrium of system (10), and then should satisfy the following conditions:where , ,When , i.e., , there is no equilibrium. When , i.e., , we can obtain from the second equation of equation (11); then substituting into the first equation, we can get the equation . Let . Since , is monotonically decreasing in . And, . When , i.e., , we can obtain from its second equation; then substituting into its first equation, we can get the equation . Let . Since , is monotonically decreasing in . And, and . When , i.e., , there is also no equilibrium. Therefore, if , then there is only one equilibrium in , but no equilibrium exists in . If , then any equilibrium does not exist in , but there is only one equilibrium in . After getting , we can get according to its second equation. As mentioned previously, system (10) has the unique positive equilibrium .

3. HB-AFT Method

We define and still use to denote , so equation (10) can be written aswhere represents the frequency of periodic solution in system (10). Now, the period of periodic solution with frequency in system (10) becomes . And, we define .

Next, we will use the HB-AFT method to obtain the closed approximate periodic solution in system (13). We carry out the harmonic balance process firstly. Because the period of periodic solution of system (13) is , the state variables and in system (13) can be expressed as the following:

The nonlinear terms can also be rewritten intowhere K represents the largest number of harmonics.

Substituting expressions (14) and (15) into equation (13) and balancing each harmonic term, we can gain algebraic equations , wherewith respect to the sine terms,with respect to the cosine terms,where .

In addition, let .

To gain the unknown coefficient , we regard as known. The algebraic equations (16a), (16b), and (16c) have unknown variables but only equations, so we exert the condition on the phase of the first harmonic of the periodic solution according to the fixed-phase method [21], i.e., or or or . Therefore, we can get an algebraic equation .

In order to get the harmonic coefficient of state variables and , we can use the iterative method to solve the algebraic equations . We use the Newton–Raphson method in this paper, and the iterative formula iswhere is the Jacobian matrix, that is,

Noting that only is unknown in (19), next we will establish the relationship between and by the alternating frequency/time domain (AFT) technique.

For an initially given set of harmonic coefficient , the discrete information of and in the time domain can be presented by the inverse discrete Fourier transform (IDFT), i.e.,

The corresponding discrete information of and in the time domain can be described as the following:where are the values at the nth discrete time, and is the number of discrete time points.

According to (20) and (21), the discrete information of in the time domain can be expressed as the following:

So, we can get with as variables from (22) by the discrete Fourier transform (DFT), i.e.,where .

Now, we have obtained the relationship between and from (20)–(23a), (23b), and (23c) by the AFT technique, so the expression of can be obtained. Therefore, we can generate the harmonic coefficient by iterating formula (18), and then the closed approximate periodic solution can be obtained in system (13). Let , and we can obtain the closed approximate periodic solution in system (10). The procedure for the iteration of fixed point is briefly presented in Table 1.

4. Numerical Simulations

In this section, we will present the closed approximate periodic solutions of the compound TCP with GRED control system and perform the comparisons between results of the numerical simulations by WinPP and those of the HB-AFT method under different bifurcation parameters. The initial functions are , and the step size is 0.0001 in numerical simulation in this section. The results are displayed in Figures 14. We set the largest number of harmonics and the number of the discrete time points in the HB-AFT method in Figures 14. The results of the HB-AFT method are very consistent with those of numerical simulations as in Figures 14. So the accurate closed approximate periodic solutions can be obtained by HB-AFT for this state-dependent delayed nonsmooth system (10).

Moreover, since periodic oscillations can hinder network performance, we should avoid the periodic oscillations of system (10). It follows that the amplitudes of increase as parameter increases in Figure 1, so we should select smaller to avoid the periodic oscillations for . It follows that the amplitudes of increase as parameter increases in Figure 2, so we should select smaller to avoid the periodic oscillations for . Also, the amplitudes of increase as parameter increases in Figure 3, so we should select smaller to avoid the periodic oscillations for . Also, the amplitudes of increase as parameter increases in Figure 4, so we should select smaller to avoid the periodic oscillations for .

Now, we can obtain the closed approximate periodic solutions in system (10) by HB-AFT. Results of the closed approximate periodic solutions under three sets of parameters are shown in Table 2. For the first set of parameters, comparisons between results of numerical simulation and those of HB-AFT for system (10) are displayed in Figure 5. Obviously, the result obtained by the higher-order HB-AFT is better than that by the lower-order HB-AFT since it is in better agreement with the result of numerical simulation. Therefore, it is significant to select a proper number of harmonics in using HB-AFT.

For the second set of parameters, comparisons between the phase portraits of numerical simulations and those of the HB-AFT method are displayed in Figure 6(a).

For the third set of parameters, the closed approximate periodic solution is not shown here since it is too lengthy. The comparisons between the phase portrait of numerical simulation and that of the HB-AFT method are displayed in Figure 6(b). It follows that the accurate analytical approximate expression can be obtained even for the sharp impacting periodic solution by HB-AFT from Figure 6(b).

Therefore, the comparisons between the phase portrait of numerical simulation and that of the HB-AFT method in this section indicate that the HB-AFT is simple and efficient for the state-dependent delayed nonsmooth dynamical systems.

5. Complicated Dynamics

In this section, we study complicated dynamics of the state-dependent round-trip delayed nonsmooth compound TCP with GRED congestion control system. Here, we find a chaos with the hybrid property, and its route is very rare. So, we calculate the largest Lyapunov exponents by the small data volume method [36] to verify the chaos found in this paper. And, we plot the bifurcation diagram generated by the Poincar section to explore the route to this chaos. The step size is 0.00002 in numerical simulation in this section. We take the following parameters: . We take as the bifurcation parameter. For , there is a stable positive equilibrium in system (10). Numerical simulation is displayed in Figure 7, where the initial functions are .

For , the irregular oscillation occurs as in Figure 8, where the initial functions are . Obviously and oscillate irregularly in a very small range and with a higher frequency.

When continues to increase, for , the above oscillation becomes more irregular as in Figure 9, where the initial functions are . Obviously, is a constant, but oscillates irregularly in a very small range at a very high frequency. Its largest Lyapunov exponent is very large positive.

When continues to increase, for , the irregular oscillation grows in a broader region as in Figure 10, where the initial functions are . moves at low frequency and large amplitude, but oscillates in a very small region and at a very high frequency. The largest Lyapunov exponent is 0.3982.

When continues to increase, for , the cycle-like oscillation occurring in the above irregular oscillation is displayed in Figure 11, where the initial functions are . moves irregularly at low frequency and in large region, and still oscillates irregularly at a very high frequency but has some spikes in some small regions. The largest Lyapunov exponent is 0.2962.

When continues to increase, for , its cycle-like part grows larger and larger in this chaotic oscillation as in Figure 12, where the initial functions are . moves irregularly at low frequency and large region, but has some larger spikes with the increase of . The largest Lyapunov exponent is 0.4073. The bifurcation diagram generated by the Poincar section in system (10) is shown in Figure 13, where .

In this section, according to the largest Lyapunov exponents and bifurcation diagram generated by the Poincar section, chaos takes place, and the route to it is a very rare route from stable equilibrium to chaos, i.e., an instantaneous and local transition from stable equilibrium to chaos or sudden transition from equilibrium to chaos [31, 32]. Specifically, system (10) has a stable equilibrium when is in [0.1, 0.1042296] and becomes chaos from . oscillate irregularly in a very small range for in [0.1042296, 0.174], and oscillate irregularly in a larger range for in [0.174, 0.3].

6. Conclusions

In this paper, the novel state-dependent delayed nonsmooth compound TCP-GRED congestion control system is investigated fully. Firstly, we prove the uniqueness of the positive equilibrium in system (10). Then, we obtain the closed approximate periodic solutions in this state-dependent round-trip delayed nonsmooth system via the HB-AFT method. Comparisons between the results of numerical simulations and those of HB-AFT are performed. The results show that HB-AFT is simple, correct, and efficient. Finally, we find that system (10) shows complicated dynamics: chaos, perhaps it is a grazing, hybrid chaos, and the route to it is the sudden transition from stable equilibrium to chaos. Since the periodic oscillation can cause synchronisation of TCP flows and loss of throughput, further congestion and chaos induce collapse, which can hamper network performance. Therefore, to the end of stability and good performance, we should adjust the parameters carefully to avoid the periodic oscillation and chaos.

Data Availability

The data in this paper are produced by the software for nonlinear dynamics, WinPP. They can be reproduced by running WinPP with the provided parameters and initial functions by oneself.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

The authors would like to acknowledge the financial support for this research via the National Natural Science Foundation of China (Nos. 11972327, 11372282, 11702250, and 10702065). The research and publication of this article were funded by the National Natural Science Foundation of China.