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



Similar documents
A packet-reordering solution to wireless losses in transmission control protocol

Improving the Performance of TCP Using Window Adjustment Procedure and Bandwidth Estimation

TCP in Wireless Mobile Networks

A Survey: High Speed TCP Variants in Wireless Networks

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

A Survey on Congestion Control Mechanisms for Performance Improvement of TCP

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

An Improved TCP Congestion Control Algorithm for Wireless Networks

TCP PACKET CONTROL FOR WIRELESS NETWORKS

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

Student, Haryana Engineering College, Haryana, India 2 H.O.D (CSE), Haryana Engineering College, Haryana, India

SJBIT, Bangalore, KARNATAKA

TCP over Wireless Networks

Outline. TCP connection setup/data transfer Computer Networking. TCP Reliability. Congestion sources and collapse. Congestion control basics

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

Data Networks Summer 2007 Homework #3

International Journal of Scientific & Engineering Research, Volume 6, Issue 7, July ISSN

Transport Layer Protocols

Effect of Packet-Size over Network Performance

AN IMPROVED SNOOP FOR TCP RENO AND TCP SACK IN WIRED-CUM- WIRELESS NETWORKS

TCP for Wireless Networks

Research of TCP ssthresh Dynamical Adjustment Algorithm Based on Available Bandwidth in Mixed Networks

Computer Networks. Chapter 5 Transport Protocols

SELECTIVE-TCP FOR WIRED/WIRELESS NETWORKS

TCP Westwood for Wireless

TCP in Wireless Networks

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

A Qos SCHEME TO ADDRESS COMMUNICATION LATENCY ISSUES FOR CRITICAL NETWORK FLOWS IN BEST-EFFORT NETWORKS USING MOBILE AGENTS

Mobile Communications Chapter 9: Mobile Transport Layer

Congestions and Control Mechanisms n Wired and Wireless Networks

A Passive Method for Estimating End-to-End TCP Packet Loss

An enhanced approach for transmission control protocol traffic management Mechanism for Wireless Network

Transport layer issues in ad hoc wireless networks Dmitrij Lagutin,

A Study on TCP Performance over Mobile Ad Hoc Networks

TCP and UDP Performance for Internet over Optical Packet-Switched Networks

High Speed Internet Access Using Satellite-Based DVB Networks

Mobile Computing/ Mobile Networks

First Midterm for ECE374 03/24/11 Solution!!

This sequence diagram was generated with EventStudio System Designer (

THE Transmission Control Protocol (TCP) has proved

CSE 473 Introduction to Computer Networks. Exam 2 Solutions. Your name: 10/31/2013

Names & Addresses. Names & Addresses. Hop-by-Hop Packet Forwarding. Longest-Prefix-Match Forwarding. Longest-Prefix-Match Forwarding

TCP Fast Recovery Strategies: Analysis and Improvements

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

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science

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

CSE331: Introduction to Networks and Security. Lecture 9 Fall 2006

TCP based Denial-of-Service Attacks to Edge Network: Analysis and Detection

CS268 Exam Solutions. 1) End-to-End (20 pts)

2 TCP-like Design. Answer

APPENDIX 1 USER LEVEL IMPLEMENTATION OF PPATPAN IN LINUX SYSTEM

A Network-Controlled Architecture for SCTP Hard Handover

TCP/IP Optimization for Wide Area Storage Networks. Dr. Joseph L White Juniper Networks

Low-rate TCP-targeted Denial of Service Attack Defense

High-Speed TCP Performance Characterization under Various Operating Systems

B-2 Analyzing TCP/IP Networks with Wireshark. Ray Tompkins Founder of Gearbit

Chapter 5. Transport layer protocols

STUDY OF TCP VARIANTS OVER WIRELESS NETWORK

Secure SCTP against DoS Attacks in Wireless Internet

Stop And Wait. ACK received; transmit frame 2 CS 455 3

PART III. OPS-based wide area networks

TRANSPORT LAYER AND SECURITY PROTOCOLS FOR AD HOC WIRELESS NETWORKS

TCP Flow Control. TCP Receiver Window. Sliding Window. Computer Networks. Lecture 30: Flow Control, Reliable Delivery

The Problem with TCP. Overcoming TCP s Drawbacks

Active Queue Management (AQM) based Internet Congestion Control

Linux TCP Implementation Issues in High-Speed Networks

Sample Network Analysis Report

CHAPTER 8 CONCLUSION AND FUTURE ENHANCEMENTS

A Seamless Handover Mechanism for IEEE e Broadband Wireless Access

A study of Skype over IEEE networks: voice quality and bandwidth usage

ALTHOUGH it is one of the first protocols

Servicesin ns-3. Outline SIMULACIÓN DE PROTOCOLOS DE ENRUTAMIENTO PARA REDES MÓVILES AD-HOC MEDIANTE HERRRAMIENTA DE SIMULACIÓN NS-3

Computer Networks - CS132/EECS148 - Spring

