OPNsense Forum

English Forums => General Discussion => Topic started by: Anth on December 29, 2021, 05:18:59 pm

Title: FreeBSD PPPOE Single Thread Issue
Post by: Anth on December 29, 2021, 05:18:59 pm
Hi, I was just wishing to inquire anyone who may know. But the widely known issue within FreeBSD of PPPOE only being routed using a single thread/core of your CPU thus meaning unless you have a 2GHZ or above CPU any multicore CPU won't be able to manage Gigabit broadband speeds put over PPPOE.

I noticed the upcoming release of Opnsense has an upgrade to FreeBSD13. Will this version of FreeBSD have the issue resolved or is it still going to be a problem?
Title: Re: FreeBSD PPPOE Single Thread Issue
Post by: iam on December 31, 2021, 10:47:15 am
Very interesting question!

If the answer is no: Would it be possible to do the PPPoE handling via an external device but still have the public IP directly attached to OPNsense (I guess not)?
Title: Re: FreeBSD PPPOE Single Thread Issue
Post by: Hopmeister on January 13, 2022, 10:58:03 am
That is what I have to do. ISP or Openwrt box at the ONT gives me full speed (500/73) and OPNsense only 250/73
Title: Re: FreeBSD PPPOE Single Thread Issue
Post by: iam on January 27, 2022, 06:05:10 pm
I would the speed with opnsense 20.1 is rather worse than better.
Title: Re: FreeBSD PPPOE Single Thread Issue
Post by: iam on January 30, 2022, 10:36:00 am
Ok maybe my first judgement was too early. I see now quite higher values (100 MBit +) in the speed test. Sometime it's quite near to the official value (385 Mbit/s, official limit is 400 Mbit/s).

But I have to admit that I've set net.inet.tcp.tso to 0 before getting this values. As far as I remember "TCP Offload Engine" was also disabled before the upgrade. I think there was a checkbox for it in 21.7. In 22.1 it seems to be a tunable only.