From: Injong Rhee <rhee@ncsu.edu>
To: Lucas Nussbaum <lucas.nussbaum@loria.fr>
Cc: WANG Cong <xiyou.wangcong@gmail.com>, netdev@vger.kernel.org
Subject: Re: [PATCH] Make CUBIC Hystart more robust to RTT variations
Date: Tue, 08 Mar 2011 10:26:36 -0500 [thread overview]
Message-ID: <4D764AAC.30302@ncsu.edu> (raw)
In-Reply-To: <20110308111011.GA27967@xanadu.blop.info>
Thanks for updating CUBIC hystart. You might want to test the
cases with more background traffic and verify whether this
threshold is too conservative.
On 3/8/11 6:10 AM, Lucas Nussbaum wrote:
> CUBIC Hystart uses two heuristics to exit slow start earlier, before
> losses start to occur. Unfortunately, it tends to exit slow start far
> too early, causing poor performance since convergence to the optimal
> cwnd is then very slow. This was reported in
> http://permalink.gmane.org/gmane.linux.network/188169 and
> https://partner-bugzilla.redhat.com/show_bug.cgi?id=616985
>
> I am using an experimental testbed (http://www.grid5000.fr/) with two
> machines connected using Gigabit ethernet to a dedicated 10-Gb backbone.
> RTT between both machines is 11.3ms. Using TCP CUBIC without Hystart,
> cwnd grows to ~2200. With Hystart enabled, CUBIC exits slow start with
> cwnd lower than 100, and often lower than 20, which leads to the poor
> performance that I reported.
>
> After instrumenting TCP CUBIC, I found out that the segment-to-ack RTT
> tends to vary quite a lot even when the network is not congested, due to
> several factors including the fact that TCP sends packet in burst (so
> the packets are queued locally before being sent, increasing their RTT),
> and delayed ACKs on the destination host.
>
> The patch below increases the thresholds used by the two Hystart
> heuristics. First, the length of an ACK train needs to reach 2*minRTT.
> Second, the max RTT of a group of packets also needs to reach 2*minRTT.
> In my setup, this causes Hystart to exit slow start when cwnd is in the
> 1900-2000 range using the ACK train heuristics, and sometimes to exit in
> the 700-900 range using the delay increase heuristic, dramatically
> improving performance.
>
> I could provide access to my testbed if someone wants to do further
> experiments.
>
> Signed-off-by: Lucas Nussbaum<lucas.nussbaum@loria.fr>
next prev parent reply other threads:[~2011-03-08 15:26 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-08 9:32 [PATCH] Make CUBIC Hystart more robust to RTT variations Lucas Nussbaum
2011-03-08 10:21 ` WANG Cong
2011-03-08 11:10 ` Lucas Nussbaum
2011-03-08 15:26 ` Injong Rhee [this message]
2011-03-08 19:43 ` David Miller
2011-03-08 23:21 ` Stephen Hemminger
2011-03-09 1:30 ` Injong Rhee
2011-03-09 6:53 ` Lucas Nussbaum
2011-03-09 17:56 ` Stephen Hemminger
2011-03-09 18:25 ` Lucas Nussbaum
2011-03-09 19:56 ` Stephen Hemminger
2011-03-09 21:28 ` Lucas Nussbaum
2011-03-09 20:01 ` Stephen Hemminger
2011-03-09 21:12 ` Yuchung Cheng
2011-03-09 21:33 ` Lucas Nussbaum
2011-03-09 21:51 ` Stephen Hemminger
2011-03-09 22:03 ` Lucas Nussbaum
2011-03-10 5:24 ` Bill Fink
2011-03-10 6:17 ` Stephen Hemminger
2011-03-10 7:17 ` Bill Fink
2011-03-10 8:54 ` Lucas Nussbaum
2011-03-11 2:25 ` Bill Fink
2011-03-10 14:37 ` Injong Rhee
2011-03-09 1:33 ` Sangtae Ha
[not found] ` <AANLkTimdpEKHfVKw+bm6OnymcnUrauU+jGOPeLzy3Q0o@mail.gmail.com>
2011-03-08 18:14 ` Lucas Nussbaum
2011-03-10 23:28 ` Stephen Hemminger
2011-03-11 5:59 ` Lucas Nussbaum
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=4D764AAC.30302@ncsu.edu \
--to=rhee@ncsu.edu \
--cc=lucas.nussbaum@loria.fr \
--cc=netdev@vger.kernel.org \
--cc=xiyou.wangcong@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.