OPNsense on APU2E4 performance

Started by devilkin, October 31, 2020, 05:17:06 PM

Previous topic - Next topic
October 31, 2020, 05:17:06 PM Last Edit: October 31, 2020, 05:27:20 PM by devilkin
Hi folks,

I know there have been some threads about the APU2 performance, but I'm not really in the same boat, as I'm not using PPPoE.

So, inital tests using iperf on the APU2 itself: maximum throughput I seem to get is around 740Mbit. Decent, but I was hoping to get more. I notice that the bottleneck there is the CPU, so I guess that's as good as it gets.

Running iperf outside (server/client on other machines) I hit 1Gbps, even with NAT on.

What I have noticed is that when the system is busy transferring the packets - even without NAT - I hit around 100% system, interrupts stays very low at all times. I was hoping if I could reduce the system load somehow?

Hardware CRC/TSO/LRO and Vlan filtering are enabled.

Could you check what frequency it's at while you're doing the test. It seems I was able to keep mine clocked at 1400 by placing additional heatsinks on the case.
(I don't really do speed tests myself however, my system performs fine at 1400 with good temperatures.)
Add:
hint.p4tcc.0.disabled=1
hint.acpi_throttle.0.disabled=1
hint.acpi_perf.0.disabled=1

To:
boot/loader.conf.local

And run:
sysctl dev.cpu.0

To see if the frequency drops.
dev.cpu.0.freq_levels: 1400/-1 1200/-1 1000/-1
dev.cpu.0.freq: 1400

Hm, ok.

I was assuming there would be some form of scaling but the cpu is just at 1400, is this right?

Okay, so it's not throttling. Thanks for checking.