Reply
Member
Posts: 217
Registered: ‎11-27-2017
Kudos: 80
Solutions: 16

Re: USG Slow Internet

Yes it should; I didnt look at the IPs. To be extra sure, can you do a traceroute between those two clients to make sure packets hit the USG? If you can also repeat that test 2-3 times at different times over a couple hours to make sure its a consistent result that would be beneficial. But I'll assume that iperf shows the routing performance.

 

So your USG can route packets at 728Mbits/sec, which is well above what your seeing with the WAN rate issue and your ISP speed of 400. I'd like to see the routing be closer to 1000mbit/sec but I'm assuming you either have other clients using bandwidth or a limitation on either iperf side. You'll be looking for an issue between the USG and your modem, the WAN interface, not the USG itself. 

 

What settings do you use to connect to the modem? Have you checked your MSS clamping setting? Can you post two screenshots of the USG's properties in the controller: the WAN1 tab under Details, and the Advanced tab under Config. Also look at the USG's statistics, the performance page, for the WAN interface. Check there to see the USG's WAN rates, and see if there's any abnormal values for memory, CPU, drops or errors. If you have the data going back before the speed drop began, expand the date range to include before/after this issue to check if there are any apparent changes.

 

Also, what is the USG's firmware version, and the model of your modem? 

New Member
Posts: 22
Registered: ‎11-21-2017
Kudos: 1

Re: USG Slow Internet

Here is the traceroute to the other server.

 

C:\Users\tom>tracert 192.168.60.11

Tracing route to dc01.home.lab [192.168.60.11]
over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms 192.168.1.1
2 <1 ms <1 ms <1 ms dc01.home.lab [192.168.60.11]

Trace complete.

 

I have connected my hard wired computer to the other LAN ports on the USG, my 10GB Unifi switch and my 1GB 48 port switch. No change in throughput between them. Same results after a fresh reboot and no other apps open.

 

The modem is direct connect to the USG. Using static IP config to one connection or DHCP to my other connection. BTW, I have two 400mbps down connections. One residential and one business class. 

 

MSS Clamping has been set to Auto or custom 1452 and neither really affect performance. CPU under 20% and memory under 30%. I swapped out the USG with a new one so I don't have the data back before the speed drop unfortunately.

 

Controller and USG are on latest firmware.

 

USG: 4.4.22.5086045

Controller: 5.7.23.0

page 2.png
page 1.png
Regular Member
Posts: 367
Registered: ‎05-24-2017
Kudos: 133
Solutions: 9

Re: USG Slow Internet

Let's make sure the enet between USG and cable modem is really doing 1000 Mbps Full duplex etc.

Make sure ifconfig and ethtool output don't show anything wrong.

Unfortunately the enet adapters on the USG ethtool -S to show detailed stats isn't available.

On linux boxes ethtool -S can tell you a lot about if an enet adapter is working right.

The cavium setup w/ microengines and such it may not matter, but at least you can check if basic things seem right.

 

ssh -l admin 10.1.1.1
Welcome to EdgeOS

By logging in, accessing, or using the Ubiquiti product, you
acknowledge that you have read and understood the Ubiquiti
License Agreement (available in the Web UI at, by default,
http://192.168.1.1) and agree to be bound by its terms.

admin@10.1.1.1's password: 
Linux USG-4-PRO 3.10.20-UBNT #1 SMP Fri Nov 3 16:28:23 MDT 2017 mips64

  ___ ___      .__________.__
 |   |   |____ |__\_  ____/__|
 |   |   /    \|  ||  __) |  |   (c) 2010-2017
 |   |  |   |  \  ||  \   |  |   Ubiquiti Networks, Inc.
 |______|___|  /__||__/   |__|
            |_/                  http://www.ubnt.com

      Welcome to EdgeOS on UniFi Security Gateway!

*NOTE*: Configuration changes made here are not persistent.
They will be overwritten by the controller on next provision.

