Reply
New Member
Posts: 19
Registered: ‎06-19-2017
Solutions: 3

USG: Slow Internet speed - only 30%

[ Edited ]

I have a 300/300 Mb/s fiber and testing this (using speedtest.net) gives me 320/270 Mb/s... Thats ok.

2 Fiberbox.png

 

But testing the connection via my USG, I get 100/90 Mb/s:

3 USG (CAT 7 kabel).png

 

(sometimes only 50/50)

 

I'm using a 30 cm CAT7 cable between the fiberbox and the USG.
 
Model: UniFi Security Gateway 3P
Version: 4.3.41.4975503
Bandwidth limit: Unlimited
DPI is Off

 

New Member
Posts: 28
Registered: ‎05-12-2015
Kudos: 1
Solutions: 1

Re: USG: Slow Internet speed - only 30%

Do you have Smart Queues on the WAN interface?

I'd enabled them at one point to test and messed up the speed numbers and spent a few hours debugging the same thing before realizing it.

 

I think DPI should be fine to enable, but I'm still kinda new at the UBNT hardware for performance.

Established Member
Posts: 2,045
Registered: ‎10-08-2014
Kudos: 576
Solutions: 157

Re: USG: Slow Internet speed - only 30%

The USG can do basically 1Gbps with basic config so something must be wrong there. I get my Max speeds of 200Mbps no problem with DPI and other small rules enabled.

You have some special configuration or so?
Help the community by marking issues as solved when they are!

If you need some help or just someone to bounce ideas off on a project, please send requests/details to:
consult@think-networks.com
New Member
Posts: 19
Registered: ‎06-19-2017
Solutions: 3

Re: USG: Slow Internet speed - only 30%

No... Smart Queue is disabled...
New Member
Posts: 19
Registered: ‎06-19-2017
Solutions: 3

Re: USG: Slow Internet speed - only 30%

I don't think there are any special setting set on this. I only have 6 port forwards and nothing else....
Regular Member
Posts: 334
Registered: ‎11-11-2015
Kudos: 125
Solutions: 31

Re: USG: Slow Internet speed - only 30%

Your data suggests something in the path is running at 100Mbps, not full 1Gbps... Are all ports lit green or are any still amber?

New Member
Posts: 19
Registered: ‎06-19-2017
Solutions: 3

Re: USG: Slow Internet speed - only 30%

All green!

 

All Green.png

Established Member
Posts: 2,045
Registered: ‎10-08-2014
Kudos: 576
Solutions: 157

Re: USG: Slow Internet speed - only 30%

Check via ssh and see as it can happen where the GUI shows green but it's in half-duplex mode
Help the community by marking issues as solved when they are!

If you need some help or just someone to bounce ideas off on a project, please send requests/details to:
consult@think-networks.com
New Member
Posts: 19
Registered: ‎06-19-2017
Solutions: 3

Re: USG: Slow Internet speed - only 30%

What is the command to show the status?
Regular Member
Posts: 406
Registered: ‎10-14-2015
Kudos: 157
Solutions: 52

Re: USG: Slow Internet speed - only 30%

I get 271/275 on my 250/250 fiber connection. does your connection use PPPoE?

New Member
Posts: 19
Registered: ‎06-19-2017
Solutions: 3

Re: USG: Slow Internet speed - only 30%

Ok Found it..
Settings for eth0:
Auto-negotiation: on
Speed: 1000Mb/s
Duplex: Full
Link detected: yes
New Member
Posts: 19
Registered: ‎06-19-2017
Solutions: 3

Re: USG: Slow Internet speed - only 30%

No - DHCP
Member
Posts: 153
Registered: ‎06-12-2017
Kudos: 48
Solutions: 2

Re: USG: Slow Internet speed - only 30%

[ Edited ]

I am also having speed issues and I can't figure out what is causing it...My connection is 1Gbps up/down via fiber but I often get less than half. If I connect directly to the AT&T gateway (as they call it) I have measured over 900Mbps up/down so it has to be something downstream.

 

 

 

And 7 minutes later....

 

