1
21.7 Legacy Series / Massive performance drop with 21.7 on APU2
« on: August 05, 2021, 02:06:25 pm »
Does anybody run 21.7 on an APU2 with proper throughput?
After upgrading from 21.1.9 to 21.7 (and now 21.7.1) I noticed my NAT throughput dropped to ~330 Mbit/s. Before the upgrade I had ~980 Mbit/s.
When setting up OPNsense (21.1.3 back then) I had followed this guide and set the following tunables:
Could it be the case that these tunables have no effect with 21.7 anymore?
I also noticed that all hardware offloading options in the webinterface (Interfaces -> Settings) are disabled (all checkboxes are checked). I didn't know they were there, so maybe I should uncheck them instead of using the tunables?
An iperf3 run from a LAN client to the LAN interface of the OPNsense box shows:
Thanks in advance for any recommendations!
After upgrading from 21.1.9 to 21.7 (and now 21.7.1) I noticed my NAT throughput dropped to ~330 Mbit/s. Before the upgrade I had ~980 Mbit/s.
When setting up OPNsense (21.1.3 back then) I had followed this guide and set the following tunables:
Code: [Select]
net.inet.tcp.tso=1
net.inet.udp.checksum=1
hw.igb.rx_process_limit="-1"
hw.igb.tx_process_limit="-1"
legal.intel_igb.license_ack="1"
Could it be the case that these tunables have no effect with 21.7 anymore?
I also noticed that all hardware offloading options in the webinterface (Interfaces -> Settings) are disabled (all checkboxes are checked). I didn't know they were there, so maybe I should uncheck them instead of using the tunables?
An iperf3 run from a LAN client to the LAN interface of the OPNsense box shows:
Code: [Select]
$ iperf3 -c 10.0.20.1 -p 14218
Connecting to host 10.0.20.1, port 14218
[ 5] local 10.0.20.10 port 35220 connected to 10.0.20.1 port 14218
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 26.8 MBytes 225 Mbits/sec 0 67.9 KBytes
[ 5] 1.00-2.00 sec 26.6 MBytes 223 Mbits/sec 0 67.9 KBytes
[ 5] 2.00-3.00 sec 26.7 MBytes 224 Mbits/sec 0 67.9 KBytes
[ 5] 3.00-4.00 sec 26.6 MBytes 223 Mbits/sec 0 67.9 KBytes
[ 5] 4.00-5.00 sec 26.4 MBytes 222 Mbits/sec 0 67.9 KBytes
[ 5] 5.00-6.00 sec 26.7 MBytes 224 Mbits/sec 0 67.9 KBytes
[ 5] 6.00-7.00 sec 26.5 MBytes 222 Mbits/sec 0 67.9 KBytes
[ 5] 7.00-8.00 sec 26.6 MBytes 223 Mbits/sec 0 67.9 KBytes
[ 5] 8.00-9.00 sec 26.0 MBytes 218 Mbits/sec 0 67.9 KBytes
[ 5] 9.00-10.00 sec 26.3 MBytes 221 Mbits/sec 0 67.9 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 265 MBytes 222 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 265 MBytes 222 Mbits/sec receiver
Thanks in advance for any recommendations!