netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Anatoly Sivov" <mm05@mail.ru>
To: "Vijay Subramanian" <subramanian.vijay@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: tcp_mtu_probe implementation details
Date: Wed, 21 Dec 2011 13:50:30 +0400	[thread overview]
Message-ID: <op.v6t2ygnyfzo5me@stalin> (raw)
In-Reply-To: <CAGK4HS93u=3muZu_rkqK7FSacTHUytK5H6_dMNo_uOQY738R_g@mail.gmail.com>

Hello Vijay,

Thank you for your response.

>> The other question is about size_needed variable.
>> It is assigned to value probe_size + (tp->reordering + 1) *  
>> tp->mss_cache
>> And that is not clear for me.
>> What is this "(tp->reordering + 1) * tp->mss_cache" addition?
>>
>
> I think the idea is that you want enough bytes in the write_queue so
> that even if the probe is lost, the sender will get an ack even if
> there is reordering in the network. Without sufficient bytes, the
> probe will not be sent. This is what I make of the code but I could be
> wrong.

I believe, I found the explanation of this addition in RFC 4821:
   "TCP Fast Retransmit is not robust unless there are
    sufficient segments following a probe; that is, the sender SHOULD
    have enough data queued and sufficient receiver window to send the
    probe plus at least Tcprexmtthresh [RFC2760] additional segments."

However, I'm still confused with magic number 11 in "tp->snd_cwnd < 11"  
check.

Thanks.

  reply	other threads:[~2011-12-21  9:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-20 21:49 tcp_mtu_probe implementation details Anatoly Sivov
2011-12-20 22:33 ` Vijay Subramanian
2011-12-21  9:50   ` Anatoly Sivov [this message]
2011-12-24 15:03     ` John Heffner
2011-12-24 16:15       ` Anatoly Sivov

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=op.v6t2ygnyfzo5me@stalin \
    --to=mm05@mail.ru \
    --cc=netdev@vger.kernel.org \
    --cc=subramanian.vijay@gmail.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).