From: Bill Fink <billfink@mindspring.com>
To: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: David Miller <davem@davemloft.net>,
sangtae.ha@gmail.com, rhee@eos.ncsu.edu, rhee@ncsu.edu,
netdev@vger.kernel.org
Subject: Re: 2.6.20.7 TCP cubic (and bic) initial slow start way too slow?
Date: Tue, 12 Jun 2007 23:38:14 -0400 [thread overview]
Message-ID: <20070612233814.4b04db2f.billfink@mindspring.com> (raw)
In-Reply-To: <20070612171603.47736395@localhost>
On Tue, 12 Jun 2007, Stephen Hemminger wrote:
> On Tue, 12 Jun 2007 15:12:58 -0700 (PDT)
> David Miller <davem@davemloft.net> wrote:
>
> > From: Bill Fink <billfink@mindspring.com>
> > Date: Wed, 16 May 2007 02:44:09 -0400
> >
> > > [root@lang2 ~]# netstat -s | grep -i retrans
> > > 25446 segments retransmited
> > > 20936 fast retransmits
> > > 4503 retransmits in slow start
> > > 4 sack retransmits failed
> > >
> > > It then only took 2.14 seconds to transfer 1 GB of data.
> > >
> > > That's all for now.
> >
> > Thanks for all of your testing and numbers Bill.
> >
> > Inhong et al., we have to do something about this, the issue
> > has been known and sitting around for weeks if not months.
> >
> > How safely can we set the default initial_ssthresh to zero in
> > Cubic and BIC?
>
> Yes. set it to zero. The module parameter could even go, and just
> leave the route metric as a way to set/remember it.
Actually, after thinking about this some more I had some second
thoughts about the matter. For my scenario of an uncongested 10-GigE
path an initial_ssthresh=0 is definitely what is desired.
But perhaps on a congested link with lots of connections, the
initial_ssthresh=100 setting might have some benefit. I don't
have an easy way of testing that so I was hoping Injong or someone
else might do that and report back. If there was a benefit, perhaps
it would be useful to have a per-route option for setting the
initial_ssthresh. That would leave the question of what to make
the default. There was also the mystery of why cubic's slow start
performance was so much worse than bic's. If a real benefit could
be demonstrated for the congested case, and if bic's slow start
behavior could be grafted onto cubic, then bic's current slow start
performance (with initial_ssthresh=100) might serve as an adequate
compromise between performance and not being overly aggressive for
the default behavior.
OTOH just setting it to zero as a default should also be fine as
that's the standard Reno behavior. I'm leaning in that direction
personally, but I'm possibly biased because of my environment,
where I'm trying to get maximum performance out of 10-GigE WAN
networks that aren't particularly congested normally.
-Bill
next prev parent reply other threads:[~2007-06-13 3:38 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-07 0:37 2.6.20.7 TCP cubic (and bic) initial slow start way too slow? Bill Fink
2007-05-08 9:41 ` SANGTAE HA
2007-05-09 6:31 ` Bill Fink
2007-05-10 15:32 ` Bill Fink
2007-05-10 17:31 ` SANGTAE HA
2007-05-10 18:39 ` rhee
2007-05-10 20:35 ` David Miller
2007-05-10 20:45 ` Stephen Hemminger
2007-05-10 20:57 ` Injong Rhee
2007-05-12 16:07 ` Bill Fink
2007-05-12 16:45 ` SANGTAE HA
2007-05-16 6:44 ` Bill Fink
2007-06-12 22:12 ` David Miller
2007-06-13 0:16 ` Stephen Hemminger
2007-06-13 3:38 ` Bill Fink [this message]
2007-06-13 7:56 ` David Miller
2007-06-13 17:27 ` [PATCH] TCP: remove initial_ssthresh from Cubic Stephen Hemminger
2007-06-13 18:26 ` David Miller
2007-06-13 18:31 ` Stephen Hemminger
2007-06-13 18:46 ` David Miller
2007-06-14 4:03 ` Bill Fink
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=20070612233814.4b04db2f.billfink@mindspring.com \
--to=billfink@mindspring.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=rhee@eos.ncsu.edu \
--cc=rhee@ncsu.edu \
--cc=sangtae.ha@gmail.com \
--cc=shemminger@linux-foundation.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).