netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Xiaoliang \(David\) Wei" <weixl@caltech.edu>
To: <kuznet@ms2.inr.ac.ru>
Cc: <netdev@oss.sgi.com>
Subject: Re: A question on RTT estimation of SACKed packet.
Date: Thu, 29 Aug 2002 15:19:08 -0700	[thread overview]
Message-ID: <028501c24faa$18693d60$f1fa010a@weixl> (raw)
In-Reply-To: 200208291901.XAA27022@sex.inr.ac.ru


Thanks, Alexey.
> >     2. When a packet was SACKed but not retransmitted, the linux also
> > calculate the seq_rtt from it when there is no unSACKed packet in the
queue.
>
> It is not used. When a segment fills a hole, tcp uses skb->when of the
segment
> which _filled_ the hole. See?

Yes, this is exactly my question: When this segment fills a hole, it may be
SACKed before.
If it's SACKed before, that means its "round trip" had already finished
before this ACK came-- Now it's filling the hole just because some strange
things (such as ack loss) happened. So, I don't think we should use its
skb->when to estimate RTT. But in Linux, such a packet (SACKed) may still
provide RTT estimation.

>
> What's about using SACKs to give additional feed to rtt estimator,
> even when ACK is duplicate, it is intersting idea, I even read about
> this somewhere. But we do not use this.
Actually, I am going to do that: Can I get a safe RTT estimation from SACK,
when the SACKed packet (in rtx queue) is never SACKed or Retransmitted?

-David

      reply	other threads:[~2002-08-29 22:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-24 11:39 IP stack question Bloch, Jack
2002-06-24 13:34 ` jamal
2002-06-24 17:48   ` Ben Greear
2002-06-24 18:59     ` jamal
2002-06-24 19:27       ` Ben Greear
2002-08-28  6:25       ` IP stack question (how to force pkts to not route locally, but go out interfaces regardless of destination) Ben Greear
2002-08-28 12:41         ` James R. Leu
2002-08-29 10:17           ` A question on RTT estimation of SACKed packet Xiaoliang (David) Wei
2002-08-29 19:01             ` kuznet
2002-08-29 22:19               ` Xiaoliang (David) Wei [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='028501c24faa$18693d60$f1fa010a@weixl' \
    --to=weixl@caltech.edu \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).