From: Justin McCann <jneilm@gmail.com>
To: "Dave Täht" <d@taht.net>
Cc: bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] TCP vegas vs TCP cubic
Date: Wed, 2 Feb 2011 11:05:04 -0500 [thread overview]
Message-ID: <AANLkTi=8pCJ6xYKT073aqB8quaZhC-nQU7y8KbAxpbhy@mail.gmail.com> (raw)
In-Reply-To: <87bp2upinw.fsf@cruithne.co.teklibre.org>
On Wed, Feb 2, 2011 at 10:20 AM, Dave Täht <d@taht.net> wrote:
> Can I surmise that TCP cubic is like a dragster, able to go really fast
> in one direction down a straightaway, and TCP vegas more like an 80s
> model MR2, maneuverable, but underpowered?
There are some parameters to tune, essentially setting the number of
packets you want queued in the network at any one time (see
http://neal.nu/uw/linux-vegas/). I haven't messed with it much myself,
but you might try to increase those just a bit -- if Vegas
underestimates the queue size and the queue empties, you'll never get
the throughput. Ideally there would always be exactly one packet in
the bottleneck queue.
But I think your results are pretty much expected with Vegas, since it
uses the increase in queuing latency as an early congestion indicator.
If everyone used it, we may be better off, but other congestion
algorithms aren't fair to Vegas since they wait until there are packet
drops to notice congestion.
> On a failed hunch, I also re-ran the tests with a much larger
> congestion window:
>
> echo /proc/sys/net/core/rmem_max
> echo /proc/sys/net/core/wmem_max
>
> iperf -w8m -s
>
> To no net difference in effect.
I think you mean larger send/receive buffers instead of congestion
window? I'll bet the Vegas parameters are keeping the congestion
window smaller than your send/receive buffer sizes, so they aren't
limiting you in the first place, so no improvement.
The web100 patches (web100.org) are great for getting into the details
of how TCP is working. If you don't want to apply them yourself, you
can try the Live CD of perfSONAR-PS (http://psps.perfsonar.net/). It
might be useful to have an NDT
(http://www.internet2.edu/performance/ndt/) server running on your
home network, or use one at M-Lab. It doesn't need much resource-wise
but the web100 patches.
Justin
next prev parent reply other threads:[~2011-02-02 16:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-02 15:20 Dave Täht
2011-02-02 16:05 ` Justin McCann [this message]
2011-02-02 16:29 ` Dave Täht
2011-02-02 18:37 ` Richard Scheffenegger
2011-02-02 19:16 ` Dave Täht
2011-02-02 20:01 ` Jim Gettys
2011-02-03 18:34 ` Seth Teller
2011-02-02 21:36 ` Richard Scheffenegger
2011-02-03 17:53 ` Dave Taht
2011-02-04 9:51 ` Juliusz Chroboczek
2011-02-04 15:18 ` Dave Täht
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
List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=8pCJ6xYKT073aqB8quaZhC-nQU7y8KbAxpbhy@mail.gmail.com' \
--to=jneilm@gmail.com \
--cc=bloat@lists.bufferbloat.net \
--cc=d@taht.net \
/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