Control Analysis of Packet Transmission Algorithms: Study on Fairness and Stability
Abstract
This document is a study of fairness, feedback and stability notions of different packet transmission algorithms. We start the discussion with defining two scalable control algorithms namely primal and dual algorithm. We discuss the dual algorithm model and then understand the fair dual algorithm. Further, we discuss different notions of fairness under fair dual algorithm those correspond to TCP and RCP congestion control protocols. Feedback parameters are analyzed in each of these fairness algorithms and thus their stability is studied.
I Introduction
Understanding the dynamics of congestion in the network has been a prime interest if research. The primary objective of any congestion control algorithm is to utilize the bandwidth efficiently and fairness in resource allocation to end systems. To have a better control over the congestion in the network, the congestion control algorithms are coupled with the feedback from the network to facilitate the transmission rates of end systems adapt themselves according to congestion in the network. These feedback mechanisms are referred to as active queue management (AQM) [1].
To analyze these congestion algorithms, we convert them into delay differential equations or fluid models. [2] shows that the current congestion avoidance TCP, when coupled with commonly used AQM, loses local stability with increase in delays. In the process of finding an algorithm whose stability properties are invariant to delay, network topology, number of users and capacity led to the proposition of two scalable control algorithms which can be classified into primal and dual algorithms [3][4]. This averaging can be done at both end systems and resources. Such systems correspond to the primal-dual framework. [7] provides overview of these primal, dual and primal-dual algorithms and their local stability properties.
In the primal congestion control algorithm, the congestion controllers adjust their transmission rates after averaging the congestion feedback signals from the network while in the dual version of algorithm this averaging is performed at the resources [1]. At this point, we briefly recall the Transmission Control Protocol (TCP) and Rate Control Protocol (RCP). The TCP framework has embedded in it a mechanism for detecting congestion and then it adjusts the transmission window sizes at the end systems. TCP follows a conservative increase of window size and aggressive decrease of window size on detection of congestion. While in sharp contrast, RCP aims by fast flow completion times by communicating explicit rate feedback between end users and resources [5][6]. Dual algorithm broadly correspond with more explicit congestion protocols [8].
In this paper, we discuss three fair dual algorithms. These are fair dual algorithms with proportional fairness, TCP fairness and max-min fairness which discuss the different strategies of fair resource allocation. For this we first model the dual algorithms where we model the system with non-linear delay equations and use bifurcation theoretic tools to get an insight into the dynamics of these algorithms. From this model of dual algorithm, we introduce the notion of proportional fairness, TCP fairness and max-min fairness under different choices of parameters of the model. We then analyze the RCP model under the same parameters as considered in dual algorithm and show that RCP can exhibit max-min fairness.
Linearized analysis offers conditions for local stability, but congestion controllers may become locally unstable under the bifurcation. This does not imply that the non-linear system would have unbounded oscillations. So we take non-linear delay equations by allowing linear, quadratic and cubic terms and then apply bifurcation theory to analyze the stability based on the amplitude of oscillations.
The rest of the paper is organized as follows. In Section II, we give a brief modelling of the dual algorithm to introduce the -fairness. In Section III we discuss proportional, TCP and max-min fairness. In Section IV we study different feedbacks we encountered in the modelling of networks and study how they are helpful. In Section V we analyze the stability of the system under different fairness algorithms and finally, we conclude the paper in Section VI.
II Dual Algorithms
Dual algorithms are a class of congestion control algorithms where resource determines the congestion measure hereafter called as price, by averaging the congestion feedback before communicating it to the end systems as discussed in Section I. This feedback would prompt the end systems to raise a response for their demand for a share of resource which is beneficial for networks with shorter round trip times.
Fair allocation of resources to all the end systems is also a key concern. Some of the notions of fairness are i) proportional fairness, ii) TCP fairness iii) max-min fairness. Proportional fairness is attractive from economic point of view. TCP fairness is offered by the TCP protocol. Max-min fairness is about maximizing the minimum share of resources to the end systems. Max-min fairness is exhibited by RCP. We will discuss these notions of fairness in detail later.
In this paper we consider the users face a forward delay (end system to the link) of and a backward delay (link to end system) of . The round trip time propagation delay assuming no other delays is the sum of forward and backward delay, given as . Then the system equation is written as:
(1) |
Considering the dynamical representation of dual algorithm (1) is modified as
(2) |
where
(3) |
with , a non negative continuous, strictly decreasing demand function. is the , is the at the link and is the gain of the system. Any system of the form in (2) is referred to as a dual algorithm. In (2) if then the system is said to be delay dual and if , it is said to be fair dual. The demand function of fair dual corresponds to the demand function
(4) |
which achieves -fair allocations [7]. is the parameter of the user. With these results the model of fair dual algorithm reduces to
(5) |
III Fairness
The major communication network design challenge is sharing the available resource (bandwidth) between the competing users of the network while ensuring the maximum utilization of the network. As discussed in Section II the fair dual algorithm is represented by (5) for fair allocations. This parameter can take values in [0,). = 0 corresponds to maximum throughput of the network. We will discuss the different notions of fairness for different choices of as follows.
III-A Proportional fairness
Proportional fairness ensures that the resources are allocated to users proportionally. It achieves a good trade-off between efficiency and fairness. [9] concludes that the proportional fairness solution simultaneously achieves higher system throughput, better fairness and lower outage probability with respect to the default solution given by today’s 802.11 commercial products [8]. [10] describes a model for elastic traffic in which a user chooses the charge per unit time that the user is willing to pay; thereafter the user’s rate is determined by the network according to a proportional fairness criterion applied to the rate per unit charge.
With the parameter choice of and in (4) we get a proportionally fair resource allocation, which yields
Consider a network has routes where is the collection of all possible routes. A vector of transmission rates is said to be proportionally fair if under the conditions and , is maximum. Here is the incidence matrix and is is the utility of the user as defined in [8]. This is verified as for any other vector the aggregate proportional changes in negative or zero:
III-B TCP fairness
Most of the applications in the world today use TCP to transmit data over the network. TCP is a congestion control protocol which means it adapts the transmission rate depending on the congestion in the network. TCP adapts a conservative increase and multiplicative decrease pattern of congestion window. When the network is free and no congestion is detected by TCP, the transmitting window size is increased by one for every round trip time and if it detects congestion, window size is reduced to half. In this process, fairness would refer to modelling of window sizes of different users according to congestion.For example in a network of 10 flows, if the congestion in the network is caused by a single flow then the fairness part comes into play in deciding how to back-off the transmitting rate. It can be done by backing off all the flow transmitting rates or by backing off the single flow rate that causes congestion. But the later requires the knowledge of the transmitting rates of all the flows. If the transmitting rate of each user is also made available in the network, that may cause congestion in the network by itself.
In (4), if we choose , then the corresponding fair dual algorithm is said to have TCP fairness, which yields the transmitting rate to be
which is same as the equilibrium condition of the TCP fluid model. So we can say that TCP flows exhibit TCP fairness.
III-C Max-min fairness
In a network, max-min fairness corresponds to the fairness algorithm that maximizes the minimum share of resource allocation to every user of the network. In detail consider a network consists of interconnection of a set of routes, , with a set of links, as described in the RCP model in [11]. Every packet transmitting through a link carries in its header, an explicit rate feedback variable. Initially this variable is set to the desired flow rate for route r. As the packet passes through each link, it will be replaced by the maximum bandwidth that link can allocate to the particular route. If multiple routes pass through the same link, then the link capacity is thus distributed among all the routes i.e, where is the bandwidth share of route passing through link , is the capacity of link and is the collection of routes passing through link .
For a particular route, once a packet reaches the destination, explicit rate feedback is sent to the user so that the transmission rate can be modelled according to the available resource to it. For a particular link, as it sees multiple packets of different routes carry different demand rates, the allocation share keeps on changing which is modelled in [11]. After multiple iterations of packet flows through the network the transmission rate of a flow converges to the equation
(6) |
where is the return delay from link to to source of route . (6) depicts the norm expression of a sequence in . As , the norm takes the maximum value of the sequence [13]. Which means that the transmission rate of a user converges as
IV Feedback
Fluid model of RCP [11] is given as ,
(8) |
where is the flow rate associated with link l, , are positive constants, is the capacity at link l, is the average RTT of flow passing through link l, is the queue size at time t, and is the aggregate flow rate of all the link. Notation means that if and , otherwise .
The fluid model of RCP (8) contain two feedback terms. First term ( - ) is known as rate mismatch which is the difference between the link capacity and aggregate arrival rate and second term is based on queue size . Apart from these two, other feedbacks like packet loss, rate, etc. are also available. The systems with and without feedback based on queue size give rise to different nonlinear equations, so these feedback factor are required to develop sufficient condition for local stability. Packet loss feedback tell the sender to re transmit the packets. Rate feedback is used to avoid congestion in the network.
The feedback is necessary to ensure that the network is stable and hence we can derive the necessary conditions and sufficient conditions of different parameters of the network for stability. Feedback is required for an end system to decide upon its transmitting rate. Feedback is also necessary to model algorithm for resource sharing. For example, TCP fairness algorithm uses packet loss as a feedback. If any congestion is detected in the network, TCP will reduces its window size to half to avoid congestion in the network and if no congestion is detected in the network then window sized will be increases in every RTT interval. In compound TCP congestion in the network as well as delay feedback is available to model window size. In RCP, demand rate of user is taken as input for modelling the bandwidth share allocated to that particular user which is known as max-min fairness. In case of proportional fairness bandwidth is distributed according to amount pay by user.
V Stability Analysis
We will discuss the stability analysis of different fairness algorithms in this Section. We will derive the notion of stability using linear system analysis and bifurcation analysis for TCP and RCP models.
V-A Stability analysis of TCP
The fluid model for TCP is derived and formulated in [12] as
(9) |
where w(t) is the average window size of N flows at time t, measured in packets, x(t) average rate at which packets are transmitted at time t. Average transmitting rate and average window size ar related as , p(t) packet loss probability at time t.
The stability of system is calculated by finding the equilibrium point of (9) and by finding the packet loss probability at the equilibrium point as discussed in [12]. From conclusion from [12], if traffic intensity () is less then 1, then the system is stable, for small buffer, for all window sizes where . But if we increase the buffer size, choice of window size is get limited, but utilization gets increased [14].
Relationship between stability and desynchronization is shown in [14], which says that for a large buffer size, we can see oscillations in around . When the queue size bounces around full and packet loss occurs. When ,the queue size bounces around empty. So change in queue size is very large even with small change in . When , the is queue is full and all the flows experience drop at nearly the same time and so all the flows back-off and hence get synchronized. Hence we can say that large buffers promote synchronization as pointed in [14]. For a small buffer, fluctuation is small in and queue size has large and fast variation. Fluctuations or oscillation in correspond the amplitude of limit cycles. TCP cannot control the fluctuations in queue size, but its distribution can be controlled.
V-B Stability analysis of a RCP
Fluid model of RCP is explained in [11] as
(10) |
where is the flow rate associated with link l, , are positive constants, is the capacity at link l, is the average RTT of flow passing through link l, is the queue size at time t, and is given as
(11) |
where denote the propagation delay from the origin of origin r to link l. The notation a = mean that a=0 if b less then 0 and c 0, otherwise a = b. For small buffer is given as
(12) |
It is proven in [11], for delay free model of RCP, at equilibrium, is globally stable, but author also show that equilibrium point of (10) - (12) cannot be unique, or even isolated. If and in (10) is small then algorithm evolves slower then propagation delay, therefore [11] conclude that with sufficiently small RCP is globally stable.
Local stability can be found by local Bifurcation analysis [11][12]. For single link single delay model, and taking = 0 for sake of simplicity, RCP fluid model is rewritten as
(13) |
And necessary and sufficient condition [11] for local stability is
(14) |
As the notions of proportional, TCP and max-min fairness is derived from the generalized dual algorithm model, we will compare the local stability in terms of the parameter as discussed at the end of Section II which corresponds to amplitude of limit cycles. [1] derives that the leading oscillation coefficient of a fair dual algorithm is proportional to . We understood that proportional fairness corresponds to , TCP fairness correspond to . So, the TCP fair algorithm have a limit cycle with twice the amplitude of its proportionally fair counterpart [1] while max-min fairness will have oscillation coefficient proportional to the average allocated rate as discussed in [11].
VI Conclusion
In this paper, we started our discussion with the introduction of two scalable control algorithms primal and dual algorithms. We then modelled the dual algorithm and defined the origin of fair dual algorithms. Saying that the fair dual algorithm ensures fair allocations, we then explained different notions of fairness for three different choices of . We discussed the fairness exhibited by proportional, TCP and max-min fairness algorithms. We then discussed the feedbacks available in each of the algorithms and concluded with the stability analysis of each fairness algorithm corresponding to its feedback available in their network.
References
- [1] Raina, Gaurav. ”Local bifurcation analysis of some dual congestion control algorithms.” IEEE Transactions on Automatic Control 50.8 (2005): 1135-1146.
- [2] Hollot, Chris V., et al. ”On designing improved controllers for AQM routers supporting TCP flows.” Proceedings IEEE INFOCOM 2001. Conference on Computer Communications. Twentieth Annual Joint Conference of the IEEE Computer and Communications Society. IEEE, 2001.
- [3] Paganini, Fernando, John Doyle, and Steven Low. ”Scalable laws for stable network congestion control.” Decision and Control, 2001. Proceedings of the 40th IEEE Conference on. Vol. 1. IEEE, 2001.
- [4] Vinnicombe, Glenn. ”On the stability of networks operating TCP-like congestion control.” Proceedings of the IFAC World Congress. 2002.
- [5] Kelly, Frank, Gaurav Raina, and Thomas Voice. ”Stability and fairness of explicit congestion control with small buffers.” ACM SIGCOMM Computer Communication Review 38.3 (2008): 51-62.
- [6] Dukkipati, Nandita, and Nick McKeown. ”Why flow-completion time is the right metric for congestion control.” ACM SIGCOMM Computer Communication Review 36.1 (2006): 59-62.
- [7] Kelly, Frank. ”Fairness and stability of end-to-end congestion control.” European journal of control 9.2-3 (2003): 159-176.
- [8] Kelly, Frank, and Gaurav Raina. ”1 Explicit Congestion Control: charging, fairness and admission management.” Next-Generation Internet: Architectures and Protocols (2011): 257.
- [9] Liew, Soung Chang, and Ying Jun Zhang. ”Proportional fairness in multi-channel multi-rate wireless networks-Part I: The case of deterministic channels with application to AP association problem in large-scale WLAN.” IEEE Transactions on Wireless Communications 7.9 (2008): 3446-3456.
- [10] Kelly, Frank P., Aman K. Maulloo, and David KH Tan. ”Rate control for communication networks: shadow prices, proportional fairness and stability.” Journal of the Operational Research society 49.3 (1998): 237-252.
- [11] Voice, Thomas, and Gaurav Raina. ”Stability analysis of a max-min fair Rate Control Protocol (RCP) in a small buffer regime.” IEEE Transactions on Automatic Control 54.8 (2009): 1908-1913.
- [12] Raina, Gaurav, and Damon Wischik. ”Buffer sizes for large multiplexers: TCP queueing theory and instability analysis.” Next Generation Internet Networks, 2005. IEEE, 2005.
- [13] Kwak, Nojun. ”Principal component analysis by -norm maximization.” IEEE Transactions on Cybernetics 44.5 (2014): 594-609.
- [14] Raina, Gaurav, Don Towsley, and Damon Wischik. ”Part II: Control theory for buffer sizing.” ACM SIGCOMM Computer Communication Review 35.3 (2005): 79-82.