From: Dave Taht <dave.taht@gmail.com>
To: Juliusz Chroboczek <jch@pps.jussieu.fr>
Cc: bloat-devel@lists.bufferbloat.net, babel-users@lists.alioth.debian.org
Subject: Re: battling with babel and route changes
Date: Wed, 22 Jun 2011 11:04:03 -0600 [thread overview]
Message-ID: <BANLkTinBjKZyg5uBU_vwU6hfKoOLhABbyQ@mail.gmail.com> (raw)
In-Reply-To: <7ipqm6c7ds.fsf@lanthane.pps.jussieu.fr>
On Wed, Jun 22, 2011 at 7:39 AM, Juliusz Chroboczek <jch@pps.jussieu.fr> wrote:
>
> A patch to reflect the metric in the kernel priority has been published
> on this list at some point; I'll not be merging it into Babel, since
> I remain convinced that that's the wrong thing to do.
I agree that it is the wrong thing to do. Babel's metric calculations
are decidedly different than that of other protocols.
However, to clean up the route change...
either maintaining two routes of different priority differing by 1, or
inserting the new route with priority of base+1 and moving it down
after removing the first route, seems like a workable solution, that
can save hundreds of packets at high volumes.
I'm perfectly willing to try implementing either of these approaches
(the latter being far easier than the first) my concern was that by
doing so I'd break something somewhere else, and felt the best
approach was the first, which, as I said, is harder to implement.
>> 1) babel installs ipv4 routes with a metric of 0, ipv6 routes with a
>> metric of 1024
>
> These are apparently the kernel's defaults -- we call the kernel with
> the value 0 in both cases. You can set the priority with -k (but cannot
> set it to be different between v4 and v6), and if you need any more
> control, use routing tables (-t and -T).
>
> -- Juliusz
>
--
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
http://the-edge.blogspot.com
prev parent reply other threads:[~2011-06-22 16:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-19 13:44 Dave Taht
2011-06-22 13:39 ` Juliusz Chroboczek
2011-06-22 17:04 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTinBjKZyg5uBU_vwU6hfKoOLhABbyQ@mail.gmail.com \
--to=dave.taht@gmail.com \
--cc=babel-users@lists.alioth.debian.org \
--cc=bloat-devel@lists.bufferbloat.net \
--cc=jch@pps.jussieu.fr \
/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