public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] Route selection over VPN links
Date: Tue, 17 Jul 2012 20:22:54 +0200	[thread overview]
Message-ID: <20120717182254.GN4015@lunn.ch> (raw)
In-Reply-To: <CAKLmikPKq3Ys8L=wtc08-GBeX04huu85OYJR17MByqOBGbi6sw@mail.gmail.com>

On Tue, Jul 17, 2012 at 11:06:27AM -0700, Mitar wrote:
> Hi!
> 
> On Tue, Jul 17, 2012 at 3:57 AM, Marek Lindner <lindner_marek@yahoo.de> wrote:
> > I was more curious about the bandwidth routing than the latency stuff. The
> > current routing algorithm already takes latency into account. An alternate
> > path always need to be better than the current path. If both paths are equal
> > the faster packets win the race.
> 
> Hm. This happens only first time, it does not really change the route
> latter on, if chosen path latency increases and becomes worse than the
> second path, but packet loss stays the same (zero). Or it does?
> 
> For bandwidth, I would say that we first need multipath routing. And
> then route on all possible paths some percentage of packets, based on
> given capacity ratio. So if you have three paths A, B, and C with same
> packet loss and capacity Ca, Cb, and Cc, you route over A with Ca/(Ca
> + Cb + Cc) ratio.

You have to be careful with packet reordering. If i remember
correctly, Linus did some measurements when link bonding was
introduced in BATMAN. TCP can cope with packet reordering, but it has
negative effects on goodput.

...

> This would do correct thing for the case of VPN links, where most of
> links will have almost zero packet loss, latency will be or small (for
> local VPN servers) or big (for foreign VPN servers), and then based on
> free capacity we would route on that.

Are these assumptions really true? In my home setup, my ADSL modem is
where my telephone socket is. My VPN server is somewhere else and
there is a wifi and a powerline link in between. If my neighbors swamp
the wifi channel with their torrent download, my VPN will
suffer. (Well not really, i known this wifi stuff better than my
neighbors)

   Andrew


  reply	other threads:[~2012-07-17 18:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-07 20:29 [B.A.T.M.A.N.] Route selection over VPN links Mitar
2012-07-16 10:02 ` Marek Lindner
2012-07-17  6:36   ` Mitar
2012-07-17 10:57     ` Marek Lindner
2012-07-17 18:06       ` Mitar
2012-07-17 18:22         ` Andrew Lunn [this message]
2012-07-17 19:29           ` Mitar
2012-07-18  6:43             ` Christian Huldt
2012-07-18  8:15               ` Mitar
2012-07-18 20:06         ` Marek Lindner
2012-07-20 21:14           ` Mitar
2012-07-21 10:12             ` Marek Lindner

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=20120717182254.GN4015@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /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