Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Low throughput on LAN
« previous
next »
Print
Pages: [
1
]
Author
Topic: Low throughput on LAN (Read 1560 times)
matokarlukas
Newbie
Posts: 4
Karma: 0
Low throughput on LAN
«
on:
October 19, 2021, 09:13:00 am »
Hello, i use OPNsense like as a virtual server with these parameters: CPU: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (4 cores), memory RAM: 4GB+Swap. All our network adapters are join with 10GB/s (f.e. public Ethernet 10Gbase-T <full-duplex>ip). I tried to iperf to wan interface with relatively (in comparison with lan speedtest) good results (always more than 3GBs). My LAN computer is connected with 1Gb/s. But when i try to speedtest (with the closest servers), i cant measure more than 300-320Mb/s down/up. In our network, i also tried simple virtual router (with ipconfig) and speed are always near 1Gb/s and the same result when i try it with device Unifi dream machine Pro. Where can be a problem? I installed opnsense because it looks to be a great device for our network.
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: Low throughput on LAN
«
Reply #1 on:
October 19, 2021, 09:33:14 am »
Which hypervisor? Which virtual NIC? Are you testing with a bare bones OPNsense (NAT only)? Anything running hot (CPU/Mem/Disk/Network) on the hypervisor monitoring?
Logged
matokarlukas
Newbie
Posts: 4
Karma: 0
Re: Low throughput on LAN
«
Reply #2 on:
October 19, 2021, 09:51:30 am »
hypervisor is KVM (proxmox), virtual NIC is Virtio. Yes, i am testing without any firewall shaping rules (just outbound NAT). Nothing is running hot during the network activity (monitored by HV and zabbix)
Logged
testo_cz
Jr. Member
Posts: 61
Karma: 5
Re: Low throughput on LAN
«
Reply #3 on:
October 19, 2021, 10:22:59 am »
Just to double-check how your throughput numbers were measured:
Not sure , if you did run iperf3 on your OPNsense VM , but it is strongly discouraged to do so, namely because of throughput results are inconclusive.
iperf3 data should always go through the OPNSense , e.g. PCinWan <-> OPN <-> PCinLan.
With default OPN there is Outbound NAT and so it means PCinLan (iperf3 -c the-wan-IP ) opens the connection to PCinWan (iperf3 -s -B the-wan-IP ).
To get some decent measurements, use more TCP streams and longer than default test periods (e.g.: -t 60 )
iperf3 -P <num> ... to increase No. of TCP , 2 ,5 ,or 10
and
iperf3 -R ... with or without , to test also the other direction
Thanks
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Low throughput on LAN