Behavior Analysis of TCP Traffic in Mobile Ad Hoc Network using Reactive Routing Protocols

A Comparison of TCP Performance over Three Routing Protocols for Mobile Ad Hoc Networks

ECSE-6600: Internet Protocols Exam 2

Network Friendliness of Mobility Management Protocols

Quality of Service using Traffic Engineering over MPLS: An Analysis. Praveen Bhaniramka, Wei Sun, Raj Jain

15-441: Computer Networks Homework 2 Solution

EFFECT OF TRANSFER FILE SIZE ON TCP-ADaLR PERFORMANCE: A SIMULATION STUDY

A Survey on Improving TCP Performance over Wireless Networks

Performance Issues of TCP and MPEG-4 4 over UMTS

Robust Router Congestion Control Using Acceptance and Departure Rate Measures

TCP Over Wireless Network. Jinhua Zhu Jie Xu

COMP 361 Computer Communications Networks. Fall Semester Midterm Examination

The Effect of Packet Reordering in a Backbone Link on Application Throughput Michael Laor and Lior Gendel, Cisco Systems, Inc.

Transcription:

Simulation-Based Comparisons of Solutions for TCP Packet Reordering in Wireless Network 作 者 :Daiqin Yang, Ka-Cheong Leung, and Victor O. K. Li 出 處 :Wireless Communications and Networking Conference, 2007.WCNC 2007. IEEE 指 導 教 授 : 陳 朝 鈞 博 士 報 告 人 : 邱 志 銘 1

動 機 A receiver may not recognize the resultant signal and hence the transmitted data cannot be received. Some schemes, such as the LL protocol proposed in, perform a packet retransmission only after a loss is detected. The retransmitted packets may then be interspersed with other packets belonging to the same traffic flow, and no effort is made to maintain in-order packet delivery. 大 量 的 封 包 失 序 傳 送 會 導 致 傳 輸 效 率 (throughput) 和 網 路 性 能 下 降 Some algorithms, such as RR-TCP, TCP-DCR,TCP-DOOR, and TCP-PR, have been proposed for TCP packet reordering. The performance of these solutions has been studied extensively in wireline scenarios. But, there is a lack of similar studies in wireless networks. 2

Contribution First, we compare the performance, through computer simulations, of some solutions for TCP packet reordering in wireless networks. Second, we present an alternative method to improve the connection goodput in wireless networks through link-layer retransmissions and applying the solutions to TCP packet reordering. We performed a simulation study of four solutions for TCP packet reordering, namely, RR-TCP, TCP-DCR, TCPDOOR, and TCP-PR, under the scenarios of an infrastructure based wireless network and a multi-hop wireless network. We Compared them with two other TCP variants, namely, SACK TCP and TCPW. These solutions have performed the best in each of the four solution categories (state reconciliation, threshold adjustment, response postponement, and retransmission by timeout) as defined in. They merely require some changes in the TCP clients and do not need any modifications to any devices in the underlying communication networks. 3

Overview of TCP 1-1 Sequence Number TCP is a byte-stream protocol, with its flow control and acknowledgement based on byte number rather than packet number. When a destination receives a data segment, it acknowledges the receipt of the segment by issuing an ACK with the next expected data octet number. 分 段 1:10010~12009 * 傳 送 一 個 6000 個 位 元 組 的 檔 案 * 每 個 分 段 可 以 攜 帶 2000 個 位 元 組 * 資 料 會 分 成 三 段 來 傳 送 確 認 值 為 12010 分 段 1:12010~14009 4 第 1 分 段 : 10010 ~12009 第 2 分 段 : 12010 ~14009 第 3 分 段 : 14010 ~16009 發 送 端 確 認 值 為 14010... 接 收 端

Overview of TCP 1-2 Flow control Destination advertises to the associated source the size of a window (advertised window) which indicates the number of data bytes beyond the acknowledged data the source can send to the destination. This information is included in the header of each TCP (data or control) segment sent to the source. Suppose the source knows that, based on ACK(s) received, Byte x is the last data byte received by the destination. The source can send data up to Byte x+w, where W is the size of the advertised window. *The source sequence number space and advertised window 5

Overview of TCP 1-3 Congestion control To achieve good performance, it is necessary to control network congestion. Various congestion control measures have been implemented in TCP to limit the sending rate of data entering the Internet by regulating the size of the congestion window cwnd, the number of unacknowledged segments allowed to be sent. These measures include slow start, congestion avoidance, fast retransmit, and fast recovery. 為 了 處 理 分 段 的 遺 失 或 遭 丟 棄,TCP 使 用 重 送 計 時 器 來 設 定 重 新 再 送 的 時 間, 這 個 時 間 就 是 等 待 一 個 分 段 回 應 的 時 間 6

