Kitz Forum

Broadband Related => Broadband Technology => Topic started by: Alex Atkin UK on October 27, 2022, 07:25:10 PM

Title: FreeBSD / pfSense / opnSense tweaking for PPPoE
Post by: Alex Atkin UK on October 27, 2022, 07:25:10 PM
I stumbled onto this and applied to settings to see if it makes any difference.
https://docs.netgate.com/pfsense/en/latest/hardware/tune.html#pppoe-with-multi-queue-nics
https://github.com/opnsense/core/issues/5415

Has anyone else tried playing with this and noticed any difference?  It may be placebo, but I kinda feel web pages are loading every so slightly faster.
Title: Re: FreeBSD / pfSense / opnSense tweaking for PPPoE
Post by: Chrysalis on October 28, 2022, 02:15:01 AM
Yeah I already did that using my existing experience on FreeBSD, I suggest making sure bindthreads is set to 1 so TCP sessions are tied to a queue.
Title: Re: FreeBSD / pfSense / opnSense tweaking for PPPoE
Post by: EC300 on October 29, 2022, 08:48:29 AM
I stumbled onto this and applied to settings to see if it makes any difference.
https://docs.netgate.com/pfsense/en/latest/hardware/tune.html#pppoe-with-multi-queue-nics
https://github.com/opnsense/core/issues/5415

Has anyone else tried playing with this and noticed any difference?  It may be placebo, but I kinda feel web pages are loading every so slightly faster.

Some useful info here https://teklager.se/en/knowledge-base/apu2-1-gigabit-throughput-pfsense/

However for version 2.5 and above they say not to use the usual tweaks as all necessary improvements are made already, and there was degradation in speeds on 2.5 and presumably 2.6 above as well, likely due to security changes or fixes in FreeBSD.  One thing I've learnt over the years are that security issues when fixed never improve performance  ::)

PPPoE is the main problem of course on FreeBSD for hitting performance, not much we can do about this apart from making sure the CPU has enough speed so it isn't an issue.