linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* TCP fast retransmit
@ 2011-11-25  9:42 Esztermann, Ansgar
  2011-11-25 10:42 ` Eric Dumazet
  0 siblings, 1 reply; 4+ messages in thread
From: Esztermann, Ansgar @ 2011-11-25  9:42 UTC (permalink / raw)
  To: linux-kernel

Hello list,

is there some documentation available on TCP fast retransmit? There seem to be quite a lot of descriptions -- from informal to scholarly papers -- on the various algorithms available to calculate the proper size of the congestion window, but I have been unable so far to find out *when* a fast retransmit is triggered. RFC 2581 states the third dupACK "should" do it, and this seems to be quoted fairly often. However, I can easily produce connections that fail to perform fast retransmit even after 5 dupACKs. Some people mention Linux uses a different (presumable more sophisticated) algorithm to trigger fast retransmits, but no-one seems to elaborate.


Thanks,

A.
-- 
Ansgar Esztermann
DV-Systemadministration
Max-Planck-Institut für biophysikalische Chemie, Abteilung 105


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: TCP fast retransmit
  2011-11-25  9:42 TCP fast retransmit Esztermann, Ansgar
@ 2011-11-25 10:42 ` Eric Dumazet
  2011-11-25 12:55   ` Esztermann, Ansgar
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Dumazet @ 2011-11-25 10:42 UTC (permalink / raw)
  To: Esztermann, Ansgar; +Cc: linux-kernel

Le vendredi 25 novembre 2011 à 10:42 +0100, Esztermann, Ansgar a écrit :
> Hello list,
> 
> is there some documentation available on TCP fast retransmit? There
> seem to be quite a lot of descriptions -- from informal to scholarly
> papers -- on the various algorithms available to calculate the proper
> size of the congestion window, but I have been unable so far to find
> out *when* a fast retransmit is triggered. RFC 2581 states the third
> dupACK "should" do it, and this seems to be quoted fairly often.
> However, I can easily produce connections that fail to perform fast
> retransmit even after 5 dupACKs. Some people mention Linux uses a
> different (presumable more sophisticated) algorithm to trigger fast
> retransmits, but no-one seems to elaborate.
> 
I believe the RFC you gave should be the ground to your question.

Could you provide a trace showing what you believe is a violation of the
standards ?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: TCP fast retransmit
  2011-11-25 10:42 ` Eric Dumazet
@ 2011-11-25 12:55   ` Esztermann, Ansgar
  2011-11-25 13:09     ` Eric Dumazet
  0 siblings, 1 reply; 4+ messages in thread
From: Esztermann, Ansgar @ 2011-11-25 12:55 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]


On Nov 25, 2011, at 11:42 , Eric Dumazet wrote:

> 
> Could you provide a trace showing what you believe is a violation of the
> standards ?

"Violation" is probably a bit on the harsh side (after all, it says "should"), but here goes (wireshark/libpcap format):
The trace has been collected on 10.208.9.87. After one ACK plus five duplicates, a retransmission is triggered -- but it takes more than 200 ms, so that would be an ordinary retransmission. The original trace is (much) longer, but I've cut it down to keep the mail small. If required, I can provide more.


Thanks,

A.

-- 
Ansgar Esztermann
DV-Systemadministration
Max-Planck-Institut für biophysikalische Chemie, Abteilung 105

[-- Attachment #2: retransmit --]
[-- Type: application/octet-stream, Size: 18524 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: TCP fast retransmit
  2011-11-25 12:55   ` Esztermann, Ansgar
@ 2011-11-25 13:09     ` Eric Dumazet
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Dumazet @ 2011-11-25 13:09 UTC (permalink / raw)
  To: Esztermann, Ansgar; +Cc: linux-kernel

Le vendredi 25 novembre 2011 à 13:55 +0100, Esztermann, Ansgar a écrit :
> On Nov 25, 2011, at 11:42 , Eric Dumazet wrote:
> 
> > 
> > Could you provide a trace showing what you believe is a violation of the
> > standards ?
> 
> "Violation" is probably a bit on the harsh side (after all, it says "should"), but here goes (wireshark/libpcap format):
> The trace has been collected on 10.208.9.87. After one ACK plus five duplicates, a retransmission is triggered -- but it takes more than 200 ms, so that would be an ordinary retransmission. The original trace is (much) longer, but I've cut it down to keep the mail small. If required, I can provide more.

Ah, I missed the fact you sent your messages to
linux-kernel@vger.kernel.org.

Please start a new thread on netdev@vger.kernel.org to reach network
guys.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-25 13:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-25  9:42 TCP fast retransmit Esztermann, Ansgar
2011-11-25 10:42 ` Eric Dumazet
2011-11-25 12:55   ` Esztermann, Ansgar
2011-11-25 13:09     ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).