USG4P / US-L2-24-POE / USW 24 POE-250W / USW 24 / USW 8 POE-150W / USW 8 POE-60 / USW 8 x 4/ UAP-AC-PRO x 2 / UAP-AC-HD / UAP-AC-SHD / UCK
New Member
Posts: 13
Registered: ‎06-13-2017
Kudos: 1

Re: USG: Slow Internet speed - only 30%

Have you found a solution?

Member
Posts: 153
Registered: ‎06-12-2017
Kudos: 48
Solutions: 2

Re: USG: Slow Internet speed - only 30%

[ Edited ]

I have not had time to do any research. I just ran a speedtest to see what it was now...

 

 

Not as good as I've seen it but not as bad as it often is. The only way, though, to know whether this is a downstream issue or ISP issue is to run two tests... one from the Uverse gateway and one from a client downstream connected to Ubiquity hardware and I can't easily do so every time I check given it requires I go to the Uverse gateway with a capable client. I wonder whether an oDroid SBC could run this test if I left one connected to the Uverse and one connected to the first switch after the USG. I am planning on implementing IPERF3 servers on these SBCs for internal testing but maybe they can be used to run tests with Speedtest.net

USG4P / US-L2-24-POE / USW 24 POE-250W / USW 24 / USW 8 POE-150W / USW 8 POE-60 / USW 8 x 4/ UAP-AC-PRO x 2 / UAP-AC-HD / UAP-AC-SHD / UCK
SuperUser
Posts: 9,106
Registered: ‎01-10-2012
Kudos: 5516
Solutions: 381

Re: USG: Slow Internet speed - only 30%

There is a CLI command you can use to verify if the hardware offload is enabled or not, but for the life of me I can't track it down right now Man Sad

 

That woudl be the first thing I would check.  If it's disabled, no need to troubelshoot anything else related to performance until you find out why the hardware offload is disabled. 

When you receive a solution to your question/issue, don't forget to mark your thread as solved and to give kudo's to the people who have helped you out!

Having wifi problems? Take a look here first: https://help.ubnt.com/hc/en-us/articles/221029967-UniFi-Debugging-Intermittent-Connectivity-Issues-on-your-UAP
Member
Posts: 153
Registered: ‎06-12-2017
Kudos: 48
Solutions: 2

Re: USG: Slow Internet speed - only 30%

Is this the command?

 

 

mca-ctrl -t dump-cfg

If so this is what I found:

 

 

                "offload": {
                        "ipsec": "enable",
                        "ipv4": {
                                "forwarding": "enable",
                                "pppoe": "enable",
                                "vlan": "enable"
                        },

Maybe this is just where it is set and not actually confirming it is enabled...

USG4P / US-L2-24-POE / USW 24 POE-250W / USW 24 / USW 8 POE-150W / USW 8 POE-60 / USW 8 x 4/ UAP-AC-PRO x 2 / UAP-AC-HD / UAP-AC-SHD / UCK
SuperUser
Posts: 9,106
Registered: ‎01-10-2012
Kudos: 5516
Solutions: 381

Re: USG: Slow Internet speed - only 30%


aruffell wrote:

Is this the command?

 

 

mca-ctrl -t dump-cfg

If so this is what I found:

 

 

                "offload": {
                        "ipsec": "enable",
                        "ipv4": {
                                "forwarding": "enable",
                                "pppoe": "enable",
                                "vlan": "enable"
                        },

Maybe this is just where it is set and not actually confirming it is enabled...


That shows the config - what it should be.

 

There's a different command that shows what is currently happening.  I dunno why I had such a hard time finding it earlier. I'll search again here in a bit.

When you receive a solution to your question/issue, don't forget to mark your thread as solved and to give kudo's to the people who have helped you out!

Having wifi problems? Take a look here first: https://help.ubnt.com/hc/en-us/articles/221029967-UniFi-Debugging-Intermittent-Connectivity-Issues-on-your-UAP
New Member
Posts: 13
Registered: ‎06-13-2017
Kudos: 1

Re: USG: Slow Internet speed - only 30%

Hey Eric,

 

have you had a chance to look for the command?

Veteran Member
Posts: 4,918
Registered: ‎09-26-2013
Kudos: 1315
Solutions: 350

Re: USG: Slow Internet speed - only 30%

show configuration all|grep "offload" --after-context=11

 

Is that what you're looking for?

Reply