From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsuna Subject: Re: [PATCH] tcp: Implement a two-level initial RTO as per draft RFC 2988bis-02. Date: Thu, 19 May 2011 10:11:50 -0700 Message-ID: References: <1305771744-83951-1-git-send-email-tsunanet@gmail.com> <20110518.223622.1525088601595365235.davem@davemloft.net> <20110519.001426.2119532755281545481.davem@davemloft.net> <9DC9A4D5-8E16-4361-B323-C92D563171A1@comsys.rwth-aachen.de> <8C5DF277-320D-4DEB-A133-EEC301DE58DC@comsys.rwth-aachen.de> <1456193D-84D1-46E2-B930-8FD0A5B8C409@comsys.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Hagen Paul Pfeifer , David Miller , kuznet@ms2.inr.ac.ru, pekkas@netcore.fi, jmorris@namei.org, yoshfuji@linux-ipv6.org, kaber@trash.net, eric.dumazet@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Alexander Zimmermann Return-path: In-Reply-To: <1456193D-84D1-46E2-B930-8FD0A5B8C409@comsys.rwth-aachen.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, May 19, 2011 at 9:55 AM, Alexander Zimmermann wrote: > Exactly. This is the point. It's *your* environment. However, TCP is > general purpose. And for the wider internet 1s is know to be save. See the > measurements in the draft that Mark Allman run. That's right, there's no one-size-fits-all solution. That's why I'm in favor of keeping a reasonably conservative default (say 1s to 3s, so we don't break the Internets) and giving people a knob to adjust it to whatever makes sense for them. Looking through the kernel, I see that SCTP already has knobs for this: sctp_rto_initial, sctp_rto_min, sctp_rto_max. You can even control the constants used to update rttvar and srtt: sctp_rto_alpha, sctp_rto_beta -- Benoit "tsuna" Sigoure Software Engineer @ www.StumbleUpon.com