SQF NS2
SQF NS2
SQF NS2
org
89
Deptt. of Computer Sc. & Engg, Jaypee Institute of Information Technology, Noida, UttarPradesh, 201307, India
Deptt. of Computer Sc. & Engg, Jaypee University of Information Technology, Waknaghat, Solan, Himachal Pradesh, 173215, India Deptt. of Computer Sc. & Engg, Jaypee University of Information Technology, Waknaghat, Solan, Himachal Pradesh, 173215, India
Deptt. of Electronics & Communication Engg., Jaypee University of Information Technology, Waknaghat, Solan, Himachal Pradesh, 173215, India
4
Deptt. of Electronics & Communication Engg., Thapar University, Patiala, Punjab, 147004, India number of queues to a large extent helps to achieve fairness. RED queue management aims at alleviating this problem by detecting incipient congestion in advance and communicating the same to the end-hosts, allowing them to trim down their transmission rates before queues begin to overflow and packets start dropping. For this, RED maintains an exponentially weighted moving average of the queue length which it used as a congestion detection mechanism [2]. In order to be efficient, RED must ensure that congestion notification is conveyed at a rate which sufficiently suppresses the transmitting sources without underutilizing the link. RED must also ensure that the queue is configured with enough buffer space to hold an applied load greater than the link capacity from the time when congestion detection occurs to the time when the applied load reduces at the bottleneck link in response to the notification regarding congestion. FRED proposes to transform RED mechanisms to provide fairness by using per-active-flow accounting to make different dropping decisions for connections with different bandwidth usages [3]. When a flow persistently occupies a considerable amount of the queues buffer space, it is identified and restrained to a smaller buffer space. Severity of congestion is indicated by queue lengths in various queue management algorithms. This inherent problem can be dealt by a fundamentally different active queue management algorithm, called BLUE [4]. BLUE has been shown to perform significantly better than RED both in terms of packet loss rates and buffer size requirements in the network. If buffer overflow causes the queue to
Abstract
In order to curtail the escalating packet loss rates caused by an exponential increase in network traffic, active queue management techniques such as Random Early Detection (RED) have come into picture. Flow Random Early Drop (FRED) keeps state based on instantaneous queue occupancy of a given flow. FRED protects fragile flows by deterministically accepting flows from low bandwidth connections and fixes several shortcomings of RED by computing queue length during both arrival and departure of the packet. Stochastic Fair Queuing (SFQ) ensures fair access to network resources and prevents a busty flow from consuming more than its fair share. In case of (Random Exponential Marking) REM, the key idea is to decouple congestion measure from performance measure (loss, queue length or delay). Stabilized RED (SRED) is another approach of detecting nonresponsive flows. In this paper, we have shown a comparative analysis of throughput, delay and queue length for the various congestion control algorithms RED, SFQ and REM. We also included the comparative analysis of loss rate having different bandwidth for these algorithms. Keywords:Stochastic Fair Queing (SFQ), Random Early Detection (RED), Random Exponential Marking (REM), First In First Out (FIFO), Throughput, Delay, Queue length, Loss rate, and Utilization.
1. Introduction
SFQ (Stochastic Fair Queuing) is a class of queue scheduling disciplines that are designed to allocate a pretty large number of separate FIFO queues [1]. Increasing the
IJCSI International Journal of Computer Science Issues, Vol. 8, Issue 5, No 1, September 2011 ISSN (Online): 1694-0814 www.IJCSI.org
90
recurrently drop packets, BLUE increments the marking probability, thus augmenting the rate at which congestion notification is sent back [4]. REM is an active queue management scheme that aims to achieve both high utilization and negligible loss and delay in a simple and scalable manner [5]. While congestion measure indicates excess demand for bandwidth and must track the number of users, performance measure, independently of the number of users, should be stabilized around their targets. The first idea of REM [5] attempts to match user rates to network capacity while clearing buffers, irrespective of number of users. The second idea embeds the sum of link prices (congestion measures), summed over all the routers in the path of the user to the end-to-end marking (or dropping) probability [5]. Number of active flows shares a linear relationship with number of different flows in the buffer. We simulated the network configuration having higher delay and lower bandwidth at the main bottleneck link [6]. In this paper, we used ns-2 network simulator. The structure of ns-2 and performance metrics considered in this paper has been given in section 2. In section 3, we described about network configuration and network parameters used in the simulation. This section also deals with implementation and result analysis observed in this simulation. Last section concludes with discussion of future work.
2. Performance Metrics
The complete NS class hierarchy has been shown in Figure 1. Now in the queue object of the hierarchy there are only two active queue management algorithm, RED and Drop tail. Now the other algorithm discussed in the section of network congestion control are implement under this object only. Queue serves as the parent of all these algorithms, and they are appended as a child to this element in the hierarchy. Similarly other can also be deployed in ns2 architecture and make them run [7].
Packets can be lost in a network because they may be dropped when a queue in the network node overflows. The amount of packet loss during the steady state is another important property of a congestion control scheme. The larger the value of packet loss, the more difficult it is for transport-layer protocols to maintain high bandwidths, the sensitivity to loss of individual packets, as well as to frequency and patterns of loss among longer packet sequences is strongly dependent on the application itself. This characteristic can be specified in a number of different ways, including loss rate, loss patterns, loss free seconds, and conditional loss probability. In this paper, we considered that packet loss would occur only due to the dropping of the packets. There is no loss due to other means.
2.3 Throughput
This is the main performance measure characteristic, and most widely used. This measure how soon the receiver is able to get a certain amount of data send by the sender. It is determined as the ratio of the total data received to the end to end delay. Throughput is an important factor which directly impacts the network performance.
IJCSI International Journal of Computer Science Issues, Vol. 8, Issue 5, No 1, September 2011 ISSN (Online): 1694-0814 www.IJCSI.org
91
2.4 Delay
Delay is the time elapsed while a packet travels from one point (e.g., source premise or network ingress) to another (e.g., destination premise or network degrees). The larger the value of delay, the more difficult it is for transport layer protocols to maintain high bandwidths. This characteristic can be specified in a number of different ways, including average delay, variance of delay (jitter), and delay bound. In this paper, we calculated end to end delay
bottleneck link. We simulated these three algorithms RED, SFQ, and REM on the same bottleneck link R 1 R 2 . Firstly we consider the bottleneck link to 5Mbps for each considered AQM algorithm. We considered a fixed packet size of 2 KB and buffer capacity of 4KB throughout the simulation. Round trip delay for each link has been displayed in Table 1. So it could be concluded from the Table 1 that minimum end to end delay should be larger than 60 ms. Our simulation has been observed over the period of 100 seconds. Whole simulation has been observed over small buffer capacity of 4KB.
IJCSI International Journal of Computer Science Issues, Vol. 8, Issue 5, No 1, September 2011 ISSN (Online): 1694-0814 www.IJCSI.org
92
(a) RED
(a)RED
(b) SFQ
(b)SFQ
(c)REM
(c) REM
Fig. 4 Loss Rate for various algorithms (a) RED, (b) SFQ, (c) REM
Fig. 5 Throughput Diagram for various algorithms (a) RED, (b) SFQ, (c) REM
IJCSI International Journal of Computer Science Issues, Vol. 8, Issue 5, No 1, September 2011 ISSN (Online): 1694-0814 www.IJCSI.org
93
(a) RED
(a)RED
(b)SFQ (b)SFQ
(c)REM
(c)REM
Fig. 6 Delay Diagram for various algorithms (a) RED, (b) SFQ, (c) REM
Fig. 7 Queue Length Diagram for various Algorithms (a) RED, (b) SFQ, (c) REM
IJCSI International Journal of Computer Science Issues, Vol. 8, Issue 5, No 1, September 2011 ISSN (Online): 1694-0814 www.IJCSI.org
94
Queue length
Max. Min.
Throughput
Max. Min.
Delay
Max. Min.
packets sent over the bottleneck link R 1 R 2 and total number of packets lost during the simulation over the period of 100 seconds. SFQ has a minimum average loss ratio and RED has a maximum loss ratio. Now actual number of bytes transmitted over the bottleneck link R 1 R 2 could be computed termed as utilization has been shown in Table 2. It has been observed that performance parameters are varying according to the algorithms. RED achieved the best result in terms of the delay but in terms of throughput, loss ratio, and utilization REM shows the best results. If we would provide the equal weightage to each performance parameter then we could conclude that REM would be the better one among all three algorithms considered in our simulation. Ranking for each performance parameter has been displayed in Table 3 as A indicates a higher ranking and ranking decrease up to C. For future work, we plan to extend the simulation for the new algorithm which would comprise all the advantage of each algorithm. There would be hybridization of RED, SFQ, and REM to provide the better results.
0.4064 59.45
Queue Length
0.1316 68.08
Throughput
0.1344 78.58
Loss Rate
A B C
A B C
C B A
C A B
References
[1] [2] P.E. Meckenney, Stochastic Fair Queuing, In proceedings of INFCOM, vol. 2, pp. 733-740, June 1990. S. Floyd and V. Jacobson. Random early detection gateways for congestion avoidance. IEEE/ACM Trans. On Netwoking, vol.1, no.4, pp.397413, August 1993. D.Lin and R. Morris, Dynamics of random early detection,, ACM SIGCOMM Computer Communication Review, vol. 27,no.4, pp.127-137, October 1997. W. Feng, K. G. Shin,, D. D. Kandlur, , and D. Saha,, The BLUE Active Queue Management Algorithms, IEEE/ACM Transaction on Networking, vol. 10, no. 4, pp.513 528, August 2002. S.Athuraliya, Victor H. Li, Steven H. Low and Qinghe YinK. Elissa, REM: Active Queue Management, IEEE Network, vol. 15 ,no.3, pp. 48 53, August 2002. S. Patel, P. Gupta and G. Singh, Performance Measure of Drop tail and RED, In proceedings of ICECT , pp. 35 38, June 2010. Network Simulator Manual, http:www.isi.edu/nsam/ns/index.html.
Figure 6 plots the actual response time for each packet achieved in RED, SFQ, and REM. It has been observed from Table 2 that minimum delay occurred in each algorithm is same but maximum delay achieved in REM. Therefore we could conclude that each algorithm would get a same response time provided congestion has been observed because queueing delay would be same for each algorithm if there is no congestion in network.
[4]
[5]
[6] [7]