Analysis of Internet Transport Service Performance with Active Queue Management in a QoS-enabled Network



Similar documents
Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

17: Queue Management. Queuing. Mark Handley

Active Queue Management

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

Active Queue Management (AQM) based Internet Congestion Control

Active Queue Management

Passive Queue Management

TCP, Active Queue Management and QoS

Internet Quality of Service

Protagonist International Journal of Management And Technology (PIJMT) Online ISSN Vol 2 No 3 (May-2015) Active Queue Management

Robust Router Congestion Control Using Acceptance and Departure Rate Measures

Improving QOS in IP Networks. Principles for QOS Guarantees. Principles for QOS Guarantees (more) Principles for QOS Guarantees (more)

Lecture 15: Congestion Control. CSE 123: Computer Networks Stefan Savage

Quality of Service (QoS)) in IP networks

Performance Analysis of AQM Schemes in Wired and Wireless Networks based on TCP flow

TCP in Wireless Mobile Networks

Investigation and Comparison of MPLS QoS Solution and Differentiated Services QoS Solutions

Network management and QoS provisioning - QoS in the Internet

Active Queue Management and Wireless Networks

Lecture 16: Quality of Service. CSE 123: Computer Networks Stefan Savage

Chapter 7 outline. 7.5 providing multiple classes of service 7.6 providing QoS guarantees RTP, RTCP, SIP. 7: Multimedia Networking 7-71

TCP over Multi-hop Wireless Networks * Overview of Transmission Control Protocol / Internet Protocol (TCP/IP) Internet Protocol (IP)

A Hysteretic Model of Queuing System with Fuzzy Logic Active Queue Management

Master s Thesis. A Study on Active Queue Management Mechanisms for. Internet Routers: Design, Performance Analysis, and.

18: Enhanced Quality of Service

Parallel TCP Data Transfers: A Practical Model and its Application

16/5-05 Datakommunikation - Jonny Pettersson, UmU 2. 16/5-05 Datakommunikation - Jonny Pettersson, UmU 4

CS551 End-to-End Internet Packet Dynamics [Paxson99b]

Comparative Analysis of Congestion Control Algorithms Using ns-2

Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:

"Charting the Course to Your Success!" QOS - Implementing Cisco Quality of Service 2.5 Course Summary

Distributed Systems 3. Network Quality of Service (QoS)

Performance improvement of active queue management with per-flow scheduling

TCP in Wireless Networks

Mobile Communications Chapter 9: Mobile Transport Layer

Application Level Congestion Control Enhancements in High BDP Networks. Anupama Sundaresan

Requirements for Simulation and Modeling Tools. Sally Floyd NSF Workshop August 2005

Quality of Service versus Fairness. Inelastic Applications. QoS Analogy: Surface Mail. How to Provide QoS?

Real-time apps and Quality of Service

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

CS/ECE 438: Communication Networks. Internet QoS. Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE

Active Queue Management

Lecture Objectives. Lecture 07 Mobile Networks: TCP in Wireless Networks. Agenda. TCP Flow Control. Flow Control Can Limit Throughput (1)

Optimizing Converged Cisco Networks (ONT)

Chapter 6 Congestion Control and Resource Allocation

How To Provide Qos Based Routing In The Internet

IMPLEMENTING CISCO QUALITY OF SERVICE V2.5 (QOS)

Implementing Cisco Quality of Service QOS v2.5; 5 days, Instructor-led

Analyzing Marking Mod RED Active Queue Management Scheme on TCP Applications

Aggregate Traffic Performance with Active Queue Management and Drop from Tail

The network we see so far. Internet Best Effort Service. Is best-effort good enough? An Audio Example. Network Support for Playback

Quality of Service on the Internet: Evaluation of the IntServ Architecture on the Linux Operative System 1

An enhanced TCP mechanism Fast-TCP in IP networks with wireless links

Transport layer issues in ad hoc wireless networks Dmitrij Lagutin,

TCP for Wireless Networks

TCP and Wireless Networks Classical Approaches Optimizations TCP for 2.5G/3G Systems. Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme

Cisco Quality of Service and DDOS

Announcements. Midterms. Mt #1 Tuesday March 6 Mt #2 Tuesday April 15 Final project design due April 11. Chapters 1 & 2 Chapter 5 (to 5.

