Slide 1 Implementation and Evaluation of a Performance Enhancing Proxy for Wireless TCP Master Thesis Project (Sep 03 – April 04) Dennis Dungs Technical University Munich, Germany Aalborg University, Denmark Januar 2004 modified March 04 Supervised by Hans-Peter Schwefel Aalborg University, Denmark
45
Embed
Slide 1 Implementation and Evaluation of a Performance Enhancing Proxy for Wireless TCP Master Thesis Project (Sep 03 – April 04) Dennis Dungs Technical.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Slide 1
Implementation and Evaluation of a Performance Enhancing Proxy for Wireless
TCP
Master Thesis Project (Sep 03 – April 04)
Dennis DungsTechnical University Munich, Germany
Aalborg University, Denmark
Januar 2004 modified March 04
Supervised byHans-Peter Schwefel
Aalborg University, Denmark
Slide 2
Overview
• Performance evaluation of wireless access technologies– WLAN 802.11b
• General Eval• Influence of High Bit Error Rates• Influence of Cross-Traffic (missing)• Influence of Handovers
– Bluetooth• UDP and TCP throughput
• TCP Proxy– Implementation
• Network setup• Proxy design
– Proxy Eval• Influence on RTT & Throughput
Goal of Master Project– Identify TCP performance lacks in wireless scenarios– Evaluate performance improvements using a TCP Proxy
Slide 3
Experimental Evaluation
Slide 4
Evaluation - Parameters
• Throughput over time
• Round-Trip-Times (RTT)– Average– Jitter
• Transmission time
• Nr. of packets
• Nr. of retransmitted bytes
• Nr. of timeouts– Transmission timeouts
Slide 5
Evaluation – Measurement Procedure
• IPerf – Setup a UDP/TCP connection from sender to receiver– Send data from sender to receiver at maximum bandwidth (TCP)
or given bandwidth (UDP)
• Ethereal – Trace Ethernet packets at sender and receiver in real-time into a
file– Traces arrival times of packets t(n) and contents of Ethernet
• Mobility Model– Fixed position– Handover to same/different subnet– Handover to new access technology
• Traffic Model– Size of transmitted data– Used bandwith– Single-/Multi-User– Cross-traffic– Constant / Burst Traffic
Slide 30
Implementation of TCP Proxy - Idea
Application
Split TCP Idea:
Sender Receiver
Split TCP-Daemon
TCP
IP
LL / PHY
Application
TCP
IP
LL / PHY
TCP
IP
LL / PHY
TCP
IP
LL / PHY
TCP Proxy
Slide 31
Implementation of TCP Proxy – Software Architecture
NIC
Packet-buffer
NIC
Packet-buffer
decode encode
ConnectionConnection
ConnectionConnection
Connection ConnectionSend data
establish connection
close connection
Process packet Create packet(s)
Send data
Data buffer
(Mirror)
Split TCP daemon
Slide 32
Implementation of TCP Proxy – Current Features
• Mirroring• Split TCP:
– TCP Reno implementation– Slow start– Congestion avoidance– Retransmission timer (partially)– Fast retransmission– Delayed ACKs– Adjustable Maximum Segment Size– Adjustable data buffer– Asymetrical TCP setup
Slide 33
Implementation of TCP Proxy - Options
• IP-Header-Option-Solution– Add original IP-Destination-Adress to IP-Header Option– Send every IP packet to Proxy– Unpack IP-packets at Proxy and start a „normal“ TCP/IP-Connection– Disadvantage: Changes in TCP/IP-Stack of connection initiator necssary
• IP-Tunneling– Tunnel the IP-packets from connection initiator to Proxy– Unpack IP-packets at Proxy and start a „normal“ TCP/IP-Connection– Disadvantage: additional IP-Overhead
• Hardware - Solution– Proxy directly integrated in Sender-Receiver-Path– Disadvantage: Different Scenarios need different locations of proxy ->
Maintainance efforts
• ARP – Solution– „emulate“ IP Adresses by faking IP-MAC-Maps– Disadvantage: Difficult to maintain maps– Disadvantage: Timing problems
• Routing-Solution
Slide 34
Implementation of TCP Proxy – Network setup
10.10.4.X
Tokyo Delft
Legend:Proxy
Aalborg
Fixed Host
Mobile Host
Spjald
Router
10.10.254.254
Mobile Node San Francisco
Toronto
Server
10.10.1.254
TorontoSwitch
WLAN Access Point
8 MBit/s 8 MBit/s
100 MBit/s100 MBit/s
100 MBit/s
100 MBit/s
Policy-Based Routing applied
Slide 35
Evaluation – RTTs in WLAN
• Comparison of RTTs in WLAN– AP transmission power: 30 mW– Distance to AP: 20 cm– Transmission period: 10 s– TCP Proxy configuration:
• Delayed ACKs off• No Buffer Thresholding• MSS: 1460 Bytes