Gluon: Multiple B.A.T.M.A.N. Adv. patches for better performance

Created on 29 Nov 2020  路  12Comments  路  Source: freifunk-gluon/gluon

As @FreifunkMUC we tracked down several issues of batman-adv when it runs in another encapsulation (eg VXLAN). The Batman project now has several patches for that. What is the best way to get them to Gluon?

Background:
https://gist.github.com/awlx/27c383511182f9bfb9d9e098abb823fe

Patches:
https://patchwork.open-mesh.org/project/b.a.t.m.a.n./patch/[email protected]/

Most helpful comment

They should honestly come via the routing feed. CCing @ecsv for his opinion.

All 12 comments

They should honestly come via the routing feed. CCing @ecsv for his opinion.

as far as i can see, the patches aren't even in upstream batman-adv yet?
(and i guess the patches are for batman-adv, not the protocol B.A.T.M.A.N. itself?)

ah right sorry, 27 hours ago in upstream at git.open-mesh.org

Also I am not saying this should happen _right_ now. I just wanted to open the issue to keep track of the changes :).

as it seems to be improvement, not bugfixing, i'd say we wait for the batman-adv release including these patches, then they will also be part of openwrt-routing and we would get them anyway by bumping the routing feed :)
other maintainers may have other opinions :)

These patches will be backported on the next release (2021.0) and put into the openwrt-routing feed. If it is really urgent for someone then I can also ask Simon to merge an early PR with these changes.

But also keep in mind that you also have to fix vxlan:

We somehow did not really measure a big improvement with the patches.
You can find the patches for the Gluon master here:
https://github.com/freifunkh/site/tree/pr_wireguard_vpn/patches~~

Maybe it's not really measurable on the nodes :/.

@awlx Okay... I've thought we missed something. Wow I've realized we are working on it for a week now... It would be nice if you could join us in the Leinelab Mumble channel again. Here's the current state of the Gluon package:
https://github.com/lemoer/gluon/commits/pr_wireguard_vpn_rebased_on_master

It does not have a key submission API. That will be another package as we don't need automatic key submission.

@CodeFetch we also implemented the patches in our latest firmware. I am still waiting for feedback if this helps on bigger offloaders etc.

It seems these patches help the highly used offloaders to get slightly more throughput at the same load. So most likely the bottleneck on slower machines is something else already.

https://stats.ffmuc.net/d/hRIn3dRWk/mesh-nodes?orgId=1&var-nodeid=9ebdc859ce6e&from=1609282303000&to=now&refresh=5m

The offloader was upgraded 30.12 14:50

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mweinelt picture mweinelt  路  3Comments

lemoer picture lemoer  路  3Comments

kpanic23 picture kpanic23  路  5Comments

lcb01a picture lcb01a  路  3Comments

CodeFetch picture CodeFetch  路  5Comments