netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why we discard all rtt samples when only some of the acked skbs have been retransmited in processing ack?
@ 2013-09-17  4:01 LovelyLich
  2013-09-17  5:11 ` Eric Dumazet
  0 siblings, 1 reply; 4+ messages in thread
From: LovelyLich @ 2013-09-17  4:01 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: netdev

Hi Eric,

In tcp_clean_rtx_queue(), we set the flag FLAG_RETRANS_DATA_ACKED when we

encounter one ever retransmited skb A. But if there is one( or more) skb B

after this retransmited skb, and we calculate the rtt for skb B. The question

is because we have set the flag FLAG_RETRANS_DATA_ACKED, and we will just

return in tcp_ack_no_tstamp() !

Two questions:

1. if we will just ignore all packets in this ack, we do not need to calculate

skb B's rtt sample.

2. what I want to know, even if A's rtt sample is not reliable, but B's rtt

sample can be trusted. Why we discard it ?



Thanks in advanced.





regards,

Yi

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

end of thread, other threads:[~2013-09-17 14:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-17  4:01 Why we discard all rtt samples when only some of the acked skbs have been retransmited in processing ack? LovelyLich
2013-09-17  5:11 ` Eric Dumazet
2013-09-17 13:31   ` Neal Cardwell
2013-09-17 14:53     ` Yuchung Cheng

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).