High-Speed TCP Performance Characterization under Various Operating Systems

Using TrueSpeed VNF to Test TCP Throughput in a Call Center Environment

Seamless Congestion Control over Wired and Wireless IEEE Networks

Netest: A Tool to Measure the Maximum Burst Size, Available Bandwidth and Achievable Throughput

Why Congestion Control. Congestion Control and Active Queue Management. Max-Min Fairness. Fairness

- QoS and Queuing - Queuing Overview

Active Queue Management A router based control mechanism

A Survey On Active Queue Management Mechanisms

Achieving QoS for TCP traffic in Satellite Networks with Differentiated Services

Access Control: Firewalls (1)

QoS Strategy in DiffServ aware MPLS environment

TCP over Wireless Networks

Modeling Active Queue Management algorithms using Stochastic Petri Nets

TCP/IP Over Lossy Links - TCP SACK without Congestion Control

An Adaptive RIO (A-RIO) Queue Management Algorithm

Integrated Service (IntServ) versus Differentiated Service (Diffserv)

Low-rate TCP-targeted Denial of Service Attack Defense

Overview : Computer Networking. Components of Integrated Services. Service Interfaces RSVP. Differentiated services

Authors Mário Serafim Nunes IST / INESC-ID Lisbon, Portugal mario.nunes@inesc-id.pt

Novel Approach for Queue Management and Improvisation of QOS for Communication Networks

CROSS LAYER BASED MULTIPATH ROUTING FOR LOAD BALANCING

02-QOS-ADVANCED-DIFFSRV

STANDPOINT FOR QUALITY-OF-SERVICE MEASUREMENT

Quality of Service (QoS) on Netgear switches

Technology Overview. Class of Service Overview. Published: Copyright 2014, Juniper Networks, Inc.

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

Multimedia Requirements. Multimedia and Networks. Quality of Service

Packet Queueing Delay

Simulation-Based Comparisons of Solutions for TCP Packet Reordering in Wireless Network

TCP Trunking for Bandwidth Management of Aggregate Traffic

Congestions and Control Mechanisms n Wired and Wireless Networks

The Interaction of Forward Error Correction and Active Queue Management

King Fahd University of Petroleum & Minerals Computer Engineering g Dept

Improving our Evaluation of Transport Protocols. Sally Floyd Hamilton Institute July 29, 2005

Motivation. QoS Guarantees. Internet service classes. Certain applications require minimum level of network performance:

Transcription:

University of Helsinki - Department of Computer Science Analysis of Internet Transport Service Performance with Active Queue Management in a QoS-enabled Network Oriana Riva oriana.riva@cs.helsinki.fi

Contents TCP Congestion Control in the Internet Router queue management algorithms Tail Drop discipline Active Queue Management (AQM) Goals Random Early Detection (RED) Test Arrangements Test Environment Test Cases Test Results and Analysis Conclusions 12.6.2003 University of Helsinki - Department of Computer Science 2

TCP Congestion Control in the Internet Internet has grown and TCP congestion control mechanisms are not sufficient to provide good service in all circumstances Wired vs. Wireless The Internet is evolving to support QoS Problem: There is a limit to how much control can be accomplished from the edges of the network A possible solution is an advanced form of router queue management such as Active Queue Management (RFC 2309) Current router algorithm employed in the Internet: Tail Drop 12.6.2003 University of Helsinki - Department of Computer Science 3

Tail Drop buffer Principle: fix the maximum length for each queue, accept packets for the queue until the maximum length is reached, then drop subsequent incoming packets Advantages easy to implement Disadvantages Full Queues Discriminate against bursty traffic and cause multiple packets to be dropped Synchronization of sources Lock-Out: a single connection or few flows manage to monopolize the available queue resources 12.6.2003 University of Helsinki - Department of Computer Science 4

Active Queue Management (AQM) Based on a proactive approach: drop packets before buffer becomes full use the average queue length as congestion indicator Can provide the following advantages for responsive flows Control the average queuing delay and reduce end-to-end latency Guarantee more equity in resources utilization (fairness) Reduce the number of packets dropped in routers Provide greater capacity to absorb bursts without dropping packets Avoid global synchronization of sources Avoid Lock-Out behaviour The most famous example of AQM is the Random Early Detection (RED) algorithm 12.6.2003 University of Helsinki - Department of Computer Science 5

