Switch WiFi Speed/MTU vs Router Speed/MTU

Discussion in 'Switch - Console, Accessories and Hardware' started by Mr. Wizard, Mar 24, 2017.

  1. Mr. Wizard
    OP

    Mr. Wizard Ending the spread of bullshit one thread at a time

    Member
    1,112
    425
    Mar 20, 2015
    Canada
    10th Dimension
    So, I finally worked up the motivation to increase my wireless from 400 Mbps 1x1 to 1.3 Gbps 3x3.

    [​IMG]


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

    [​IMG]


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

    [​IMG]

    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.

    [​IMG]

    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, Mar 24, 2017
    elBenyo and WiiUBricker like this.
  2. DarkIrata

    DarkIrata GBAtemp Fan

    Member
    430
    220
    Jun 12, 2015
    Gambia, The
    With my FritzBox i also got 173 used from max 867.
    Don't see the problem with even that. You don't need more...
     
  3. Mr. Wizard
    OP

    Mr. Wizard Ending the spread of bullshit one thread at a time

    Member
    1,112
    425
    Mar 20, 2015
    Canada
    10th Dimension
    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.

    [​IMG]
     
    elBenyo likes this.
  4. DarkIrata
    This message by DarkIrata has been removed from public view by raulpica, Mar 25, 2017, Reason: Off-topic -rp.
    Mar 24, 2017
  5. Mr. Wizard
    This message by Mr. Wizard has been removed from public view by raulpica, Mar 25, 2017, Reason: Rude -rp.
    Mar 24, 2017
  6. DarkIrata
    This message by DarkIrata has been removed from public view by raulpica, Mar 25, 2017, Reason: Reply to trashed post -rp.
    Mar 24, 2017
  7. Mr. Wizard
    OP

    Mr. Wizard Ending the spread of bullshit one thread at a time

    Member
    1,112
    425
    Mar 20, 2015
    Canada
    10th Dimension
    Ya so, back on topic, anyone else getting higher negotiation than 173 Mbps?

    — Posts automatically merged - Please don't double post! —

    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.
     
  8. -pm-

    -pm- Member

    Newcomer
    27
    43
    Feb 19, 2014
    Gambia, The
    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.
     
  9. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,097
    5,169
    Mar 17, 2010
    Norway
    Alola
    [​IMG]
    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.

    My router has the MTU set at 1500 as well.
     
    Last edited by The Real Jdbye, Mar 24, 2017
    Mr. Wizard likes this.
  10. Mr. Wizard
    OP

    Mr. Wizard Ending the spread of bullshit one thread at a time

    Member
    1,112
    425
    Mar 20, 2015
    Canada
    10th Dimension
    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.

    [​IMG]
     
  11. Mr. Wizard
    OP

    Mr. Wizard Ending the spread of bullshit one thread at a time

    Member
    1,112
    425
    Mar 20, 2015
    Canada
    10th Dimension
    I have some interesting shit to report, working on a video right now.

    Stay Tuned!
     
  12. Mr. Wizard
    OP

    Mr. Wizard Ending the spread of bullshit one thread at a time

    Member
    1,112
    425
    Mar 20, 2015
    Canada
    10th Dimension
  13. MasterViper81

    MasterViper81 GBAtemp Regular

    Member
    121
    18
    Jan 22, 2017
    United States
    The Rice Fields
    I get 6 mbps.