TCP Round Trip Time and Timeout
Q: how to set TCP timeout value?
too short: premature timeout
- unnecessary retransmissions
too long: slow reaction to segment loss
SampleRTT: measured time from segment transmission until ACK receipt
- ignore retransmissions, cumulatively ACKed segments
SampleRTT will vary, want estimated RTT “smoother”
- use several recent measurements, not just current SampleRTT