OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • FreeBSD PPPOE Single Thread Issue
« previous next »
  • Print
Pages: [1]

Author Topic: FreeBSD PPPOE Single Thread Issue  (Read 4237 times)

Anth

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
FreeBSD PPPOE Single Thread Issue
« 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?
Logged

iam

  • Full Member
  • ***
  • Posts: 105
  • Karma: 1
    • View Profile
Re: FreeBSD PPPOE Single Thread Issue
« Reply #1 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)?
Logged

Hopmeister

  • Newbie
  • *
  • Posts: 14
  • Karma: 1
    • View Profile
Re: FreeBSD PPPOE Single Thread Issue
« Reply #2 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
Logged

iam

  • Full Member
  • ***
  • Posts: 105
  • Karma: 1
    • View Profile
Re: FreeBSD PPPOE Single Thread Issue
« Reply #3 on: January 27, 2022, 06:05:10 pm »
I would the speed with opnsense 20.1 is rather worse than better.
Logged

iam

  • Full Member
  • ***
  • Posts: 105
  • Karma: 1
    • View Profile
Re: FreeBSD PPPOE Single Thread Issue
« Reply #4 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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • FreeBSD PPPOE Single Thread Issue
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2