Tweaking for maximum speed and low latency

Discussion in 'Tomato Firmware' started by JTD121, Jul 31, 2012.

  1. JTD121

    JTD121 Addicted to LI Member

    Hey all,

    Currently running a WRT54G v4, with Tomato Firmware v1.28.7633 .3-Toastman-IPT-ND ND Std.

    I have noticed recently that response times in benchmarks (Speed/Pingtest) are relatively quick for my connection. On Comcast 16/2, I can get ~24mbps on the tests, though I imagine that's using their 'Speedboost', so is not a reliable way to measure the line speed.

    But in actual web surfing, especially on media sites (Youtube, Hulu, etc), there is a definite...I wouldn't call it 'lag' per se, but a bit of a pause between hitting Enter (or clicking something) and it actually doing something about it.

    So, I ask upon the hive, what can I do to speed up my wonderful little home network?

    Current settings that may be of interest, to get discussion going:

    Recently upgraded from a Motorola SB5100 (DOCSIS 2.0) to an SB6121 (DOCSIS 3.0)
    OC'd to 250MHz, 125MHz (as is listed in Advanced/Misc)
    WAN port speed set at 100Mbps Full
    Running on Channel 11
    Secured with WPA2, and AES encryption, full 63 alphanumeric character key
    Putting out 70mW transmit power (Thinking of lowering, since we have fewer, and closer connected laptops)
    WMM disabled
    Telnet/SSH disabled (I don't use 'em since I only ever access the router from inside the network via web interface)
    Couple ports forwarded for torrenting, though I have none running at the moment.

    I can provide any extra details or even screenshots, if that's what you guys want!

    You can also come in here and tell me I am expecting too much from my piddly 54G, too, if that's the case.

    Thanks in advance, to anyone who helps!
  2. JTD121

    JTD121 Addicted to LI Member

    Nevermind everyone! It was a small misconfiguration on my system! Read through the TCPOptimizer documentation and FAQs, got it fixed. NO MOAR PAUSE YAY!!!!

    Though if anyone wants to offer suggestions anyway :D
  3. Azuse

    Azuse LI Guru Member

    What was the solution if you don't mind me asking?
  4. JTD121

    JTD121 Addicted to LI Member

    I basically turned on Nagle's algorithm, and tweaked a couple settings for my connection.
  5. rhester72

    rhester72 Network Guru Member

    Nagling should have the opposite effect - it will increase latency and bandwidth (the classic tradeoff). It should not have had any impact at all on the problem you described.

  6. Gitsum

    Gitsum LI Guru Member

    After reading this, I tried TCPOptimizer on my computer and it slowed down my download speeds to about 65% of normal. I have a 100/5 mbps cable connection. I think Windows 7 default tcp settings work pretty well.
  7. JTD121

    JTD121 Addicted to LI Member

    Hm....I must've read the TCPOptimizer explanation wrong then......I'll disable Nagling again and see if I am gaining anything....
  8. Azuse

    Azuse LI Guru Member

    That's what I thought. The solution to the original problem is disable qos, although the delay it adds under load is no different from the dns delay from your isp so you better off having qos and upping the dns cache on the router to 10k (provided your time-outs are low there's plenty ram) which will do fine at 250MHz.

    Also some devices actually need WMM as it's a requirement for link speeds above 54mb & higher transmit power = more noise negatively effecting throughput, though when is situational. Put inSIDDer on a laptop and wander around, despite crossover interference you may find the less used channels work better for you, or at least are able to reduce transmit power.

    DOCSIS 3.0? What's your line speed? You may want to consider Tomato RAF 1.28.121006

    P.S. Don't try to "tweak" W7, you only end up making things worse in the long run.
  9. JTD121

    JTD121 Addicted to LI Member

    I am using a less-used channel. In the OP, it says I am on Channel 11; there are a few Ch1, and a single Ch6 around me.

    I am not using QoS, either in Windows 7, or on the WRT54G, that I can see. Looks like you have to explicitly enable it.

    What devices would need WMM? I am really curious on that one. I have three wireless laptops, an Xbox 360S wireless (though considering sticking it on a wire), and a modded original Xbox (running XBMC) wired. That is my network at the moment. Five devices none of which (to my knowledge) require WMM, or can even really make use of WMM.

    The DOCSIS 3.0 was just a pre-emptive upgrade at the moment. Also in the OP, we are paying Comcast for 16/2.

    My last run of TCPO I just made sure that Nagle's Algorithm was disabled, according to tooltips in the program, and set the slider to 20mbps, and 'Optimal' at the bottom.

    What's different in Tomato RAF vs Toastmans' Mod?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice