Beruflich Dokumente
Kultur Dokumente
hoc Networks
CS 647: Advanced Topics in
Wireless Networks
Drs. Baruch Awerbuch and Amitabh Mishra
Computer Science Department
Johns Hopkins
5-1
Reading
Chapter 7 Ad Hoc & Sensor Networking,
5-2
Outline
Overview of TCP
The problems of TCP over MANETs
Overview of best transport protocols
In depth
Conclusion
5-3
ACKs stream
TCP
N Sink
ACKs stream
5-4
Introduction
Network Architecture at a
Crossroads
Wireline-centric network design is obsolete
New network environments have emerged
change
5-5
Introduction
5-6
Problem Statement
Why does TCP perform poorly in MANETs?
5-7
Our Goal
Identify the problems of TCP in MANETs.
Evaluate various major TCP variants.
12 TCP variants, 7 improvement techniques
Observations:
Most TCP variants are NOT sufficient.
A new transport layer protocol may be/is needed.
5-8
TCP Basics
Byte Stream Delivery
Connection-Oriented: Two communicating TCP
duplex mode,
5-9
Retransmissions:
For lost and damaged data
Due to lack of positive acknowledgements
Timeout period calls for a retransmission
5-
Overview
Slow-start
Congestion
avoidance
5-
TCP Basics
Slow-start
Congestion
avoidance
5-
Congestion Control
Slow Start (SS): A mechanism to control the transmission rate)
rate
When Slow Start drops one or more packets due to
congestion
5-
Overview
Mobility
2.
3.
5.
Unpredictability/Variability
4.
5-
Overview
ATP
5-
5.
5-
TCP in MANET
TCP misinterprets route failures as congestion
5-
TCP in MANET
TCP misinterprets wireless errors as
congestion
Effects: Incorrect execution of congestion control
Performance drops.
Wireless channel is error-prone compared to wireline
Fading, interference, noise
5-
TCP in MANET
Intra-flow and inter-flow contention
Effects: Increased delay, unpredictability, and unfairness.
Inter-flow contention: contention of nearby flows.
Intra-flow contention: between packets of the same flow (e.g.
forward data and reverse ACKs).
Wireline: only packet on same link compete
Wireless: all close by devices compete for the channel
Data stream
ACKs stream
5-
5-
A
B
Z
D
Link Failure
Data transfer continues
in spite of failure
No communication between the partitions
5-
5-
Reestablishing Path
5
6
4
5-
5-
5-
TCP Throughput
Larger the number of nodes a TCP connection needs to span, lower is
the end-to-end throughput, as there will be more medium contention
taking place in several regions of the network
5-
Each of these frames carries the remaining duration of time for the
transmission completion, so that other nodes in the vicinity can hear it
and postpone their transmissions
The nodes must await an IFS interval and then contend for the medium
again
5-
Consider a linear topology in which each node can only communicate with its
adjacent neighbors
In addition, consider that in Figures (a) and (b) there exist a single TCP
connection running between nodes 1 and 5
5-
Capture Conditions
In Figure (c) where there are two independent connections,(connection 23) (connection 4-5)
Assuming that connection 2-3 experiences collision due to the hidden node
problem caused by the active connection 4-5 , node 2 will back off and
retransmit the lost frame
5-
performance
There have been a lot of proposed
5-
DSR
DSR protocol operates on an on-demand basis in which a
5-
Can happen in ad hoc networks when all nodes not have the
same interface speed
5-
Route Asymmetry
Route asymmetry implies having different paths in both
directions
5-
Overview of Results
The best TCP variants:
TCP mechanisms:
5-
TORA
TORA has been designed to be highly dynamic by