20.01.2014 Views

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Van Jacobson’s Fast retransmit and Fast Recovery Algorithm<br />

TCP is required to generate an immediate ACK (a duplicate ACK) when an<br />

out-of-order segment is received. This duplicate ACK should not be delayed. The<br />

purpose is to tell the sender that the segment arrived out of order and what segment<br />

number the receiver expects.<br />

Cause:<br />

• segments arriving out of order OR<br />

• lost segment<br />

If more than a small number (3) of duplicate ACKs are detected, assume that a<br />

segment has been lost; then retransmit the missing segment immediately (without<br />

waiting <strong>for</strong> a retransmission timeout) and per<strong>for</strong>m congestion avoidance - but not<br />

slow start.<br />

Why not slow start? Because the only way you could have gotten duplicate ACKs<br />

is if subsequent segments did arrive - which means that data is getting through.<br />

Maguire TCP header continued 5: 30 of 77<br />

maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik

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

Saved successfully!

Ooh no, something went wrong!