3rd Chapter
3rd Chapter
Motivation
TCP Mechanisms
Classical Approaches
Optimizations
TCP for 2.5/3G Wireless
Transport Layer
1
Motivation (1)
2
Original TCP Congestion Control (1)
Congestion control:
Addresses the queuing situation in routers
Congestion leads to retransmissions in the transport layer
This leads to an increase of the congestion
Congestion control needs to adapt sending rate(s)
Queue management within routers need to drop packets
Application Application
Congestion Control
TCP TCP
Protocol IP IP IP
View * * * *
* * * *
* Queue Management
r(p,RTT) Router b
Source Sink
Feedback Output Port
Control
q(r,b) b: Bottleneck Bandwidth
Loop
q: Queue Size
View p(q), RTT(q) AQM p: Loss Probability
Control Law d: Propagation Delay
r: Rate
3
Window-based Congestion Control (1)
Advantage:
Sender
Small overhead
due to ACKs W=4
Drawbacks:
Bursty nature Receiver
Loss of ACKs
Sender
W=5
Receiver
Advantages:
Not bursty
Loss of ACKs bearable
Drawbacks:
Large overhead due to many ACKs
Interdependency between error control and window size
2005 Burkhard Stiller and Jochen Schiller FU Berlin M9 9
4
Window-based Congestion Control (3)
Optimal Window: W = b * 2d
Optimal link utilization:
Max.
Delay
Effective rate = b*(2d/2d) = b
No queue at bottleneck: Power
Optimal network performance (power)
5
I-TCP Socket and State Migration
Access Point1
Socket migration
and state transfer Internet
Access Point2
Mobile Terminal
Advantages:
No changes in the fixed network necessary, no changes for the hosts (TCP
protocol) necessary, all current optimizations to TCP still work
Transmission errors on the wireless link do not propagate into the fixed network
Simple to control, mobile TCP is used only for one hop between, e.g., a foreign
agent and mobile host
Therefore, a very fast retransmission of packets is possible, the short delay on the
mobile hop is known
Disadvantages:
Loss of end-to-end semantics, an acknowledgement to a sender does now not any
longer mean that a receiver really got a packet, foreign agents might crash
Higher latency possible due to buffering of data within the foreign agent and
forwarding to a new foreign agent
6
Early Approach: Snooping TCP
7
Early approach: Mobile TCP
Advantage:
Simple changes result in significant higher performance
Drawback:
Further mix of IP and TCP, no transparent approach
8
Transmission and Time-out Freezing
Advantage:
Scheme is independent of data
Drawback:
TCP on mobile host has to be changed, mechanism depends on MAC layer
Selective Retransmission
Advantage:
Much higher efficiency
Drawback:
More complex software in a receiver, more buffer needed at the receiver
9
Transaction-oriented TCP
TCP phases:
Connection setup, data transmission, connection release
Using 3-way-handshake needs 3 packets for setup and release, respectively
Thus, even short messages need a minimum of 7 packets!
Transaction-oriented TCP:
RFC1644, T-TCP, describes a TCP version to avoid this overhead
Connection setup, data transfer and connection release can be combined
Compare WAP Transaction Layer Protocol
Thus, only 2 or 3 packets are needed
Advantage:
Efficiency
Drawback:
Requires changed TCP
Mobility not longer transparent
10
TCP Improvements (1)
11