1
20.1 Legacy Series / Re: Getting just around ~200Mbit of 1Gbit Bandwidth
« on: April 26, 2020, 12:17:33 pm »
Do you have a PPPoE connection to the ISP?
In case unfortunately you cannot get too much from the APU as PPPoE connection cannot be multithreaded and split between CPU cores.
With an APU2 I was able to get around 450Mbps over PPPoE with these tunable settings (reboot the APU once you add those tunables)
net.isr.dispatch=deferred
net.isr.maxthreads=4
net.isr.numthreads=4
legal.intel_igb.license_ack
hw.igb.rx_process_limit=-1
hw.igb.tx_process_limit=-1
kern.random.harvest.mask=351
In any case you will not reach Gbps with an APU1 or APU2, what I did at the end was to use another router to do the PPPoE connection and then configure a DMZ there pointing to OPNsense. I got 1ms ping more because of the double NAT but I achieved Gbps.
If you're going this way just remove the "net.isr.dispatch=deferred" tuneable as this setting is just to optimise PPPoE but decrease the general forwarding performance.
In case unfortunately you cannot get too much from the APU as PPPoE connection cannot be multithreaded and split between CPU cores.
With an APU2 I was able to get around 450Mbps over PPPoE with these tunable settings (reboot the APU once you add those tunables)
net.isr.dispatch=deferred
net.isr.maxthreads=4
net.isr.numthreads=4
legal.intel_igb.license_ack
hw.igb.rx_process_limit=-1
hw.igb.tx_process_limit=-1
kern.random.harvest.mask=351
In any case you will not reach Gbps with an APU1 or APU2, what I did at the end was to use another router to do the PPPoE connection and then configure a DMZ there pointing to OPNsense. I got 1ms ping more because of the double NAT but I achieved Gbps.
If you're going this way just remove the "net.isr.dispatch=deferred" tuneable as this setting is just to optimise PPPoE but decrease the general forwarding performance.