Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 5

TCP QIC: Quadric Increase Congestion Control algorithm

Implementation and simulation


Girish Paliwal Swapnesh Taterh
gpaliwal@jpr.amity.edu staterh@jpr.amity.edu
Amity University Rajasthan Jaipur Amity University Rajasthan Jaipur

Abstract: Now these days most of the devices having internet connections that increased the traffic over the server and TCP provide the
connection-oriented connection. TCP may be experiencing issues with using the total bandwidth of the communication channel. Numbers
of congestion control proposals have already been suggested to reduce this problem. This paper presents the implementation of a quadric
increase congestion control algorithm and it’s a simulation through the ns3. This algorithm is based on binary increased congestion control
algorithm (TCP BIC). In ns3 TCP QIC is separately implemented and tested with the different congestion control algorithms. These
congestion control algorithms are TCP Westwood, BIC, NewReno, scalable and Illinois. The performance of the TCP QIC has the
significance over the other congestion control algorithms in respect of throughput, goodput, delay variance and round-trip time.
Keywords: Congestion control algorithm, TCP, NS3, TCP QIC: Quadric Increase Congestion control algorithm.

1. Introduction is the conclusion of the present quadric congestion control


algorithm performance.
Over the past decades, so much work has been already done
to enhance the TCP performance and the result many different
congestion control algorithms. The number of congestion control 2. TCP Basics
algorithms are already developed and implemented after finding This provides a connection-oriented connection between
some enhancement result over the existing congestion control sender and receiver. The Connection-oriented communication
algorithms [1]. The implementation and comparing them with means TCP send packets between computers provides an
other congestion control algorithms is troublesome without acknowledgment number through the sequence number.
network simulators. Unacknowledged TCP packets are retransmitted based on the
In the real world scenario, it is very difficult to compare information about successfully received sequence number and in
algorithm performance on the basis of actual devices it is some cases, round trip time out of the packet is used for
possible with the simulators it is less time to consume and less retransmission of the packet. TCP congestion control algorithm
expensive and given the moral as actual results. Computer proposed over the last 30 years, roughly to maximize the
simulator provides valuable insight into potential throughput and avoiding the congestion at the internet routers
implementation before extending the considerable effort that and provide the services effectively and efficiently.
may be required to build a technology simulator allow us to TCP congestion control algorithms have been having some
measure and compare the existing algorithm as well as we can common features these features are on the basis of changing in
introduce a new algorithm and compare in light of existing congestion window acknowledgment received round trip time of
algorithms. It provides a much more flexible way to implement a a packet. On the basis of these parameters each and every TCP
new algorithm and finding out the related result on the basis of congestion control algorithm wants to provide good throughput
some existing networking topology [2]. and Plus latency time and use the maximum capacity of the
This paper presents an implementation of the QIC congestion channel [4].
control algorithm that is based on the TCP BIC. In order to the TCP congestion window control the amount of packets a TCP
ns3 TCP BIC that is most widely used by the Linux operating flow they've in the network whenever you want the congestion
system [3]. I enhance the congestion control algorithm TCP back window is defined using additive increase multiplicative
that use the methodology of the congestion window increase in decrease AMD mechanism that probes the available bandwidth
a binary manner whereas I will change a little bit in this dynamically adapting to changing network conditions the AMD
algorithm to check the performance of quadric congestion mechanism work well when the sender continuously has data to
control window increase the effect is immense to attract our send as is typically the case for TCP used for bulk data transfer
attention. current TCP implementation have a variety of the behaviors for
The rest of this paper is organized as in the following sections setting up after an ideal period some current TCP
the basic of the TCP in section II, section III related work of the implementation slow start after an ideal period longer than the
TCP congestion control algorithm, section IV simulation setup, RTO estimates as suggested in [5] RFC 2581.
and section V have the simulation result matrix the last section While other implementations aren't reduced their congestion
window after an ideal period. Once the congestion window is
reduced the slow start threshold remains as a memory of the
recent condition window. sending of back again to back packets and minimum are set. Than Readjust the new condition window
are facing packets out over the period of a circular trip time and maximum size to be the same as the new target window that is
old congestion window that has not been fully using for some the midpoint and then we adjust the mark and apply binary
time can't be trusted being an indication of the bandwidth search it has an effect to reduce the increasing rate of the big
currently readily available for a floor we'd contain that the window allows the smaller window to catch up this strategy
mechanism to piss out packet allowed by the congestion window called first convergence [9].
are largely used to determine the correct size of the congestion The detailed description of TCP BIC algorithm could be
window. [6] found in [10]. A diagram of this algorithm during the Congestion
The Mechanism to determine the RTO Round Trip Timeout, Avoidance phase is shown in figure 1
in the most up-to-date ideal period could also be implemented
using the timer every packet received RTO after check always
per packet.
Figure 1 TCP BIC congestion avoidance representation
3. Related Work
That is a very challenging task to style a fresh protocol that
may satisfy all of the criteria like in congestion control these
criteria are RTT fairness TCP friendliness and scalability [7]. A
protocol should adopt its window control with regards to the
size of the window. TCP Bic the congestion control problem is
viewed as a research problem [8]. The TCP BIC is binary
increase congestion control that consists two parts binary search
increase and additive increase.

