Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Cc: Andrew McGregor <andrewmcgr@gmail.com>,
	"babel-users@lists.alioth.debian.org"
	<babel-users@lists.alioth.debian.org>,
	"cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>,
	Felix Fietkau <nbd@nbd.name>
Subject: Re: [Cerowrt-devel] [Babel-users] more wet paint - babel unicast IHU for short-rtt path optimization
Date: Tue, 7 Apr 2015 13:44:21 -0700	[thread overview]
Message-ID: <CAA93jw4Hv--0B3mNXLg9Nj7cuo+EexbudKr566qcXAFH=cru0A@mail.gmail.com> (raw)
In-Reply-To: <87zj6jfzu1.wl-jch@pps.univ-paris-diderot.fr>

On Tue, Apr 7, 2015 at 1:28 PM, Juliusz Chroboczek
<jch@pps.univ-paris-diderot.fr> wrote:
>> My understanding of the babeld code is that unicast code is in there
>> but not used, and if it were used, it would not work against existing
>> babel daemons. ?
>
> You MAY send any Babel TLV over unicast except a Hello.  Hellos MUST be
> sent over multicast.  The receiver doesn't care (except for Hellos).
>
> Look at message.c, function send_ihu.  around line 1693.  If there's
> already a unicast TLV queued, then the IHU is appended to that, and sent
> over unicast.  Otherwise, the IHU is appended to the multicast buffer.

cool.

> There would be no problem sending all IHUs over unicast, but it would
> probably cause additional NDs.

On idle networks it would have an added cost of 1ND per idle station per
minute (? dont remember how long the ND cache lasts). Otherwise, free.

>A more productive endeavour would be to
> send updates over unicast when there are few neighbours on a given
> interface, but I'm afraid it might cause Babel more difficult to debug.

That would give the needed packet volley for free on larger networks.
(see item 8 on TL;DR :) )

A timestamp is not defined for updates, presently. Do you fragment?
Would an IHU be bundled with an update?

Reading the tcpdump code (almost done updating it for tcpdump git
head, maybe another hour) was most productive in understanding
the guts of the protocol, btw. I guess I am better at reading code than
RFCs.

>
> -- Juliusz



-- 
Dave Täht
We CAN make better hardware, ourselves, beat bufferbloat, and take
back control of the edge of the internet! If we work together, on
making it:

https://www.kickstarter.com/projects/onetswitch/onetswitch-open-source-hardware-for-networking

  reply	other threads:[~2015-04-07 20:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-07 18:56 [Cerowrt-devel] " Dave Taht
2015-04-07 20:28 ` [Cerowrt-devel] [Babel-users] " Juliusz Chroboczek
2015-04-07 20:44   ` Dave Taht [this message]
2015-04-07 20:52     ` Juliusz Chroboczek

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='CAA93jw4Hv--0B3mNXLg9Nj7cuo+EexbudKr566qcXAFH=cru0A@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=andrewmcgr@gmail.com \
    --cc=babel-users@lists.alioth.debian.org \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=jch@pps.univ-paris-diderot.fr \
    --cc=nbd@nbd.name \
    /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