1
23.7 Legacy Series / Re: OPNSense on Proxmox, 10Gb network awful throughput
« on: October 25, 2023, 03:23:59 pm »
To rule out a BSD issue, I installed a FreeBSD 13 vm with the same setup as the OPNsense vm.
It does a lot better then OPNsense, but it also suffers from the speed dropping off randomly.
Compare this to a Debian based VM (Truenas Scale), its speed never dips below 9Gb/s.
There is an issue with BSD here, either with the X520 interface, or something else within the OS. I will test the other interface cards when they arrive to see if they can improve the stability. There is still an issue with OPNsense here though where it is 20% the speed out of the box with the 10g interfaces then its FreeBSD base OS.
It does a lot better then OPNsense, but it also suffers from the speed dropping off randomly.
Code: [Select]
> iperf3 -c 172.16.1.221 -p 5201 -t 30
Connecting to host 172.16.1.221, port 5201
[ 5] local 172.16.1.90 port 50331 connected to 172.16.1.221 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 1.06 GBytes 9.15 Gbits/sec
[ 5] 1.00-2.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 2.00-3.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 3.00-4.00 sec 1.09 GBytes 9.41 Gbits/sec
[ 5] 4.00-5.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 5.00-6.00 sec 1.09 GBytes 9.33 Gbits/sec
[ 5] 6.00-7.00 sec 1.09 GBytes 9.39 Gbits/sec
[ 5] 7.00-8.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 8.00-9.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 9.00-10.00 sec 1.09 GBytes 9.40 Gbits/sec
[ 5] 10.00-11.00 sec 1.09 GBytes 9.40 Gbits/sec
[ 5] 11.00-12.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 12.00-13.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 13.00-14.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 14.00-15.00 sec 1.09 GBytes 9.40 Gbits/sec
[ 5] 15.00-16.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 16.00-17.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 17.00-18.00 sec 1.06 GBytes 9.12 Gbits/sec
[ 5] 18.00-19.00 sec 302 MBytes 2.53 Gbits/sec
[ 5] 19.00-20.00 sec 241 MBytes 2.02 Gbits/sec
[ 5] 20.00-21.00 sec 397 MBytes 3.33 Gbits/sec
[ 5] 21.00-22.00 sec 640 MBytes 5.37 Gbits/sec
[ 5] 22.00-23.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 23.00-24.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 24.00-25.00 sec 530 MBytes 4.44 Gbits/sec
[ 5] 25.00-26.00 sec 379 MBytes 3.18 Gbits/sec
[ 5] 26.00-27.00 sec 1.02 GBytes 8.72 Gbits/sec
[ 5] 27.00-28.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 28.00-29.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 29.00-30.00 sec 1.08 GBytes 9.30 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-30.00 sec 28.5 GBytes 8.17 Gbits/sec sender
[ 5] 0.00-30.00 sec 28.5 GBytes 8.17 Gbits/sec receiver
iperf Done.
Compare this to a Debian based VM (Truenas Scale), its speed never dips below 9Gb/s.
Code: [Select]
> iperf3 -c truenas -p 5201 -t 30
Connecting to host truenas, port 5201
[ 7] local 172.16.1.90 port 50664 connected to 172.16.1.10 port 5201
[ ID] Interval Transfer Bitrate
[ 7] 0.00-1.00 sec 1.10 GBytes 9.42 Gbits/sec
[ 7] 1.00-2.00 sec 1.09 GBytes 9.37 Gbits/sec
[ 7] 2.00-3.00 sec 1.09 GBytes 9.41 Gbits/sec
[ 7] 3.00-4.00 sec 1.08 GBytes 9.30 Gbits/sec
[ 7] 4.00-5.00 sec 1.08 GBytes 9.26 Gbits/sec
[ 7] 5.00-6.00 sec 1.09 GBytes 9.39 Gbits/sec
[ 7] 6.00-7.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 7] 7.00-8.00 sec 1.09 GBytes 9.40 Gbits/sec
[ 7] 8.00-9.00 sec 1.09 GBytes 9.36 Gbits/sec
[ 7] 9.00-10.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 7] 10.00-11.00 sec 1.09 GBytes 9.37 Gbits/sec
[ 7] 11.00-12.00 sec 1.09 GBytes 9.38 Gbits/sec
[ 7] 12.00-13.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 7] 13.00-14.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 7] 14.00-15.00 sec 1.09 GBytes 9.39 Gbits/sec
[ 7] 15.00-16.00 sec 1.08 GBytes 9.28 Gbits/sec
[ 7] 16.00-17.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 7] 17.00-18.00 sec 1.09 GBytes 9.41 Gbits/sec
[ 7] 18.00-19.00 sec 1.09 GBytes 9.38 Gbits/sec
[ 7] 19.00-20.00 sec 1.09 GBytes 9.35 Gbits/sec
[ 7] 20.00-21.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 7] 21.00-22.00 sec 1.09 GBytes 9.38 Gbits/sec
[ 7] 22.00-23.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 7] 23.00-24.00 sec 1.09 GBytes 9.40 Gbits/sec
[ 7] 24.00-25.00 sec 1.10 GBytes 9.42 Gbits/sec
[ 7] 25.00-26.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 7] 26.00-27.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 7] 27.00-28.00 sec 1.09 GBytes 9.39 Gbits/sec
[ 7] 28.00-29.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 7] 29.00-30.00 sec 1.10 GBytes 9.41 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 7] 0.00-30.00 sec 32.8 GBytes 9.38 Gbits/sec sender
[ 7] 0.00-30.00 sec 32.8 GBytes 9.38 Gbits/sec receiver
iperf Done.
There is an issue with BSD here, either with the X520 interface, or something else within the OS. I will test the other interface cards when they arrive to see if they can improve the stability. There is still an issue with OPNsense here though where it is 20% the speed out of the box with the 10g interfaces then its FreeBSD base OS.