3.1. Binary search increase


Starting points with this search our current maximum
window size and maximum window size usually Wmin and W
max are the windows I just before the past recovery.  The
algorithm rapidly computes the midpoint between Wmax and
Wmin set the present window size to the midpoint and check for
feedback in the proper execution of packet loss.
If there is a package loss and then present threshold
4. Simulation set up
minimum increments. This technique is called binary search
increase allow bandwidth propping to become more aggressive In this section, I have evaluated and analyzed the different
initially when the difference from the present window size to the type of congestion control algorithms as TCP Westwood, BIC,
mark window size is large and become less aggressive as the NewReno, scalable, Illinois, and QIC. I am using a simple
present window size gets nearer to the mark window size [9]. network scenario and applied through the network simulator
NS3. To test the behavior of each Protocol in the bottleneck
3.2. Additive Increase bandwidth network, I used simple simulation Technology
consisting of a single sender and a single receiver interconnected
To make certain convergence at RTT fairness the binary
to each other through a router at the other end; this is shown in
search in trees having an additive increase strategy also. Once
Figure 2. Here I create a point to point connection between the
the distance from the midpoint to a current minimum is too big
sources and sink and simulate according to different bandwidth
increase window size right to the midpoint. Once the distance
channel between server to the router and varying the time of
from the present window size of the mark is less compared to
simulation. Each TCP congestion control algorithm is an analysis
the Smax, during those times window increase right to the mark
on the basis of the congestion window, Round trip time and
[9]. 
finally gets the throughput. Table 1 shows the network
3.3. Slow Start simulator parameters that used in simulation through NS3. [11].

 The TCP congestion control algorithm runs a “slow start”


strategy to probe for a fresh maximum, once the present window Figure 2 TCP congestion Simulation network Scenario
size is more than Wmax but smaller than Wmax+Smax. The
congestion window increases in each RTT round in steps.
Under the fast convergence, the binary search increase 10 Mb/s, 0.45 ms 2Mb/s,0.01ms
combines in multiplicative decrease converges to great amount
search.  Considering that the large window reduces more and
multiplicative decrease. The fast convergence strategy the binary
search increase following a window reduction new maximum

2
Table 1 Simulation variables and its values Packet delivery time = Transmission time + Propagation
delay

Parameters Values 5.5. Packet Loss


Bottleneck Bandwidth 2 Mb/s
The number of dropped packet when the buffered becomes
Time of Simulation 50 seconds
full or stored, packed time to live exceeds
Queue Type PfifoFastQueueDisc
Nodes 2
Delay 0.01 ms 6. TCP QIC analysis with others
TCP Congestion Control TCP Westwood, BIC, NewReno, On the basis of the simulation result, it is studied that the
Algorithms scalable, Illinois, and QIC throughput of the TCP QIC having some substantial value in
Access Bandwidth 10 Mb/s comparing to another congestion control algorithm. This is
Access Delay 0.45 ms
represented by the figure 3. In this graph the throughput
representation in increasing order.

5. Result evaluation matrix Figure 3 Throughput comparison between congestion control


Where the performance of the congestion control algorithms algorithms in increasing order
evaluated three major performance metrics is really as average
throughput, average goodput, average Queue delay and the
typical package reception. These metrics are calculated on the
bottleneck link in both directions. To pull these values trade
shows are established along the network device on the router
every time a packet is received by the unit the method. Which
calculates performance metrics assignment of the timestamp to
packet while they enqueued and dequeued is implemented by
the callback function.

5.1. Throughput
It's measured as the ratio of the full total amount of receiving
data and the full total simulation run time [11].
                Average Throughput =Total data received /
Simulation time

5.2. Goodput
In computer networks, goodput is the application- level
throughput. The quantity of data considered excludes protocol
overhead bits as well as retransmitted data packets Figure 4 Goodput graph for bottleneck bandwidth 2Mb/s in
increasing order
5.3. Delay (End to End)
dend-end= N[ dtrans+dprop+dproc+dqueue]
Where
dend-end= end-to-end delay
dtrans= transmission delay
dprop= propagation delay
dproc= processing delay
dqueue= Queuing delay
N= number of links (Number of routers - 1)
Note: we have neglected queuing delays.
The average end-to-end delay measured by the full total time
taken by sent packets, divided by the full total time taken by
received packets.

