Professional Documents
Culture Documents
Kofi Weusi-Puryear
Sridhar Dhulipala
Sanjay Jain
Tejaswi Redkar
Disadvantages:
Long delay, especially in geosynchronous systems
High probability of bit errors.
Objectives:
Path-MTU discovery
A non-TCP mechanism, uses Internet Control Message
Protocol (ICMP)
MTU: limit on the maximum datagram size on a network
media.
Path MTU discovery: Maximum packet size on a network
path without IP packet fragmentation.
Allows TCP to use the largest possible packet size, without
incurring the cost of fragmentation and reassembly.
Disadvantage: may cause a long pause before TCP is able
to start sending data.
In practice, not very time consuming due to wide support
of common MTU values.
Forward Error
Correction(FEC)
Sender adds repair data to a media stream so packet
loss can be repaired by the receiver.
Repair data can be media specific or media independent.
Media specific: Employs knowledge of a media
compression scheme.
+ Low latency. Only a single-packet delay being added. Suitable for
interactive applications which require low end to end delays.
- Complex encoding/decoding slows sender & receiver
Media independent:
+ Uses parity based FEC, simplified encoding/decoding
- High latency (due to more lost packets).
Selective
Acknowledgements
(SACKs)
Recently approved extension to TCP.
Makes it possible for TCP to acknowledge data received
out of order.
Previously TCP had only been able to acknowledge data
received in order. This could lead to needless
retransmissions, in case the sender transmits out of order.
Improves the efficiency of TCP retransmissions by reducing
the retransmission period.
Helps TCP better evaluate the available path bandwidth in
a period of successive losses and avoids doing a slow
start.
Congestion Avoidance
Congestion avoidance algorithm deals with packet loss which
occurs due to congestion of the network.
In the congestion avoidance mode the cwnd is increased only one
segment at a time until the max window size is reached.
When congestion occurs (indicated by a timeout or the reception of
duplicate ACKs), one-half of the current window size is saved in
into the ssthresh .
If cwnd <= ssthresh, TCP is in slow start; otherwise TCP is
performing congestion avoidance.
Congestion avoidance and slow start are independent algorithms
with different objectives, but in practice are always implemented
together. The following diagram explains how the algorithms work
together.
Fast Retransmit
TCP's default mechanism to detect
dropped segments is the retransmission
timeout (RTO) based on observations of
the Round-Trip Timeout.
TCP ACKs always acknowledge the
highest in-order segment that has
arrived. If a segment arrives out-oforder the ACK triggered will be for the
highest in-order segment, rather than
the segment that just arrived. Thus the
receiver is going to send a duplicate
ACK if a segment is lost.
Fast Recovery
After a segment is resent using fast
retransmit, the fast recovery
algorithm is used to adjust the
congestion window.
Fast recovery halves the segment
sending rate and begins congestion
avoidance phase immediately,
skipping slow start.
By skipping slow start Fast Recovery
reduces wasting satellite pipe
bandwidth.
PAWS:Protect against
Wrapped Sequence
The PAWS Mechanism a simple mechanism to reject old
duplicate segments that might corrupt an open TCP connection.
PAWS operates within a single TCP connection, using state that
is saved in the connection control block.
PAWS uses the same TCP Timestamps option as the RTTM
mechanism and assumes that every received TCP segment
(including data and ACK segments) contains a timestamp
SEG.TSval whose values are monotone non-decreasing in time.
The basic idea is that a segment can be discarded as an old
duplicate if it is received with a timestamp SEG.TSval less than
some timestamp recently received on this connection.
Conclusions
Problems:
Long delay, especially in geosynchronous systems
Inefficient use of satellite channel
High probability of bit errors
Mechanisms
Path-MTU Discovery
Forward Error Correction(FEC)
Slow Start and Congestion
Avoidance
Fast Retransmit
Recommendations
Highly
Highly
Required
Fast Recovery
Large TCP Windows
Selective Acknowledgments
Highly
Highly
Highly
Highly
Comments
Reduces IP packet fragmentation.
Effective channel utilization.
Bad for satellite links, but needed
for shared network congestion.
Reduces time to detect lost
segments
Better recovery algorithm.
Avoids delay of connection.
Reduces transmitted packets.