05.08.2014 Views

An Investigation into Transport Protocols and Data Transport ...

An Investigation into Transport Protocols and Data Transport ...

An Investigation into Transport Protocols and Data Transport ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.5. TCP Variants 64<br />

20<br />

15<br />

cwnd<br />

ssthresh<br />

Detected Packet Loss<br />

Timeout<br />

cwnd (Packets)<br />

10<br />

5<br />

0<br />

0 5 10 15 20 25 30<br />

Duration (RTT)<br />

Figure 4.4: Time Evolution of Example TCP Tahoe Trace.<br />

of a dropped packet sooner than the regular timeout mechanism <strong>and</strong> hence<br />

improves packet loss detection. It does not replace regular timeouts; it just<br />

enhances that facility <strong>and</strong> keeps the ack clock from failing.<br />

Fast Retransmits are implemented via the detection of dupacks at the<br />

sender.<br />

It suggests that either a packet has been lost, or received out of<br />

order 4 . Upon the occurrence of three consecutive dupacks, TCP Tahoe decreases<br />

the sending rate <strong>and</strong> the inferred lost packet is resent.<br />

The main<br />

difference between TCP Tahoe <strong>and</strong> variants such as TCP Reno (see Section<br />

4.5.2) is that upon loss detection through dupacks, cwnd is set to one<br />

packet rather than half of the previous value.<br />

As the mechanism to set<br />

ssthresh still holds, the TCP connection always restarts in slow start (after<br />

loss detection) until cwnd reaches ssthresh <strong>and</strong> then the linear additive increase<br />

of the congestion avoidance mechanism occurs until the whole process<br />

is repeated or the connection is closed.<br />

Figure 4.4 shows a typical time based evolution of TCP Tahoe. The TCP<br />

4 Later implementations such as TCP SACK can calculate the exact missing segment<br />

based on extra information provided by the receiver to prevent the need to retransmit<br />

already received data.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!