Last login: Tue Jun 26 21:17:14 2018 from 10.1.1.116
admin@USG-4-PRO:~$ sudo bash
root@USG-4-PRO:/home/admin# ifconfig eth2
eth2      Link encap:Ethernet  HWaddr 78:8a:20:44:65:fc  
          inet addr:XXX.XXX.XXX.XXX  Bcast:255.255.255.255  Mask:255.255.248.0
          inet6 addr: fe80::7a8a:20ff:fe44:65fc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:249472487 errors:0 dropped:0 overruns:0 frame:0
          TX packets:87745811 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:328186975324 (305.6 GiB)  TX bytes:27640642291 (25.7 GiB)

root@USG-4-PRO:/home/admin# ethtool eth2
Settings for eth2:
	Supported ports: [ MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Speed: 1000Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 0
	Transceiver: external
	Auto-negotiation: on
	Link detected: yes
root@USG-4-PRO:/home/admin# 


New Member
Posts: 22
Registered: ‎11-21-2017
Kudos: 1

Re: USG Slow Internet

Here you go.

 

root@ubnt:/usr# ifconfig eth0
eth0 Link encap:Ethernet HWaddr fc:ec:da:4b:2c:a9
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:255.255.255.252
inet6 addr: fe80::feec:daff:fe4b:2ca9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:81134911 errors:0 dropped:27 overruns:0 frame:0
TX packets:20397119 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:88298212838 (82.2 GiB) TX bytes:4232924756 (3.9 GiB)

 

root@ubnt:/usr# ethtool eth0
Settings for eth0:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 7
Transceiver: external
Auto-negotiation: on
Link detected: yes

 

root@ubnt:/usr# ifconfig eth1
eth1 Link encap:Ethernet HWaddr fc:ec:da:4b:2c:aa
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::feec:daff:fe4b:2caa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45810583 errors:0 dropped:133 overruns:0 frame:0
TX packets:88029700 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20568469930 (19.1 GiB) TX bytes:95077149433 (88.5 GiB)

 

root@ubnt:/usr# ethtool eth1
Settings for eth1:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 6
Transceiver: external
Auto-negotiation: on
Link detected: yes
root@ubnt:/usr#

Member
Posts: 217
Registered: ‎11-27-2017
Kudos: 80
Solutions: 16

Re: USG Slow Internet

That all looks fine. What do you have for a modem? You're not using dual WAN right? Can you recheck that smartqueues are disabled in the controller.

 

Can you scan through the USG's log (at /var/log/messages) for any error or messages of concern?

 

I'd upgrade the controller to 5.8.23, even if you've done so previously, before doing the below. 

 

How are you testing the WAN? Speedtests with your isp or via the controller? Can you instead do one to speedof.me, and one to speedtest.net? Post the speeds + ping times.

 

In that ADVANCED tab in the USG's properties, can you disable each of the options under hardware offload one by one, wait for the USG to provision, and then test the WAN throughput again via one of the two above sites? Then re-enable that option and do another speedtest. 3 options for a total of 6 speedtests.

 

Even though you don't have the old data, run a few speedtests in serial for >5 min (you probably did this with the steps above) and check the rate of dropped/error packets for the USG's WAN port over that interval.  

 

Finally, some longshots worth trying:

  • swap in a different cable connecting the USG to the modem
  • Create a new site in your controller with all default settings, reset the USG and adopt it there. Test it to see if that fixes the issue

 

Its getting to the point where you should be filing a ticket with Ubiquiti if you haven't done so already. I'm not seeing much wrong here that could cause this, and its hard to get a feel for it without seeing the whole picture. They'll actually look through the whole support file

New Member
Posts: 22
Registered: ‎11-21-2017
Kudos: 1

Re: USG Slow Internet

Gotta hit the sack but I will answer some now and the rest tomorrow.

 

Not doing dual WAN. Separate networks for each wan. I use a USG for both though. Two separate ones to be clear. Same issue. I have a Netgear router on my res one. I swapped to the USG and the speed is poop. Back to netgear and I'm glorious. Same on business class if I use the Netgear.

 

Smart queues definitely disabled. I enabled provisioned and then disabled again to make sure.

 

I disabled the offloads one by one to test and no effect.

 

All of my speed tests were to multiple sites. Google spectrum Xfinity speedtest.net and fast. Pings are always 9-18ms. Direct to the modem is 430-477 down and 22-27 up. USG to modem is 117-132 down and 19-25 up.

 

I already have a ticket open and they sent it to level 2 escalation.

 

I'll check the logs, upgrade and try the new site tomorrow. Also cable swap. I ordered a few new ones just in case.

 

I know my configuration didn't change but come to think of it I might have upgraded the firmware for the controller and USG sometime in between noticing the speed drops. I did roll back the firmware on the USG to try that but not the controller.

 

New Member
Posts: 22
Registered: ‎11-21-2017
Kudos: 1

Re: USG Slow Internet

Also I have a Ubee modem since business class doesn't let me use my own. -_- but I have a SB6183 on res and I experience the same issue so I don't think it's the modem.

 

Filed a ticket with spectrum to give me a better one. They will be here on Thursday.

New Member
Posts: 1
Registered: ‎05-01-2018

Re: USG Slow Internet

Did you ever resolve this?
New Member
Posts: 22
Registered: ‎11-21-2017
Kudos: 1

Re: USG Slow Internet

Still experiencing a lot of weirdness. Mostly just gave up. Waiting for new firmware.

Regular Member
Posts: 333
Registered: ‎05-26-2016
Kudos: 76
Solutions: 3

Re: USG Slow Internet

Funny, I just encountered a similar problem tonight. I have a USG XG, did the new firmware (which by the way hold off...other threads reporting a lot of different issues).  When I did the new one, I actually didn't have any issues (except one unepected reboot...but so it goes).  Tonight however someone reported WiFi calling not working. I did a speed test and got less than half of what I usually get (550 normal, tonight I got 200).  I rebooted the USG, back to 550.  My current thought is that it is just a firmware bug...my back up is to put my old Edge Router Pro back in place.

 

If I learn more I'll post.

New Member
Posts: 22
Registered: ‎11-21-2017
Kudos: 1

Re: USG Slow Internet

Yeah I have a XG as well. Maybe it's related.

Regular Member
Posts: 333
Registered: ‎05-26-2016
Kudos: 76
Solutions: 3

Re: USG Slow Internet

Did you try going back to 4.4.22?

New Member
Posts: 22
Registered: ‎11-21-2017
Kudos: 1

Re: USG Slow Internet

It's been awhile. I don't remember. I haven't updated since I started this thread though.

Regular Member
Posts: 333
Registered: ‎05-26-2016
Kudos: 76
Solutions: 3

Re: USG Slow Internet

The 4.4.22 was the first...unless you were running on beta...I think. On support right now, don't think they'll be able to do or say anythng.

Senior Member
Posts: 13,014
Registered: ‎08-04-2017
Kudos: 2199
Solutions: 639

Re: USG Slow Internet

Hello @Groong and @shadews,

 

What firmware are you running on the USGs?

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation/Easy Update Scripts | UniFi-VoIP Installation Scripts
USG-4-PRO • USG
USW-48-500W • USW-24-POE-250W 2x • USW-16-POE-150W 3x • USW-24 • USW-8-150W • USW-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M
UCK-G2-PLUS • UCK-G2 • UCK
Regular Member
Posts: 333
Registered: ‎05-26-2016
Kudos: 76
Solutions: 3

Re: USG Slow Internet

I'm on 4.4.28....going to most likely go back to 4.2.2

New Member
Posts: 22
Registered: ‎11-21-2017
Kudos: 1

Re: USG Slow Internet

Heres mine.

ubnt.PNG
New Member
Posts: 1
Registered: ‎01-19-2018

Re: USG Slow Internet

Any luck resolving this? I am having the same issues.

Reply