5.4. Packet Delivery Ratio


It's a percentage of a bundle generated by the source and the
number of packets sent to the destination [11].

3
In figure 4 represent the goodput graph. The throughput and
goodput result of the simulation 50 seconds for 2 Mb/s bottleneck
bandwidth. I have simulated with different cases of bandwidth
(2,5,10) and simulation time(25,50,80) but the observation is that
the when bandwidth increasing the congestion windows is
increasing significantly and congestion does not occur for this
scenario that’s why here only one simulation results describe.
In the figure 5shows the end to end delays in transmission. In
this graph, the average delay calculated that show the lowest
average delay TCP Westwood, NewReno, and Scalable and
highest average delay TCP Illinois and BIC. Whereas, TCP QIC
have an average delay between lowest to highest. In this respect,
the TCP QIC performance is more honest than the TCP BIC and
Illinois.

Figure 5 Average end to end delay representation


Figure 7 represents the data packet transmission speed that is
represented by the lambda. Lambda is the data packet send per
second. If data packet sends per second is higher that means the
data packed acknowledgment received speed is higher, that
show the congestion prevention and congestion control is
efficiently handled by the TCP QIC rather than TCP BIC,
Westwood, NewReno, Illinois and Scalable.

Figure 7 packet send speed

The following figure 6 indicates the number of packets sends


by each TCP congestion control algorithm in increasing order
these are interpreted by the graph. It is very simple logic when
the number of packets sent by any algorithm then data more
transmitted and it shows the maximum utilization of the
bandwidth and produced maximum throughput. It is proved by
the above and below graphs that the TCP QIC is having an
advantage in terms of throughput and data transmitting.

Figure 6 Packet received in 50 seconds simulation

If the data packet sends speed higher but receiving speed not
similar to the sending speed in this situation congestion occur
and data packets are left out and retransmission of same data
packets. This is affecting the throughput and average end to end
delay.

7. Conclusion
This paper proposes a TCP congestion control algorithm
based on the TCP BIC that is a quadric congestion control (QIC).
TCP QIC is a simulation of the different parameter values using
the ns3 simulator. The simulation metrics are generated after 50-
second simulation each of the congestion control algorithms
simulated same time. The different variety of graph plotted on

4
the basis of simulation Matrix result that represents the TCP Reno, and Vegas TCP congestion control,”
QIC having better throughput and Goodput. TCP QIC having SIGCOMM Comput. Commun. Rev., vol. 34, no. 2,
efficient data packet transmission speed and it also receives a p. 25, 2004.
maximum number of packets within a 50 second of simulation [5] “RFC 2581 - TCP Congestion Control,”
time. TCP QIC average delay time is higher from lowest delay [6] “RFC 3465 - TCP Congestion Control with
time but it is lower than the highest delay time. Finally, I say
Appropriate Byte Counting …ABC—,”
that the TCP QIC having better performance than the other TCP
[7] W. Hua and G. Jian, “Analysis of TCP BIC
congestion control algorithms as Westwood, Illinois, NewReno,
Congestion Control Implementation,” pp. 781–784.
BIC and scalable.
[8] https://www.nsnam.org/docs/models/html/tcp.html.
REFERENCES [9] L. Xu and K. Harfoush and I. Rhee, Binary Increase
Congestion Control (BIC) for Fast Long-Distance
[1] K. Nagori, M. Balachandran, A. Deepak, M. P. Networks. Piscataway, N.J: IEEE, 2004.
Tahiliani, and B. R. Chandavarkar, “Common TCP [10] SeyedShams Feyzabadi, “Identifying TCP
Evaluation Suite for ns-3,” pp. 9–16. Congestion Control Mechanisms Using Active
[2] P. Yang et al., “TCP Congestion Avoidance Probing,”
Algorithm Identification,” IEEE/ACM Trans. [11] Girish Paliwal and Swapnesh Taterh, Ed., Impact of
Networking, vol. 22, no. 4, pp. 1311–1324, 2014. Dense Network in MANET Routing Protocols
[3] Brett Levasseur, Mark Claypool,Robert Kinicki, “A AODV and DSDV Comparative Analysis Through
TCP CUBIC Implementation in ns-3 ∗,” vol. In NS3: Proceedings of SoCTA 2016, Volume 1.
Proceedings of the 2014 Workshop on ns-3 (p. 3). Singapore: Springer Singapore, 2018.
ACM., pp. 1–12, 2014.
[4] L. A. Grieco and S. Mascolo, “Performance
evaluation and comparison of Westwood+, New

You might also like