Hardware Switch WiFi Speed/MTU vs Router Speed/MTU

Mr. Wizard

Ending the spread of bullshit one thread at a time
OP
Member
Joined
Mar 20, 2015
Messages
1,814
Trophies
0
Location
E8 lattice
XP
1,532
Country
Canada
So, I finally worked up the motivation to increase my wireless from 400 Mbps 1x1 to 1.3 Gbps 3x3.

1300bpost.png



My Macbook Pro is my fastest client @ 1.053 Gbps it obviously supports 3x3 MiMo.

mac1.png



Seems like my Switch is my slowest client @ 173 Mbps.

switch.png


Not sure why but I cannot get it to handshake any higher. Obviously does not support MiMo. Seems to be running just a little higher than 802.11n 40MHz speeds which max out at 150Mbps. I really don't know what to make of this.

Is anyone negotiating faster than 173 Mbps on their Switch's WiFi?



On a second note, the Switch seems to default to 1400 MTU. While that's fine, my router is set to 1500 MTU. So I increased my Switch to match my router @ 1500.

17388765_1883058418642996_7293195595310923662_o.png


If you are not sure what your router's MTU is here is a simple test.
My router is 1500 so 1500 - 28 bytes for the header leaves me with a packet size of 1472.

Open a command prompt and use this command:

C:\>ping -f -l 1472 google.com

Pinging google.com [209.52.146.55] with 1472 bytes of data:
Reply from 209.52.146.55: bytes=1472 time=10ms TTL=61
Reply from 209.52.146.55: bytes=1472 time=9ms TTL=61
Reply from 209.52.146.55: bytes=1472 time=9ms TTL=61
Reply from 209.52.146.55: bytes=1472 time=9ms TTL=61

Ping statistics for 209.52.146.55:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 9ms, Maximum = 10ms, Average = 9ms


As you can see it went through no problem.
Now if I increase the packet size by 1 byte lets see what happens.

C:\>ping -f -l 1473 google.com

Pinging google.com [209.52.146.55] with 1473 bytes of data:
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.

Ping statistics for 209.52.146.55:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),


So there you have it, I can comfortably set my Switch's MTU to 1500. This will maximize the packet size and increase efficiency.

If you get fragmentation at 1472 that means your router is probably set to 1400. So try 1400 - 28 = 1372. If you don't get fragmentation at 1372 but you do at 1373 then your router is set to a 1400 MTU and you should leave the Switch at 1400 as well.

Cheers!
 
Last edited by Mr. Wizard,

Mr. Wizard

Ending the spread of bullshit one thread at a time
OP
Member
Joined
Mar 20, 2015
Messages
1,814
Trophies
0
Location
E8 lattice
XP
1,532
Country
Canada
With my FritzBox i also got 173 used from max 867.
Don't see the problem with even that. You don't need more...
Don't you mean "you" don't need more, because I certainly do. When we get userland or even root on the switch and I want to ftp my saves and backup my nand I will definitely want more than 21.625 MB/s.

Plus since it supports ac it should be capable of around 400Mbps - 800Mbps so why isn't it negotiating at those speeds. It's a mystery and I want to solve it.

giphy.gif
 
  • Like
Reactions: elBenyo

Mr. Wizard

Ending the spread of bullshit one thread at a time
OP
Member
Joined
Mar 20, 2015
Messages
1,814
Trophies
0
Location
E8 lattice
XP
1,532
Country
Canada
Ya so, back on topic, anyone else getting higher negotiation than 173 Mbps?

--------------------- MERGED ---------------------------

I'm hoping it's not something to do with Shibby's tomato firmware, although all my other devices are connecting higher than 1Gb. I'm leaning towards it being a Switch issue.
 

-pm-

Active Member
Newcomer
Joined
Feb 19, 2014
Messages
30
Trophies
0
XP
1,136
Country
Germany
How do you measure your handshake?
Please notice that especially mobile devices do on-demand negotiation to limit energy consumption, means you need to put some load on the wifi of your switch to have real maximum negotiation values.

According to my OpenWRT WiFi Router, my Switch is currently at
RX 24.0 Mbit/s, MCS 0, 20MHz / TX 65.0 Mbit/s, MCS 6, 20MHz, as I configured my WiFi to 20 MHz wide channels, so I am limited to a maximum of 260/280 MBps.

Are you sure your Nintendo Switch adapted the channel width of 80 MHz? Maybe it doesn't support them and falls back to 20 MHz wide channels.
 

Mr. Wizard

Ending the spread of bullshit one thread at a time
OP
Member
Joined
Mar 20, 2015
Messages
1,814
Trophies
0
Location
E8 lattice
XP
1,532
Country
Canada
Screenshot%202017-03-24%2021.29.49.png

I assume this is for power saving purposes, and that it might increase the rate when necessary? It's supposed to be 802.11ac after all.
Ok so it's not just me. I realize it throttles down when demand is low, you can run a connection test from the internet settings menu on the Switch to make it throttle up. My TX/RX usually sits around 7-24 Mbps when throttled down on the Switch and jumps up to 173 when running the connection test but goes no higher. Thanks for your input, at least I know it's not my firmware now.

17310101_1883180871964084_2763267629322291272_o.png
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: butt