Slow WAN after upgrade

Started by jaybowee, August 04, 2020, 11:12:54 PM

Previous topic - Next topic
Hello all,

I have been testing the upgrade and found that my speed is cut in half after the upgrade. I can go back to 20.1 and it returns to normal. Has anyone else had this problem?. Some may not see it if you don't get 1gb down. Mine is 900/45 but when I upgrade I get 590/45. Clean install both versions to get the same results.

I just noticed a similar issue, I blamed my ISP at first. 

I'm on 1Gbps/40Mbps, right after a reboot I get ~950Mbps down, after its been up a bit it drops to ~130Mbps down and it's always that cap for some reason.  It's happened every boot for me now. 

Hi,

I have the same issue with my 500/500 connection.
After the update I get ~280M up/down.

I guess that my hw are getting over the edge with this update.

But when doing a iperf3 one of the cores gets bogged down on 100%.
```
  PID USERNAME    PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
0 root        -76    -      0   288K CPU1     1   3:13 100.00% [kernel{if_io_tqg_1}]
```

--
Regards Falk

Quote from: falk on August 05, 2020, 01:16:28 AM
Hi,

I have the same issue with my 500/500 connection.
After the update I get ~280M up/down.

I guess that my hw are getting over the edge with this update.

But when doing a iperf3 one of the cores gets bogged down on 100%.
```
  PID USERNAME    PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
0 root        -76    -      0   288K CPU1     1   3:13 100.00% [kernel{if_io_tqg_1}]
```

--
Regards Falk

Mine isn't CPU related, I rarely even see over 40% util.  My load averages are usually around 0.15.  I'm not sure what's causing the slowdown on my system.  I'm on brand new hardware as well.

Well I went back to the previous version. Can't take a 400 mb hit like that. My cpu is 2.4 ghz 8 cores and runs under 10% so something is up with the latest version.

i have the same.
when i disable scricata i get my 1GBit back.
with scricata enabeld it dorps so ~600MBit

Hello,

please always mention if you are using IPS/IDS or Proxy.
It is a total different setup if you make use of that technology or if you are just doing Firewalling/NAT.

The speed and throughput can differ depending on configuration and active ruleset of any IPS/IDS.

Share details so others can verify your setup with their setups.

Regards,

Dominik
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de

Quote from: banym on August 05, 2020, 05:41:31 PM
Hello,

please always mention if you are using IPS/IDS or Proxy.
It is a total different setup if you make use of that technology or if you are just doing Firewalling/NAT.

The speed and throughput can differ depending on configuration and active ruleset of any IPS/IDS.

Share details so others can verify your setup with their setups.

Regards,

Dominik
Fair point, I'm using IPS, my speeds seem fine even with IPS for a bit then it degrades to near nothing.  Seemed ok before 20.7 not sure if its the Suricata update or what.

Sent from my GM1917 using Tapatalk


Quote from: banym on August 05, 2020, 05:41:31 PM
Hello,

please always mention if you are using IPS/IDS or Proxy.
It is a total different setup if you make use of that technology or if you are just doing Firewalling/NAT.

The speed and throughput can differ depending on configuration and active ruleset of any IPS/IDS.

Share details so others can verify your setup with their setups.

Regards,

Dominik

I don't use proxy, ips/ids or anything strange, just normal FW/NAT.

With 20.1 the performance of the hw was just on the limit, but in 20.7 it bogs the cpu almost at half the speed.

```
CPU: Intel(R) Atom(TM) CPU D525 @ 1.80GHz (2 cores)
NIC: 82583V Gigabit Network
MEM: 4G
```

--
Regards Falk

Like I said. Clean install on both versions. Everything default and the issue remains.


Can't seem to locate the source for the WAN slowdown.  I disabled IPS and tried a download and I still can't get over 120-130 Mbps on a gigabit connection.  If I reboot the box I can get ~950Mbps for a short time, then it falls back down.  CPU and RAM usage very low.  So strange and frustrating. 


Hello All,
Test the energy management setting once
on Hightadaptive! All others reduce the transfer rates to about 50%.
Greetings from Germany
OPNsense 22.7.9*WG-kmod*OpenSSL*OpenVPN* AdGuardHome*i7-7700*32GB*256SSD*ix0-1, igb0-4, em0*OpenVPN+Wireguard WG0, WG1*NetGear ProSafe XS508*AP Netgear WAX610*alles echtes Blech* Sorry, my English is translated via app*

Quote from: Mondmann on August 08, 2020, 05:49:02 PM
Hello All,
Test the energy management setting once
on Hightadaptive! All others reduce the transfer rates to about 50%.
Greetings from Germany

Thanks for the idea, I've been in hiadaptive.  Wonder if setting to max might help. 

Grüße aus den USA (best I can do ;) )