netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: "Angelo P. Castellani" <angelo.castellani+lkml@gmail.com>
Cc: netdev@vger.kernel.org, francesco@net.infocom.uniroma1.it,
	andrea.baiocchi@uniroma1.it
Subject: Re: [PATCH] Enabling standard compliant behaviour in the Linux TCP implementation
Date: Tue, 16 May 2006 09:24:07 -0700	[thread overview]
Message-ID: <20060516092407.68fbc205@localhost.localdomain> (raw)
In-Reply-To: <8dd26e70605160724j784cf538v59631cf571646f36@mail.gmail.com>

On Tue, 16 May 2006 16:24:22 +0200
"Angelo P. Castellani" <angelo.castellani+lkml@gmail.com> wrote:

> Hi all,
> I'm a student doing a thesis about TCP performance over high BDP links
> and so about congestion control in TCP.
> 
> To do this work I've built a testbed using the latest Linux release (2.6.16).
> 
> Anyway I've came across the fact that Linux TCP implementation isn't
> fully standard compliant.
> 
> Even if the choices made to be different from the standards have been
> wisely thought, I think that should be possible to disable these
> Linuxisms.
> 
> Surely this can help all the people using Linux to evaluate a
> "standard" environment.
> 
> Moreover it permits to compare the pros&cons of the Linux
> implementation against the standard one.
> 
> So I've disabled the first two Linux-specific mechanisms I've found:
> - rate halving
> - dynamic reordering metric (dynamic DupThresh)
> 
> These're disabled as long as net.ipv4.tcp_standard_compliant=1 (default: 0).
> 
> However I don't exclude that there're more non-standard details, so I
> hope that somebody can point some more differences between Linux and
> the RFCs.
> 
> Moreover NewReno is implemented in the Impatient variant (resets the
> retransmit timer only on the first partial ack), with
> net.ipv4.tcp_slow_but_steady=1 (default: 0) you can enable the
> Slow-but-Steady variant (resets the retransmit timer every partial
> ack).
> 
> Hoping that this can be useful, I attach the patch.
> 
> Regards,
> Angelo P. Castellani


Read Linus's comments on standards. We make software for users, not for
academic use.
	http://kerneltrap.org/node/5725

If we added this then paranoid users would set it.

The Reno thing seems okay, if the default was the same as the original behavior
but it makes one more test case to try.

  reply	other threads:[~2006-05-16 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-16 14:24 [PATCH] Enabling standard compliant behaviour in the Linux TCP implementation Angelo P. Castellani
2006-05-16 16:24 ` Stephen Hemminger [this message]
2006-05-16 20:51   ` David S. Miller

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=20060516092407.68fbc205@localhost.localdomain \
    --to=shemminger@osdl.org \
    --cc=andrea.baiocchi@uniroma1.it \
    --cc=angelo.castellani+lkml@gmail.com \
    --cc=francesco@net.infocom.uniroma1.it \
    --cc=netdev@vger.kernel.org \
    /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).