netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rick Jones <rick.jones2@hp.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, zach.brown@oracle.com, jheffner@psc.edu
Subject: Re: tcp_slow_start_after_idle
Date: Wed, 14 Jun 2006 09:46:58 -0700	[thread overview]
Message-ID: <44903D82.40007@hp.com> (raw)
In-Reply-To: <20060613.223538.24611602.davem@davemloft.net>

> +tcp_slow_start_after_idle - BOOLEAN
> +	If set, provide RFC2861 behavior and time out the congestion
> +	window after an idle period.  An idle period is defined at
> +	the current RTO.  If unset, the congestion window will not
> +	be timed out after an idle period.
> +	Default: 1

Did you mean "defined as" rather than "defined at?"

Also, does the congestion window "time out" or does it decay?

Perhaps:

tcp_slow_start_after_idle - BOOLEAN
      If set, provide RFC2861 behavior and decay the congestion
      window after the connection has been idle for the connection's
      current RTO.  If unset, the congestion window will not decay
      when the connection has been idle.
      Default: 1

> diff --git a/include/net/tcp.h b/include/net/tcp.h
> index de88c54..bfc71f9 100644
> --- a/include/net/tcp.h
> +++ b/include/net/tcp.h
> @@ -227,6 +227,7 @@ extern int sysctl_tcp_abc;
>  extern int sysctl_tcp_mtu_probing;
>  extern int sysctl_tcp_base_mss;
>  extern int sysctl_tcp_workaround_signed_windows;
> +extern int sysctl_tcp_slow_start_after_idle;

> diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
> index 743016b..be6d929 100644
> --- a/net/ipv4/tcp_output.c
> +++ b/net/ipv4/tcp_output.c
> @@ -59,6 +59,9 @@ int sysctl_tcp_tso_win_divisor = 3;
>  int sysctl_tcp_mtu_probing = 0;
>  int sysctl_tcp_base_mss = 512;
>  
> +/* By default, RFC2861 behavior.  */
> +int sysctl_tcp_slow_start_after_idle = 1;
> +

Is this a candidate for "readmostly?"

rick jones

  reply	other threads:[~2006-06-14 16:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14  5:35 tcp_slow_start_after_idle David Miller
2006-06-14 16:46 ` Rick Jones [this message]
2006-06-14 23:06   ` tcp_slow_start_after_idle David Miller
2006-06-14 17:09 ` tcp_slow_start_after_idle Zach Brown
2006-06-14 22:30   ` tcp_slow_start_after_idle David 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=44903D82.40007@hp.com \
    --to=rick.jones2@hp.com \
    --cc=davem@davemloft.net \
    --cc=jheffner@psc.edu \
    --cc=netdev@vger.kernel.org \
    --cc=zach.brown@oracle.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).