Overview of TCP 1-4 slow start When a timeout occurs, slow start threshold, ssthresh is set to half of the amount of outstanding data sent to the network. The slow start process is performed starting with cwnd equal to one until cwnd approaches ssthresh. fast retransmit If the communication channel is an in-order channel, the reception of a duplicate ACK implies the loss of a segment. When the source receives dupthresh duplicate ACKs (where dupthresh is generally set to three), fast retransmit is triggered such that the inferred loss segment is retransmitted before the expiration of the retransmission timer. 7

TCP Variants 1-1 Solutions to Packet Reordering RR-TCP TCP-DCR TCP-DOOR TCP-RR SACK TCP TCPW 8

TCP Variants 1-2 RR-TCP: ( 調 整 臨 界 值 ) The reordering-robust TCP (RR-TCP) is a sender-side threshold adjustment solution, which adjusts the duplicate acknowledgement threshold dupthresh dynamically to proactively avoid, whenever possible, triggering a spurious fast retransmission and fast recovery and to avoid triggering a retransmission timeout. TCP-DCR: ( 延 遲 壅 塞 回 應 ) The delayed congestion response TCP (TCP-DCR) is a sender-side response postponement approach, which defers a congestion response for a time period, to prevent unnecessary reduction of the congestion window size due to noncongestion events. TCP-DCR advances the time-delayed fast retransmit algorithm [19] by delaying a congestion response for a time interval after the first duplicate ACK is received. 9

TCP Variants 1-3 TCP-DOOR: ( 狀 態 調 和 ) TCP with detection of out-of-order and response (TCP-DOOR) is a state reconciliation method, which recovers past congestion responses and/or disables future congestion responses for a time period, to eliminate the retransmission ambiguity and solve the performance problems caused by spurious retransmissions. TCP-PR: ( 超 時 重 送 ) TCP for persistent packet reordering (TCPPR) is a sender-side retransmission by timeout algorithm, in which a TCP client generates an appropriate congestion response only when a retransmission timer expires, to tweak the RTO timer to enhance TCP performance under persistent packet reordering. 10

TCP Variants 1-4 SACK TCP: TCP with selective acknowledgement (SACK TCP) applies the selective acknowledgement (SACK) option to report the reception of data segments with sequence numbers higher than the next expected data octet number. A source can then utilize this information to keep track of a list of data segments inferred to be missing at the corresponding destination. TCPW: TCP Westwood (TCPW) is a sender-side solution to alleviate the performance degradation due to non-congestive losses in wired/wireless networks. TCPW adjusts the size of the congestion window upon an inferred segment loss by monitoring the rate of the acknowledged data. 11

Performance evaluation 1-1 Simulation setup 1-1 Infrastructure-based wireless network TCP connection between the two end-system(s and D) is routed via a Wireless base station(bs). The wired link between S and BS has a bandwidth of 100 Mbps and a delay of 5 ms. The wireless link between BS and D has a bandwidth of 1 Mbps and a delay of 50 ms. 12

Performance evaluation 1-2 Simulation setup 1-2 To simulate the unreliable wireless transmissions between BS and the mobile terminal D, we use a packet error model with a configurable packet error rate. Frames or packets experience independent random errors and hence are dropped according to a given packet error rate during link-layer transmissions. Compared with data segments, ACKs are generally smaller in size and more resistant to non-congestive transmission errors. Therefore, we assume that no ACKs are dropped due to non-congestive loss. When a packet is lost due to some transmission errors, it will be retransmitted after the retransmission period τ, provided that the total number of retransmissions for that packet does not exceed a configurable retransmission limit. To mimic a link-layer retransmission of the wireless link, the relationship among the retransmission period τ, segment size S, link bandwidth C, and link delay δ is governed by: 13

Performance evaluation 1-3 Simulation setup 1-3 Multi-hop wireless network Six-hop TCP connection between the two end-systems (S and D) is routed via five routers, namely, R1, R2,..., and R5, over wireless links. Each wireless link has a bandwidth of 1 Mbps and a delay of 50 ms. The same packet error model as that of the infrastructure-based wireless network is adopted. The retransmission limit of a packet sent on a wireless link is set to three. 14

Performance evaluation 1-4 Simulation setup 1-4 The simulation study has been performed using the Network Simulator (ns) Version 2.29. A single, long-lived TCP flow from S to D is simulated for 1100 seconds. The segment size is 1500 bytes. The buffer size in each router is 50 segments. The maximum value of cwnd is 500. We take the connection goodput, which represents the rate of data delivered to the destination successfully, as the performance metric of the algorithms in our study. 15

Performance evaluation 1-5 Simulation results 1-1 16

Performance evaluation 1-6 Simulation results 1-2 17

Performance evaluation 1-7 Simulation results 1-3 18

Performance evaluation 1-8 Simulation results 1-4 19

Conclusions TCP-PR outperforms all of the other five algorithms, enjoying a greater connection goodput and fewer false fast retransmissions. These observations demonstrate that TCP performance can be significantly improved by employing an efficient link-layer retransmission mechanisms and a solutionfor TCP packet reordering in wireless networks. 20