if_pppoe performance on APU2

Started by normanu, May 30, 2025, 11:51:42 AM

Previous topic - Next topic
Does anyone know if the "new" if_pppoe from FreeBSD gives a performance boost on APU2's?
If it would give the APU2 the possibility to reach 1GBit (like in Linux) that would be awesome.

I just saw PFsense has switched to it or at least gives you the option to switch to it, will OPNsense do the same?

The other Sense is on FreeBSD 15-CURRENT and OPNsense on FreeBSD 14. The if_pppoe kernel module is developed by them. For OPnsense to be able to use it, it has to be made available upstream and has to be backported to FreeBSD 14.

Or if upstreamed it may will be available when OPNsense switches to FreeBSD 15-RELEASE (official FreeBSD 15 release schedule: https://www.freebsd.org/releases/15.0R/schedule/).
Deciso DEC740

There are no plans that this will be open sourced to my knowledge. I'm still waiting on a word if they copied it from another BSD? ;)

Quote from: franco on June 13, 2025, 07:30:53 AMI'm still waiting on a word if they copied it from another BSD? ;)
strings if_pppoe.ko and googling the messages give a hint ;)

I don't have a pfSense laying around to chase this, but my guess is it starts with "o" as all good things do ;)

The OpenBSD driver is originally from NetBSD like many things in OpenBSD are. :-)
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Just for historic context: OpenBSD is also a NetBSD fork.

As I read it, it is a heavily optimized version of the OpenBSD one.
It seems they are going to keep it only for pfsense

Or they just say that for marketing reasons.

My opinion is they've never written a golden piece of code that warrants admiration. Take the WireGuard debacle as a good indicator of quality assurance and/or budget constraint. You get what you pay for.


Cheers,
Franco

Mm I do believe the OpenBSD one is single threaded?


Isn't OpenBSD single threaded? :-P
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

I think so. And iflib in FreeBSD allows easy deployment of a multi-threaded driver like the infamously pulled WireGuard implementation.


Cheers,
Franco