1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Slow speeds with E3000 and Tomato

Discussion in 'Tomato Firmware' started by bdf0506, Jul 6, 2013.

  1. bdf0506

    bdf0506 Serious Server Member

    I've been experiencing slow speeds lately, so I downgraded my firmware to the stock linksys firmware for my E3000. By using the default settings with the stock firmware, I get about 55Mbps on the 5Ghz band. I'm in an apartment complex, so the 2.4Ghz band is way too busy for me to accurately do testing, hence why I tested with the 5Ghz band for comparison.

    Now, when I re-flashed to Tomato, using the default settings, I get max of 35Mbps on the 5Ghz band. Any ideas of what could be causing this? I've tried tweaking a few settings, like enabling FrameBurst, or increasing the transmit power, or disabling CTS, but nothing seems to work. There must be some setting to try that I just know what it is or what it does.

    If I connect hard wired to the router, I can get the same 55Mbps speed that I was able to get on wifi with the stock firmware. There is something that is slowing it down with the wifi settings in the firmware, but I just don't know what.

    Below is a dump of my NVRAM settings for the 5Ghz band. One thing that I do notice is some traces of the stock firmware in the NVRAM, like having default_ssid of Cisco12345, which isn't used in Tomato. I'm not sure if this may negatively affect the performance of Tomato. Any help would be greatly appreciated.

    Code:
    wl1_active_mac=
    wl1_afterburner=off
    wl1_akm=psk2
    wl1_ampdu=auto
    wl1_ampdu_rr_rtylimit_tid=2 2 2 2 2 2 2 2
    wl1_ampdu_rtylimit_tid=5 5 5 5 5 5 5 5
    wl1_amsdu=auto
    wl1_antdiv=3
    wl1_ap_isolate=0
    wl1_auth=0
    wl1_auth_mode=none
    wl1_auth_type=0
    wl1_bcn=100
    wl1_bcn_rotate=1
    wl1_bss_enabled=1
    wl1_bss_maxassoc=128
    wl1_btc_mode=0
    wl1_channel=0
    wl1_channels=36,40,44,48,149,153,157,161
    wl1_closed=0
    wl1_corerev=16
    wl1_country=US
    wl1_country_code=US
    wl1_crypto=aes
    wl1_default_ssid=Cisco12345
    wl1_dfs_channels=
    wl1_dfs_postism=60
    wl1_dfs_preism=60
    wl1_distance=
    wl1_dtim=1
    wl1_frag=2346
    wl1_frameburst=off
    wl1_gmode=1
    wl1_gmode_protection=off
    wl1_hw_rxchain=3
    wl1_hw_txchain=3
    wl1_hwaddr=20:AA:4B:<redacted>
    wl1_ifname=eth2
    wl1_infra=1
    wl1_key1=
    wl1_key2=
    wl1_key3=
    wl1_key4=
    wl1_key=1
    wl1_lazywds=0
    wl1_leddc=0x640000
    wl1_mac_deny=
    wl1_mac_filter=0
    wl1_mac_list=
    wl1_macaddr=
    wl1_maclist=
    wl1_macmode=disabled
    wl1_maxassoc=128
    wl1_mcast_regen_bss_enable=1
    wl1_mimo_preamble=mm
    wl1_mitigation=0
    wl1_mode=ap
    wl1_mrate=0
    wl1_nband=1
    wl1_nbw=20
    wl1_nbw_cap=0
    wl1_nctrlsb=lower
    wl1_net_mode=mixed
    wl1_net_reauth=36000
    wl1_nmcsidx=-1
    wl1_nmode=-1
    wl1_nmode_protection=off
    wl1_nreqd=0
    wl1_obss_coex=0
    wl1_passphrase=
    wl1_phytype=n
    wl1_phytypes=n
    wl1_plcphdr=long
    wl1_radarargs40_11n=5 4 4 100 0x6b0 0x6d9 0x2c40 0x7f07 12 195 2000 25 400000000 1000 6000000
    wl1_radarargs_11a=5 4 4 100 0x2b0 0x2f0 0x0 0x0 8 500 4000 10 240000000 1000 3000000
    wl1_radarargs_11n=5 4 3 100 0x6b0 0x6f0 0x2c40 0x7f09 6 300 1200 25 200000000 1000 3000000
    wl1_radarthrs=1 0x6c0 0x6e0 0x6bc 0x6e0 0x6ac 0x6cc 0x6bc 0x6e0
    wl1_radio=1
    wl1_radio_pwrsave_enable=0
    wl1_radio_pwrsave_on_time=50
    wl1_radio_pwrsave_pps=10
    wl1_radio_pwrsave_quiet_time=1800
    wl1_radioids=BCM2056
    wl1_radius_ipaddr=
    wl1_radius_key=
    wl1_radius_port=1812
    wl1_rate=0
    wl1_rateset=default
    wl1_reg_mode=off
    wl1_rifs_advert=auto
    wl1_rts=2347
    wl1_rxchain=3
    wl1_rxchain_pwrsave_enable=1
    wl1_rxchain_pwrsave_pps=10
    wl1_rxchain_pwrsave_quiet_time=1800
    wl1_rxstreams=0
    wl1_security_mode=wpa2_personal
    wl1_ssid=sb-5
    wl1_sta_retry_time=5
    wl1_stbc_tx=auto
    wl1_tnoise=-88
    wl1_txant=3
    wl1_txchain=3
    wl1_txpwr=0
    wl1_txstreams=0
    wl1_ui_channels=36,40,44,48,149,153,157,161
    wl1_unit=1
    wl1_vifs=
    wl1_vlan_prio_mode=off
    wl1_wds=
    wl1_wds_enable=0
    wl1_wds_timeout=1
    wl1_wep=disabled
    wl1_wep_bit=128
    wl1_wep_buf=
    wl1_wep_gen=
    wl1_wep_last=
    wl1_widechannel=0
    wl1_wme=on
    wl1_wme_ap_be=15 63 3 0 0 off off
    wl1_wme_ap_bk=15 1023 7 0 0 off off
    wl1_wme_ap_vi=7 15 1 6016 3008 off off
    wl1_wme_ap_vo=3 7 1 3264 1504 off off
    wl1_wme_apsd=off
    wl1_wme_bss_disable=0
    wl1_wme_no_ack=off
    wl1_wme_sta_be=15 1023 3 0 0 off off
    wl1_wme_sta_bk=15 1023 7 0 0 off off
    wl1_wme_sta_vi=7 15 2 6016 3008 off off
    wl1_wme_sta_vo=3 7 2 3264 1504 off off
    wl1_wme_txp_be=7 3 4 2 0
    wl1_wme_txp_bk=7 3 4 2 0
    wl1_wme_txp_vi=7 3 4 2 0
    wl1_wme_txp_vo=7 3 4 2 0
    wl1_wmf_bss_enable=0
    wl1_wpa_gtk_rekey=3600
    wl1_wpa_psk=<redacted>
    wl1_wps_akm=psk2
    wl1_wps_config_state=1
    wl1_wps_crypto=aes
    wl1_wps_mode=enabled
    wl1_wps_reg=disabled
    wl1_wsc_mode=enabled 
     
  2. macgyver

    macgyver Reformed Router Member

    I dont know which version of tomato you are using but I can offer some help...first off all after flashing to tomato or any other firmware for that matter, the first thing you should do is a thorough NVRAM erase after u load the new firmware...second adjusting tx power does absolutely nothing on this unit so just leave it at 0 to use hardware default...Im using Victeks latest build on my E3000 and it flies...you can get it here:
    http://victek.is-a-geek.com/tomatoen.html
    for 5GHz I recommend changing beacon to 75ms and I use lower channel 52 on my setup 40MHz channel width and short preamble...80211n preamble is set to "Green field" and everything else is the same using WPA2/AES and I see burst speeds up to 80mbps so I think its something with your setup
     
  3. bdf0506

    bdf0506 Serious Server Member

    Unfortunately, clearing the NVRAM does nothing. A reset and/or clear of NVRAM yields the same results - speeds of around 35 Mbps. Are there any settings on the wireless that may be incorrect to cause slower speeds?
     
  4. bdf0506

    bdf0506 Serious Server Member

    With a lot of trial and error, and the help of macgyver, I was able to resolve the issues. I kept the default values that Tomato recommends, and tweaked the following from the default values.

    5Ghz Band:
    • Set WWM to Disable
    2.4Ghz Band:
    • Set WWM to Disable
    • Set 802.11n Preamble to Green Field
    I am now seeing speeds on the 2.4Ghz band that I didn't even think were possible in my noisy apartment complex! Can anybody further explain how these settings work and why changing them solves the issue? I read that WWM has to do with QOS, but I don't have QOS enabled on my router.
     
  5. zapoqx

    zapoqx Networkin' Nut Member

    From the looks of online, WMM ( I assume that is what you meant) is an automatic QoS and power saving function. It even says that its meant for Wifi phones or the like. Since my knowledge isn't as vast, In my case, I think it is needed since I have a single phone that uses WiFi VoIP. If you don't have one however, sounds like you're fine for disabling (which is what seems to have been done) since the power saving isn't what you need nor is the QoS for it.

    As for Green Field, it seems the idea is to eliminate support for a/b/g devices and also not have any interference from a/b/g signals. Essentially, if you have only Wireless N capable devices, you may be better off just using Green Field as they will more than likely be the only ones to have such capable settings.

    Of course, someone else may be able to explain it better, but this is what my drawn conclusions have yielded. Hope that is more of an answer you are looking for.
     
  6. Marcel Tunks

    Marcel Tunks Networkin' Nut Member

    WMM is necessary for "n" speeds. Without it you will connect at no more than 54 megabits/s and get throughput at half that speed (and often less). Some people claim more stable performance on certain devices without WMM, but it usually turns out to be another issue.

    Green field is as described above. Very small performance benefits for small packets if all devices are using it. Although the topic is way over my head, it apparently creates issues with legacy devices, necessitating CTS/RTS, which carries its own overhead. It can also create problems when wireless devices/clients are a mix of two- and three-stream devices.
     
  7. Marcel Tunks

    Marcel Tunks Networkin' Nut Member

    Forgot to mention that you can reduce overhead with the short preamble as long as there are no 802.11b devices around (obviously not an issue since you've been getting away with greenfield.)

    The WMM question pops up periodically. It's sometimes a driver issue on either the router or client side. Which firmware version are you using? Are your clients using Intel wifi cards?

    Other people have had issues with speed tests with certain ISPs when using WMM, but only with certain routers and firmware versions. LAN file transfers will be faster with WMM enabled.
     
  8. bdf0506

    bdf0506 Serious Server Member

    I don't have any 802.11b devices left, but do have a small handful of g devices left. It sounds like I need to re-enable WMM to get the 802.11n speeds. I'll give it a try to reduce the preamble to short.

    Comcast speed test shows 55Mbps with WMM turned OFF, but 35Mbps with WMM turned ON. I'm using a MacBook Pro for all the tests, which has a Broadcom card:

    Card Type:AirPort Extreme (0x14E4, 0x8D)

    Firmware Version:Broadcom BCM43xx 1.0 (5.106.98.100.17)

    You mention that with WMM turned off the router won't be N capable. It shows that it IS operating in 802.11n mode:

    2.4Ghz Band:
    sb:
    PHY Mode:802.11n
    BSSID:<redacted>
    Channel:1
    Country Code:US
    Network Type:Infrastructure
    Security:WPA2 Personal
    Signal / Noise:-53 dBm / -90 dBm
    Transmit Rate:104

    MCS Index:13

    5Ghz Band:
    sb-5:
    PHY Mode:802.11n
    BSSID:<redacted>
    Channel:161,-1
    Network Type:Infrastructure
    Security:WPA2 Personal

    Signal / Noise:-71 dBm / -92 dBm

    I'm running 1.28.0000 MIPSR2-1.10.10 K26 USB Big-VPN which is Advanced Tomato which is based off of Shibby's build.
     
  9. zapoqx

    zapoqx Networkin' Nut Member

    Since it was mentioned before about QoS by me on the previous post I did and how the speeds worked in Victek's build in another thread (that Victek mentioned), it is possible that because WMM enables QoS, the speed is lowered because of the extra work it has to decipher and categorize.
     
  10. Marcel Tunks

    Marcel Tunks Networkin' Nut Member

    Without WMM it will be an 802.11n connection but without all the goodies required to maximize throughput. Your LAN-LAN transfers will be slower without it. If LAN-LAN throughput doesn't matter to you, then leave it alone.

    Funny that you should mention Comcast - that's the ISP where people have reported this problem with WMM. I've seen comments in the forums from people who have experimented with different firmware versions and fixed the problem. I think that the driver is the specific issue, but I have no way to verify that. Experimenting with different firmwares is fun for us, but our families may not agree...

    Anyone with Comcast want to weigh in? Has anyone who had this problem found the right driver combo to maintain wifi-WAN throughput with WMM enabled?
     
  11. bdf0506

    bdf0506 Serious Server Member

    LAN to LAN transfers aren't important to me, so I could just leave it alone. But know you got me wondering about this and want to get this to work the right way.

    I've tried experimenting with just one or two versions and the stock firmware (which doesn't even have an option for WMM), but no luck.

    Comcast's speed test will show 55Mbps, but speakeasy's speedtest will show about 10Mbps.
     
  12. zapoqx

    zapoqx Networkin' Nut Member

    I completely missed the Comcast aspect. Ya, I got nothing to give on that. Just a friend that uses Comcast, sometimes its a pain in the arse just to get certain things working on her end. One time, we were trying to play a D&D game and we had to have me host and assign her privilege just to make sure it would work. Some of the technical issues went away as soon as she got a new router.
     
  13. macgyver

    macgyver Reformed Router Member

    Regarding WMM, for intel based wireless cards it is necessary for it to be enabled to get speeds higher than 54mpbs...as for long preamble it is only used for legacy devices so short preamble is fine as long as u dont have any "B" devices (who does any more):eek:; for Green Field I only use it on 5GHz band as on 2.4GHz I have ps3 iphone etc...5GHz band is set for "N only"
    As for speedtest what are you getting when you test at www.speedtest.net
     
  14. Monk E. Boy

    Monk E. Boy Network Guru Member

    Actually 802.11b devices can support short preamble, but it was added after-the-fact so not all devices have support for it.

    Personally I've noticed that when I'm browsing my video library wirelessly from my tablet the initial display, when it builds an index of all the files that are available, takes absolutely forever if WMM is disabled. It still takes a noticeable chunk of time with it enabled, but it's literally 60-90 seconds vs. 10+ minutes... sometimes it just times out while building the list and aborts the entire process.
     
  15. Jacky444

    Jacky444 Addicted to LI Member

    Have you tested newer 1.14.14 builds? They have greatly improved Wifi drivers.
     
  16. lightsword

    lightsword Serious Server Member

Share This Page