RED - Algorithm Calculate the average queue size (avg) by a low pass filtering with weight w q, 0<w q <1 avg n + 1 = ( 1 wq)avgn + w q ist =instantaneous queue length If avg<min th do nothing If avg>max th drop the packet Else drop (or mark) packet with probability: p' p = = max p (avg min p'/( 1 count p') th )/(max q th q ist min th ) Dropping/Marking Probability, p' p=1 count =number of unmarked packets since the last time a packet was dropped or since avg exceeded min th avg max th min th 12.6.2003 University of Helsinki - Department of Computer Science 6

Source UDP 100Mbit/s TCP Test Arrangements Intermediate Router Wired Network 10Mbit/s Last-hop Router 140 kbit/s bottleneck Destination Wireless Network imple scenario (Each scenario is tested with 20 replications) PC with Linux Operating System (kernel version 2.4.17) Standard Linux TCP Implementation with SACK option (Timestamps: OFF The Intermediate Router employs Tail Drop with a huge buffer size The Last-hop Router employs Tail Drop or RED without ECN RED Parameters: buffer size=20kbytes, min th =5kbytes, max th =18kbytes, max p =0.1 Metrics: Elapsed Time, Num Retx Packets, Fairness, etc.. 12.6.2003 University of Helsinki - Department of Computer Science 7

Test Arrangements - Test Environment The last-hop router implements a DiffServ (DS) PHB using HTB (Hierarchical Token Bucket) packet scheduler with two service classes Each service class employs Tail Drop or RED Queuing allocates bandwidth and buffer space: Bandwidth: which packet to serve next (scheduling) Buffer Space: which packet to drop next (buffer management) Traffic Sources TCP TCP UDP TCP UDP UDP Traffic Classes Class TCP Class UDP Scheduling HTB Tail Drop/RED Drop Buffer Management 12.6.2003 University of Helsinki - Department of Computer Science 8

Test Arrangements - Test Case 1 Workload: 3 competing TCP flows 1 service class bottleneck bandwidth =140kbit/s 2 TCP connections start simultaneously (data traffic sent=292kbytes) The third connection starts with a delay varying from 0 up to 7 seconds (data traffic sent= 46.7kbytes) TCP 1 TCP 2 TCP 3 R R bottleneck 140kbit/s TCP 1 TCP 2 TCP 3 data sent = 292kbytes data sent= 46.7kbytes 12.6.2003 University of Helsinki - Department of Computer Science 9

Test Arrangements - Test Case 2 Workload: TCP and UDP traffic with DiffServ The UDP traffic starts later and has different duration 1. The UDP traffic lasts for the entire duration of the TCP transfe 2. The UDP traffic ends before the TCP connection ends Effects derived from the introduction of service differentiation: 1. Unique service class for TCP and UDP traffic (available bandwidth=140kbit/s) 2. Separate service classes for TCP traffic and higher-priority UDP traffic (class bandwidth=70kbit/s) bottleneck (140kbit/s) TCP UDP R R DS 70/140kbit/s 70/100kbit/s TCP UDP 12.6.2003 University of Helsinki - Department of Computer Science 10

Results Test Case 1 3 competing TCP connections Results of the third connection for different starting points Elapsed Time Three-way Handshake Phase Elaps.Time (sec) 25 23 21 19 17 15 13 11 9 7 RED Tail Drop 0 2 4 5 5,5 starting time of the third flow (sec) Hand.phase (sec) 5 4 3 2 1 0 RED Tail Drop 0 2 4 5 5,5 starting time of the third flow (sec) Stable results and improved performance when RED is employed Tail Drop Scenario after 2 seconds: the elapsed time doubles the RED s one! 12.6.2003 University of Helsinki - Department of Computer Science 11

Results Test Case 1 3 competing TCP connections Elapsed Time of the 3rd flow Tail Drop RED Elapsed Time (sec) 45 40 35 30 25 20 15 10 5 0 Min Median Max 25% Percentile 75% Percentile 0 2 4 5 5,5 starting time of the third flow (sec) Wide variation range Elapsed Time (sec) 45 40 35 30 25 20 15 10 5 0 Min Median Max 25% Percentile 75% Percentile 0 2 4 5 5,5 starting time of the third flow(sec) Limited variation range 12.6.2003 University of Helsinki - Department of Computer Science 12

Test Case 1 - Lock-Out of Tail Drop Tail Drop: example from the scenario after 2 seconds The initial flows monopolize most of the bandwidth (phenomenon of Lock-Out) The exponential retransmit back-off rule doubles the retransmit timer when a retransmitted packet is lost 12.6.2003 University of Helsinki - Department of Computer Science 13

Results - Test Case 1 3 competing TCP flows Third flow s data load is 4/25 of the initial flows data load RED guarantees to the third flow improved and stable performance RED drops packets in proportion to the amount of bandwidth the flow uses on the output link Elaps.Time(sec) Num Retx Pkts 40 30 20 10 15 10 5 0 0 Tail Drop - Elapsed Time fastest flow slowest flow 3rd flow 0 2 4 5 5,5 starting time of the third flow (sec) Tail Drop - Retx Packets fastest flow slowest flow 3rd flow 0 2 4 5 5,5 starting time of the third flow (sec) RED - Elapsed Time 12.6.2003 University of Helsinki - Department of Computer Science 14 Elaps. Time (sec) Num Retx Pkts 40 30 20 15 10 10 5 0 0 fastest flow slowest flow 3rd flow 0 2 4 5 5,5 starting time of the third flow (sec) RED - Retx Packets fastest flow slowest flow 3rd flow 0 2 4 5 5,5 starting time of the third flow (sec)

Results - Test Case 2 Single TCP flow competing with UDP traffic lasting 5sec El.Time (sec) Elapsed Time of the TCP flow Tail Drop RED 26 Tail Drop + DS RED + DS 25,5 25 24,5 24 23,5 Num of Recv Pkts Num of Received UDP Pkts Tail Drop RED Tail Drop + DS RED + DS 300 250 200 150 100 23 0 2 7 12 16 18 starting time of the UDP flow (sec) 50 0 2 7 12 16 18 starting time of the UDP flow (sec) 1 service class : Tail Drop: unstable results for both TCP and UDP traffic RED: performance close to the results with 2 service classes 2 service classes (Higher priority UDP traffic) Tail Drop and RED achieve the same performance 12.6.2003 University of Helsinki - Department of Computer Science 15

Test Case 2 - Unfairness of Tail Drop TCP traffic competing with UDP traffic of equal priority The performance changes by varying the starting point of the UDP traffic TCP El. Time=25.5s UDP Rec Pkts=181 TCP El. Time=23.7s UDP Rec Pkts=127 TCP El. Time=24.5s UDP Rec Pkts=224 UDP flow starts 12.6.2003 University of Helsinki - Department of Computer Science 16

Results Test Case 2 Time Sequence Graph of Traffic TCP competing with higherpriority UDP traffic starting after 0.5s Tail Drop: el. time=8.3s Timeout expiration Start to drop packets late Discard consecutive packets RED: el. time=4.9s 3 DUPACKs Start to drop packets early Discard randomly + SACK option 12.6.2003 University of Helsinki - Department of Computer Science 17

Results Test Case 2 1 TCP flow + UDP traffic (starting after 3 seconds) in presence of service differentiation Tail Drop: el.time=35.9s; rtx pkts=1 RED: el.time=35,8s; rtx pkts=7 The dropped packets are evenly distributed over a wide range The Recovery phase with Tail Drop is roughly the double of the RED s one 12.6.2003 University of Helsinki - Department of Computer Science 18

RED fairness Conclusions Fair sharing of resources Avoid Lock-Out Stable results RED drops more packets than Tail Drop, BUT By starting to drop packets early it manages to recover quickly from congestion and provides improved performance It drops packets from each flow in proportion to the amount of bandwidth the flow uses on the output link 12.6.2003 University of Helsinki - Department of Computer Science 19

Wired Network DiffServ Router TCP/UDP Future Work DiffServ Router Wireless Network background traffic Source Seawind Destination Emulate various wireless link characteristics on the last-hop link Add background traffic Advanced use of DiffServ with different traffic mixes Use of TCP variants Use of ECN (Explicit Congestion Notification) in combination with RED Tuning of RED parameters 12.6.2003 University of Helsinki - Department of Computer Science 20