Presentation is loading. Please wait.

Presentation is loading. Please wait.

Improving TCP Performance over Ad-hoc Network 11/28/2000 Xuanming Dong, Duke Lee, and Jin Wang Course Project for EE228A --- Fall 2000 (Professor Jean.

Similar presentations


Presentation on theme: "Improving TCP Performance over Ad-hoc Network 11/28/2000 Xuanming Dong, Duke Lee, and Jin Wang Course Project for EE228A --- Fall 2000 (Professor Jean."— Presentation transcript:

1 Improving TCP Performance over Ad-hoc Network 11/28/2000 Xuanming Dong, Duke Lee, and Jin Wang Course Project for EE228A --- Fall 2000 (Professor Jean Walrand)

2 Outline TCP basics and congestion control Ad-hoc network basics Impact of ad-hoc network on TCP performance Explicit Route Notification Simulation and Results Summary

3 Basic function of TCP 1. Basic Data Transfer: use IP services; 2. Reliability: sequence number; positive ACK; retransmission and time out; checksum; 3. Flow Control: 4. Congestion Control: 5. Multiplexing: addresses or ports within each host; 6. Connections: 7. Precedence and Security:

4 TCP: Congestion Control Variables: Congestion Window (W) & Slow Start threshold size (ssthresh) Indication of congestion: Timeout and DupACK Congestion Control : Slow Start + Congestion Avoidance Fast Recovery (Fast retransmission + Congestion Avoidance)

5 Ad-hoc Networks Autonomous mobile nodes are free to move around arbitrarily network topology may change randomly and rapidly at unpredictable times Without (necessarily) using a pre- existing infrastructure Routes between nodes may potentially contain multiple hops

6 Infrastructure-oriented Wireless Network Have fixed and wired gateways The bridges for these networks are known as base stations A mobile node within these networks connects to the nearest base station As the mobile node travels out of range of one base station and into range of another, a “handoff” occurs Usually only the last link is wireless

7 How does mobility affect TCP High bit error rate cause packets(TCP data segment or ACKs) corrupted and then congestion control invoked Route recomputation Discovering a new route may take significantly longer than RTO and then cause retransmission and invoke congestion control Network may be temporarily partitioned Cause packets dropped and invoke congestion control

8 Route Re-computation Figure 1: Route Re-Computation

9 Temporary Network Partition Figure 2: Temporary Network Partition

10 mobility causes link breakage, resulting in route failure TCP data and acks en route discarded TCP sender times out. Backs off timer. Route is repaired TCP sender times out. Resumes sending Larger route repair delays especially harmful No throughput despite route repair Why Does Throughput Degrade?

11 Explicit Route Notification(ERN) Router-based feedback Need to modify TCP Source & Router to receive/send feedback Need mechanisms for information exchange between layers Inform TCP of route failure by explicit message Let TCP know when route is repaired By Explicit notification Reduces repeated TCP timeouts and backoff

12 TCP FSM

13 Explicit Route Notification(ERN) Router-based feedback Need to modify TCP Source & Router to receive/send feedback Need mechanisms for information exchange between layers Inform TCP of route failure by explicit message Let TCP know when route is repaired By Explicit notification Reduces repeated TCP timeouts and backoff

14 Support from Router 1. Maintain a packet cache for every routing entry in the routing table. Once the router finds that the routing entry for a packet becomes invalid recently, it caches the packet and creates an ERFN (Explicit Route Failure Notification) packet. 2. Associate a timer with every packet in the cache. If the timer expires, then drop the packet from the cache. 3. If the invalid routing entry is removed from the routing table, drop all packets in its cache and cancel the associated timers. 4. If the invalid routing entry becomes valid again, forward all the cached packets and create an ERRN (Explicit Route Recovery Notification) packet for each cached packet.

15 Support from Router

16 Support from TCP Context Switch The Frozen State 1. Stop sending further packets. 2. Stop invoking congestion control. 3. All TCP timers are frozen, except the new frozen timeout timer. 4. But TCP source may accept ACK packets and advance the acknowledgment window.

17 Support from TCP

18 Simulation Results Source Packet Trace Source Congestion Window trace TCP Throughput

19 Simulation Results

20

21

22

23 Summary By Xuanming Dong


Download ppt "Improving TCP Performance over Ad-hoc Network 11/28/2000 Xuanming Dong, Duke Lee, and Jin Wang Course Project for EE228A --- Fall 2000 (Professor Jean."

Similar presentations


Ads by Google