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

High pings DL

Discussion in 'Tomato Firmware' started by lpm11, Mar 22, 2009.

  1. lpm11

    lpm11 Addicted to LI Member

    Hello Everyone!
    That's my first post.
    I've WRT54G-TM with Tomato v1.23.

    I have very high pings, during watching google maps, and when loading pages with many images. Traffic shaping works great during upload, pings are below 60ms.
    P2P makes similar problem when downloading, uploading doesn't make any problem.
    Modifing options: prioritize ack, rst, fin, even icmp! changes nothing.

    My internet: 1024/512 DSL.
    My settings: http://img156.imageshack.us/img156/4427/beztytuua.gif
    I have tried to change classes, setting max speed of classes and everything.
    I had to cut download to 512. Pings are now not above 150 ms.
    Setting MTU to 500 helps, but not much.

    Please help me.
    What is broken in my configuration?
    Could someone send me good-working one (i don't need advanced classification, just http)?

    And sorry for my not very good english.
     
  2. Toastman

    Toastman Super Moderator Staff Member Member

    Hi lpm11

    Most importantly, you have your outgoing MAX Bandwidth set incorrectly, so QOS cannot work. You must use on online speedtester to measure your real upload speed (which will be less than 512k). It is an absolute necessity that you set the outgoing limit at about 85% of the minimum bandwidth that you EVER observe on the line, and often even less. You must measure the speed at different times throughout the day and night with on online speed test utility, with QOS off, and nobody else on the line - to determine the lowest speed obtained for that line. For example, if your lowest speed is 350k (a common figure) then set to 300k. If you want a quick test, use this figure as a start.


    After this:

    Basically, your QOS rules will allow your P2P to take over your links. Have a read of this thread, which will give you some ideas on how to improve things considerably. http://www.linksysinfo.org/forums/showthread.php?t=60304
     
  3. bripab007

    bripab007 Network Guru Member

    Also, you shouldn't really try to define your incoming/download bandwidth (the 1024kbit number) because you don't really have any control over that. You should enter "999999" into that Inbound Limit - Max Bandwidth field.
     
  4. ICE1

    ICE1 Addicted to LI Member

    if it doesn't work out you can always try TCP Vegas.. yeah baby :thumbup:
     
  5. phuque99

    phuque99 LI Guru Member

    Is there TCP BIC congestion control built into tomato, like the existence of the following file?

    /proc/sys/net/ipv4/tcp_bic
     
  6. Toastman

    Toastman Super Moderator Staff Member Member

    No, sorry!
     
  7. lpm11

    lpm11 Addicted to LI Member

    Hi everyone:)

    Toastman:
    This is my speedtest result:
    http://img291.imageshack.us/img291/1668/beztytuu.gif
    It is rather the same at 6 AM and
    I have tried to set Outbound Rate to even 128 kbits and it doesn't matter.
    Upload was always great, but download always made problem:(

    I have tried to change Inbound limit to 512kbit (half). It was much better, but when I explore google maps and use P2P pings increase dramatically:
    C:\Documents and Settings\Łukasz>ping google.com -t

    Badanie google.com [209.85.171.100] z użyciem 32 bajtów danych:

    Odpowiedź z 209.85.171.100: bajtów=32 czas=215ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=214ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=211ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=215ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=211ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=214ms TTL=232
    <it starts :(>
    Odpowiedź z 209.85.171.100: bajtów=32 czas=333ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=269ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=891ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=537ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=224ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=215ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=215ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=211ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=219ms TTL=232
    Odpowiedź z 209.85.171.100: bajtów=32 czas=225ms TTL=232

    I have tried to set Inbound to 99999... TCP Vegas is enabled.
    It helps nothing.


    Is this fault of my ISP?
    I know that I cannot control incomming traffic.

    And I have one idea.. to use RED(Random Early Detection). But it is not built in tomato.
    Is it? Could it help me? But maybe somone with openwrt or ddwrt has it(I think I need file sch_red.o from /lib/modules/2.4.20/kernel/net/sched)?

    How to check, who is "The Weakest Link", where my packets wait in long queues... ?

    Thanks very much for replies:)
     

Share This Page