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

Having the SOS led light on slows my internet down......?

Discussion in 'Tomato Firmware' started by FattysGoneWild, Oct 9, 2009.

  1. FattysGoneWild

    FattysGoneWild LI Guru Member

    How is this even possible? I noticed when having the light on. Either set to Amber or White. I cannot achieve full internet speeds. I am on cable and my plan is 20mb/2mb. Upload seems to work fine. But, download takes a major speed drop. The most I can get is about 12mb down. When I turn the light off. I am back at 20mb speeds.
     
  2. mpegmaster

    mpegmaster Addicted to LI Member

    Do you have a soft or bad power supply?

    Maybe turning on the led goes over the power current thresh hole!!!

    Cheers!!!


     
  3. FattysGoneWild

    FattysGoneWild LI Guru Member

    I dunno. I bought my router brand new from newegg just a few months ago.

     
  4. Toastman

    Toastman Super Moderator Staff Member Member

    How are you turning on the light, is it a script? Is the script executing a loop and consuming CPU time? This has been discussed several times in different threads.
     
  5. FattysGoneWild

    FattysGoneWild LI Guru Member

    Not using any kind of script. I went under the following.

    Admin
    Buttons/LED
    Startup LED

    Then the 2 choices are:

    Amber SES
    White SES
     
  6. Planiwa

    Planiwa LI Guru Member

    Speed Measurement from Tomato Router

    As problem solving goes, this one looks too easy. What philosophers would call apodictic.

    Can you provide some evidence, or would you like us to do that for you?

    Here is a suggestion:

    start a download
    start up real time transfer time-chart (misnamed "bandwidth")
    in a shell, after a few seconds, toggle the light
    after a few more seconds, toggle it again.
    observe the change that you told us about
    capture the screen
    post it for us

    If needed, the command to control the led is:

    Code:
    # led -h
    led <wlan/diag/white/amber/dmz> <on/off> [...]
    # 
    

    you could run this:

    Code:
    for white in off on; do for amber in off on;do A="white $white amber $amber"
    echo $A; led $A; sleep 5;done;done
    


    Or you could run a fully automated test:

    Code:
    for white in off on; do for amber in off on;do A="white $white amber $amber"
    echo $A; led $A
    set -- $(ifconfig ppp0) $(ifconfig br0);U=${9#UP}.${46#UP};Y=""
    for X in ${30} ${34} ${67} ${71};do X=${X#*:}
    if [ ${#X} -le 3 ];then X=0;else X=${X%???};fi; Y="$Y $(((X+500)/1000))"
    done
    set -- $Y; Y="$(($1+$2))-$2 $(($3+$4))-$4"
    echo ${Y# }
    sleep 5;done;done
    
    That will do everything except compare the differences, and run a statistical significance test. :)

    # # # # #

    Here is a complete speed comparison program. Others may find it useful, as it demonstrates a number of handy programming tools:

    Code:
    (date; wget -O /dev/null http://speedtest.teksavvy.com/12000k;date)&
    sleep 1
    set -- $(ifconfig ppp0);X=${30#*:};if [ ${#X} -le 3 ];then Y=0;else Y=${X%???};fi
    Z=$Y
    for white in off on; do for amber in off on;do A="white $white amber $amber"
    echo -n $A $'\011'; led $A; sleep 6
    set -- $(ifconfig ppp0);X=${30#*:};if [ ${#X} -le 3 ];then Y=0;else Y=${X%???};fi
    echo $(date +%H:%M:%S) $X $Y $((Y-Z))k;Z=$Y
    done;done
    
    and here are some results:

    Code:
    Fri Oct  9 20:10:30 EDT 2009
    Connecting to speedtest.teksavvy.com (206.248.140.14:80)
    white off amber off 	20:10:37 3597166315 3597166 3245k
    white off amber on 	20:10:43 3600282827 3600282 3116k
    white on amber off 	20:10:50 3603434442 3603434 3152k
    white on amber on 	20:10:56 3606560375 3606560 3126k
    # Fri Oct  9 20:10:57 EDT 2009
    
    Fri Oct  9 20:12:39 EDT 2009
    Connecting to speedtest.teksavvy.com (206.248.140.14:80)
    white off amber off 	20:12:47 3620433001 3620433 3081k
    white off amber on 	20:12:53 3623724203 3623724 3291k
    white on amber off 	20:12:59 3626842317 3626842 3118k
    white on amber on 	20:13:06 3629931199 3629931 3089k
    # Fri Oct  9 20:13:27 EDT 2009
    
    Fri Oct  9 20:13:55 EDT 2009
    Connecting to speedtest.teksavvy.com (206.248.140.14:80)
    white off amber off 	20:14:02 3650907036 3650907 3082k
    white off amber on 	20:14:08 3654030936 3654030 3123k
    white on amber off 	20:14:15 3657040244 3657040 3010k
    white on amber on 	20:14:21 3660284973 3660284 3244k
    # Fri Oct  9 20:14:32 EDT 2009
    
    Fri Oct  9 20:15:10 EDT 2009
    Connecting to speedtest.teksavvy.com (206.248.140.14:80)
    white off amber off 	20:15:17 3679973771 3679973 3147k
    white off amber on 	20:15:23 3682968634 3682968 2995k
    white on amber off 	20:15:30 3686088635 3686088 3120k
    white on amber on 	20:15:36 3689233862 3689233 3145k
    # Fri Oct  9 20:15:50 EDT 2009
    
    Clearly, the download speed is constant, at 3.1MB, regardless of SES LED status.

    Oops -- I just noticed a flaw -- this program leaves both lights on. Should reverse on/off. Let me turn them off, before people at the site start to worry. :)
     
  7. Toastman

    Toastman Super Moderator Staff Member Member

    I think I'd call a priest...

    Planiwa, there is a big light in the sky today. Turn the damned thing off quick...
     
  8. FattysGoneWild

    FattysGoneWild LI Guru Member

    Planiwa,

    Thank you for the results and all the work. Greatly appreciated. :cool: Those instructions you gave me. Was above my head with understanding how to do all of that. Still learning about Tomato..... Just goes to show online speed tests are not always reliable for information. Which was my mistake. I retract what was said in this thread.
     

Share This Page