Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: Frank Horowitz <frank@horow.net>
Cc: "cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] High Performance (SSH) Data Transfers using fq_codel?
Date: Sat, 15 Nov 2014 14:47:06 -0800	[thread overview]
Message-ID: <CAA93jw5J_LF-rgWVwsVGLKqEUpLwSoDAhm7tuMW=TW6kE3hAsw@mail.gmail.com> (raw)
In-Reply-To: <C1928D9C-5D30-438A-A63F-0B4CDDC72E4A@horow.net>

On Fri, Oct 17, 2014 at 4:21 PM, Frank Horowitz <frank@horow.net> wrote:
> G’Day folks,
>
> Long time lurker. I’ve been using Cero for my home router for quite a while now, with reasonable results (modulo bloody OSX wifi stuffola).
>
> I’m running into issues doing zfs send/receive over ssh across a (mostly) internet2 backbone between Cornell (where I work) and West Virginia University (where we have a collaborator on a DOE sponsored project. Both ends are linux machines running fq_codel configured like so:
>         tc qdisc
>         qdisc fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn

So, in re-reading this now, I think I now grok that that A) Frank is
using cerowrt at home, and B) he has it hooked up on two cool boxes
connected on either side of Internet2, and B) is what the question was
about.

so my general assumption is that his boxes are x86, and hooked up at
1GigE or so to the Internet2.

So answers A) If after a big transfer If a

tc -s qdisc show dev eth0 # on both sides

shows no drops or ecn marks, his linux servers are not the bottleneck
link, and he should use mtr to find the real bottleneck link
elsewhere, during that transfer.

IF, after a big transfer drops are seen, you are (at least some of the
time) a bottleneck link. Enable ecn between both tcps. And if you are
willing to tolerate more latency on the link, feel free to increase
the target and interval to values you are more comfortable with, but
you won´t increase actual bandwidth by all that much.

Personally I suspect ¨A¨ as the problem.

And as per my original msg, it always helps to measure, and the rrul
test between the two points is the best thing we got.


> I stumbled across hpn-ssh <https://www.psc.edu/index.php/hpn-ssh> and —  of particular interest to this group — their page on tuning TCP parameters:
>
> <http://www.psc.edu/index.php/networking/641-tcp-tune>
>
> N.B. their advice to increase buffer size…
>
> I’m curious, what part (if any) of that advice survives with fq_codel running on both ends?

Most of that seems to apply to TCPs.

I would suspect that enabling TCP pacing between the two points might
be helpful, but without data on whatever problem(s) you are
experiencing on your path, can´t help. Amusingly, matt mathis is one
the original authors of that page, and perhaps he has new advice.

> Any advice from the experts here would be gratefully received!
>
> (And thanks for all of your collective and individual efforts!)
>
> Cheers,
>         Frank Horowitz
>
>
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>



-- 
Dave Täht

thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks

      parent reply	other threads:[~2014-11-15 22:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17 23:21 Frank Horowitz
2014-11-14  3:11 ` Dave Taht
2014-11-14  4:37   ` Aaron Wood
2014-11-14 14:45     ` David P. Reed
2014-11-15 22:47 ` Dave Taht [this message]

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/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA93jw5J_LF-rgWVwsVGLKqEUpLwSoDAhm7tuMW=TW6kE3hAsw@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=frank@horow.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