Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: Sebastian Moeller <moeller0@gmx.de>
Cc: "cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] cerowrt issues (3.10.24-8)
Date: Thu, 30 Jan 2014 08:21:01 -0800	[thread overview]
Message-ID: <CAA93jw6JhAAEddwSdakMqCFvoyF56R=+M+hU+_TovQpfe_8ZhQ@mail.gmail.com> (raw)
In-Reply-To: <1CB745C6-5334-4CF8-8535-BB97E9B37A1D@gmx.de>

On Wed, Jan 29, 2014 at 11:55 AM, Sebastian Moeller <moeller0@gmx.de> wrote:
> Hi Steve,
>
>
> On Jan 29, 2014, at 19:24 , Steve Jenson <stevej@fruitless.org> wrote:
>
>> On Wed, Jan 29, 2014 at 9:44 AM, Sebastian Moeller <moeller0@gmx.de> wrote:
>> On January 29, 2014 5:10:18 PM CET, Dave Taht <dave.taht@gmail.com> wrote:
>> >On Wed, Jan 29, 2014 at 4:45 AM, Sebastian Moeller <moeller0@gmx.de>
>> >wrote:
>> >> Hi Dave,
>> >>
>> >> quick question, how does one turn of logging for babeld? It seems
>> >that if daemonized it defaults to logging to /var/log/babeld.log (or
>> >similar). Is setting the log file to /dev/null really the answer?
>> >
>> >seems so.
>>
>>       Okay, I guess I will try that then...
>>
>> Here's the directive I'm using in /etc/babeld.conf
>>
>> log-file /dev/null
>>
>> and then you can restart either via the web gui or `/etc/rc.d/S70babeld restart`
>
>         Ah, thanks. Since I am on 3.10.28-1 this was /etc/init.d/babeld restart. And I opted for putting:
> option 'log-file' '/dev/null'
> into /etc/config/babeld, since that seemed the more openwork way of doing things; I wonder whether it really is wise to carry both files...


I stuck it in /etc/config/babeld.

>         Babeld runs again, and no /var/log/babeld.log appeared, but whether it works I do not know (and I doubt it given that babeld.log was growing due to nasty repeating error messages...)

It's working. It is just not making an optimal routing decision
between AP-managed networks and meshy ones.

The feature is called diversity routing, and it is key to making
wireless networks scale better. There are (now), quite a few papers on
it, but I like Juliusz's best...

http://www.pps.univ-paris-diderot.fr/~jch/software/babel/wbmv4.pdf

Notably this feature is also in batman, but it's called something else
that I forget.

In an example with two radios on a cerowrt AP:

If you have a packet come in from channel 36, it's best that it goes
out via ethernet if possible, channel 11 if not, and not channel 36.
Even if the number of hops seems less, don't go back out 36, if at all
possible, use a different route.

So right now babel is incorrectly distinquishing between the AP
managed SSIDs (sw00, sw10, gw10, gw00),
so the routing decisions there are sub-optimal. As in most cases you
are going to go out ethernet or one of
the more meshy interfaces, or you have no choice but to send stuff
along on one SSID... it's not very sub-optimal.

still, annoying. rule 22 in embedded design is "never write infinitely
long files as the probability of running out of memory or flash always
hits 100%"



>
> Best Regards
>         Sebastian
>
>>
>



-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

  reply	other threads:[~2014-01-30 16:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24 23:08 Steve Jenson
2014-01-24 23:23 ` Dave Taht
2014-01-27 21:06   ` Steve Jenson
2014-01-27 21:10     ` Steve Jenson
2014-01-27 21:14       ` Dave Taht
2014-01-29 12:45         ` Sebastian Moeller
2014-01-29 16:10           ` Dave Taht
2014-01-29 17:44             ` Sebastian Moeller
2014-01-29 18:21               ` Dave Taht
2014-01-29 19:51                 ` Sebastian Moeller
2014-01-29 19:56                   ` David Personette
2014-01-29 20:04                     ` Sebastian Moeller
2014-01-29 18:24               ` Steve Jenson
2014-01-29 19:55                 ` Sebastian Moeller
2014-01-30 16:21                   ` Dave Taht [this message]
2014-01-30 18:46                     ` Sebastian Moeller

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='CAA93jw6JhAAEddwSdakMqCFvoyF56R=+M+hU+_TovQpfe_8ZhQ@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=moeller0@gmx.de \
    /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