Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 14:30:03 +0100
From:      Andre Oppermann <andre@freebsd.org>
To:        Andrey Zonov <zont@FreeBSD.org>
Cc:        John Baldwin <jhb@freebsd.org>, Alfred Perlstein <bright@mu.org>, Randall Stewart <rrs@lakerest.net>, Kevin Oberman <kob6558@gmail.com>, net@freebsd.org
Subject:   Re: [PATCH] Add a new TCP_IGNOREIDLE socket option
Message-ID:  <511A43DB.8030400@freebsd.org>
In-Reply-To: <511A1FA9.1040606@FreeBSD.org>
References:  <201301221511.02496.jhb@freebsd.org> <50FF06AD.402@networx.ch> <061B4EA5-6A93-48A0-A269-C2C3A3C7E77C@lakerest.net> <201302060746.43736.jhb@freebsd.org> <511292C9.4040307@mu.org> <E6BF2B74-175F-49D9-B480-8941294D2E19@neville-neil.com> <51166019.9040104@mu.org> <CAN6yY1uX__JDEk9dLdJr3pdE1u848jaF_jTn%2B_mrP05bXqm_Pw@mail.gmail.com> <51177818.2090900@FreeBSD.org> <5118D375.5000501@freebsd.org> <511A1FA9.1040606@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12.02.2013 11:55, Andrey Zonov wrote:
> On 2/11/13 3:18 PM, Andre Oppermann wrote:
>>
>> Smaller RTO (1s) has become a RFC so there was very broad consensus in
>> TCPM that is a good thing.  We don't have it yet because we were not fully
>> compliant in one case (loss of first segment).  I've fixed that a while
>> back and will bring 1s RTO soon to HEAD.
>>
>
> They use 300ms at least for me/my link/ISP/etc.

Let me be more precise: An initial RTO of 1s was published as RFC.  This
is what I'm referring to.  It affects the setup phase of a connection.

A separate issue is the minimum RTO during a connection.  According to
the RFC the RTO during the lifetime of the connection should also not be
less than 1s.  The RTO being determined based on the RTT measurement done
using timestamps or Karn's algorithm.  However on fast links this has been
shown to be too long to wait for.  So FreeBSD decreased the allowed lower
bound to hz/33.  This is only effective if your RTO was actually calculated
to be equal or lower than that.  The result is a quicker re-probing and
discovery of the current line conditions.  Since the RTO was measured to be
less-equal than hz/33, the possible negative downside is very limited.

-- 
Andre




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511A43DB.8030400>