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

WRT54GL v1.1 Overclocking via command line ?

Discussion in 'Tomato Firmware' started by Frosty2k8, Dec 21, 2009.

  1. Frosty2k8

    Frosty2k8 Addicted to LI Member

    Hi folks,
    just want to know if it is possible to overclock my WRT54GL v1.1 (Tomato 1.27) via command line? I know that it is possible with Virtual Tomato RAF via the GUI.
    thanks in advance!
     
  2. Toastman

    Toastman Super Moderator Staff Member Member

    nvram set clkfreq=250
    nvram commit
    reboot

    (example)
     
  3. Frosty2k8

    Frosty2k8 Addicted to LI Member

    Many thanks, tried the search but did not find any command
     
  4. jnappert

    jnappert LI Guru Member

    Sure?


    "nvram set clkfreq=250"

    did it for me.
     
  5. karogyoker

    karogyoker Addicted to LI Member

    nvam commit:confused:

    is this necessary?
     
  6. TexasFlood

    TexasFlood Network Guru Member

    I also have
    nvram set debug_clkfix=0
    which I thought was required, but maybe I'm mistaken?
     
  7. TVTV

    TVTV LI Guru Member

    For me the O/C works without clkfix set to 0.
     
  8. Toastman

    Toastman Super Moderator Staff Member Member

    jnappert, yes, I remembered the entry wrong - no "o". NVRAM commit is necessary as the router does not change clock frequency until it reboots.
     
  9. noodles2k

    noodles2k Addicted to LI Member

    "grep MIPS /proc/cpuinfo" will display current clockspeed. without a modified cfe 250 is the max clock.

    Also as Toastman knows well, 240 seems to result in bricks :p.
     
  10. TexasFlood

    TexasFlood Network Guru Member

    I think that's 215 that is the evil bricking number...
     
  11. noodles2k

    noodles2k Addicted to LI Member

    the difference is that 240 is in the table as a stable overclock.. whereas 215 isn't!

    206, 216, 217, 225, 238 and 250 should be stable, although there's no guarantee on that - 240 was also meant to be stable :confused:. Might be good to add a heatsink to the cpu and maybe the ram if going over 225.

    Edit - Actually I can't remember if it's 240 that's unstable, but I'm 100% sure one of the values in the table is.
     
  12. TexasFlood

    TexasFlood Network Guru Member

    Ahh, gotcha. I didn't catch what you meant. But I believe, and Toastman can correct me if I'm wrong, that he has tested all the clock speeds in the table at Bitsum Technologies article "Overclocking the WRT54G/GS v4, WRT54GL v1, WRT54GL v1.1", including 183, 188, 197, 200, 206, 212, 216, 217, 225, 238, 240 and 250 on a WRT54GL w/ BCM3302 0.8. I'm guessing that the same is true of a WRT54G-TM w/ BCM3302 0.8 after the DD-WRT Tornado CFE update treatment, but I haven't tried them all yet to prove that. I've tried 216, 225, 240 and 250 so far on my TM.
     
  13. Toastman

    Toastman Super Moderator Staff Member Member

    Guys, messing about with heatsinks and fans is not going to do anything as the processor, RAM and Flash do not run hot. The bricking is due to something we have no control over, but we can avoid anything we know is suspect. All we really need is 200, something in the middle, say 225 or 240, and 250.

    To recap, for a WRT54GL, I tested these frequencies. Apart from 215, the "rogue", everything else I tried just chose the nearest lower number in that list. This was kinda comforting.

    The ones in blue are the ones I would try if I wanted to step up gradually to 250. But you all know my own personal choice, which is 250.

    183/188/197/200/206/212/216/217/225/238/240/250
     
  14. TexasFlood

    TexasFlood Network Guru Member

    I completely agree. The only thing I might add to that is perhaps 216 for those very conservative folks who might like to dabble. It's quite conservative but adds some pep and is a number the Linksys themselves have used before on some routers. Oh nevermind, looks like you highlighted 216 in your list already so guess you were ahead of me. The only potentially major disadvantage to 216 is that it is so close to the evil 215 that a typo could potentially brick a router.
     
  15. TVTV

    TVTV LI Guru Member

    BogoMIPS: 239.20.

    240 works just fine on my GL 1.1. :)
     
  16. noodles2k

    noodles2k Addicted to LI Member

    Actually it does. I was running Kamikaze 8.09 with wpa_supp to connect to a wpa2_enterprise server and when running torrents it was getting red hot and slowing to a crawl. A heatsink and a small fan fixed the problem instantly :).
     
  17. landa

    landa LI Guru Member

    I have a WRT54GL v1.1 overclocked at 250 MHz. The router is very stable so far.

    PS: I have a big heatsink over the processor

    cat /proc/cpuinfo

    system type : Broadcom BCM5352 chip rev 0
    processor : 0
    cpu model : BCM3302 V0.8
    BogoMIPS : 249.03
    wait instruction : no
    microsecond timers : yes
    tlb_entries : 32
    extra interrupt vector : no
    hardware watchpoint : no
    VCED exceptions : not available
    VCEI exceptions : not available
    unaligned_instructions : 3
    dcache hits : 0
    dcache misses : 0
    icache hits : 0
    icache misses : 0
    instructions : 0
     

    Attached Files:

    • rad.jpg
      rad.jpg
      File size:
      71 KB
      Views:
      87
  18. Frosty2k8

    Frosty2k8 Addicted to LI Member

    My one (WRT54GL 1.1) is running @ 250MHz without any special cooling..
    runs now about ~12h under stress (100% cpu load) very stable....
     
  19. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Just to see its impact I stuck a big old heat sink on my hearing aid. Man I can crank that sucker up so I can hear an ant pass gas.....

    Wow.

    Stable at 225 here. I see no performance increase past 225 so for me it isn't worth the risk the extra speed push causes.
     
  20. Toastman

    Toastman Super Moderator Staff Member Member

    noodles 2k - that's weird. If the thing were unstable it would not slow to a crawl, it would do something unexpected, freeze, crash, or reboot. What do you mean by "red hot" ?

    I have >350 WRT54GL's in service, all at 250MHz, and on every one of them I have ever opened you can stick your finger on the processor while under full load, and you can most certainly not describe it as being particularly hot.

    Also, I imagine this was a typo?

    The offending frequency is 215, 240 is known to be stable.
     
  21. Planiwa

    Planiwa LI Guru Member

    Really? "red hot"? What was getting "red hot"? The whole router? What shade of red?

    Photographs?
     
  22. Frosty2k8

    Frosty2k8 Addicted to LI Member

    I did a speed test with my WRT54GL v1.1 (Wireless 54MBit, G Only WPA2 (Key 30 Characters), AES). I transferd a large file (1GB) from a Win7 wired PC to my Win7 Wireless notebook. Wirless conditions are always the same (Notebook @ same location with perfect signal quality, download is done with native Win7 network share, no FTP connection or something else)

    Results:

    Non overclocked (200Mhz):
    ~24Mbit download speed, Tomato shows CPU usage 100%

    Overclocked (250Mhz)
    ~ 25 Mbit Download speed, Tomato shows CPU usage 100%

    so i am a little disappointed, because i thought that overclocking the CPU about 25% (so from 200 to 250Mhz) will increase the transfer speed about ~20-25%.
     
  23. noodles2k

    noodles2k Addicted to LI Member

    Thats fairly good, overclocking won't do much as it's 11g that's slowing it down.
    I'd assumed it would be due to the processor slowing down as it got too hot due to the increased thermal resistance inside the processor causing it to handle connections slower. It's similar to a connection storm, but convoluted.

    It also did crash now and again, but this was using Kamikaze 8.09 K2.6 so it would behave differently to Tomato. It was also using b43 which may have made things worse. I'm currently modding my WRT54GL to 64mb, but when i'm done I'll see if I can recreate the condition.
    it's a figure of speech - but the heatsink was too hot to touch.
     
  24. landa

    landa LI Guru Member

    In this case, overclocking does not help wireless performances. Try to download a file on a computer connected to a LAN port to 200 and 250 MHz and you'll see a difference of about 25%.
     
  25. Frosty2k8

    Frosty2k8 Addicted to LI Member

    I already did this with 200Mhz between two wired clients (via LAN Win7) and i got 99 Mbit (Task Manager "Networking"). So overclocking wont make any sense to me until i got a faster WAN connection.
     
  26. landa

    landa LI Guru Member

    It is impossible to have that speed (99 Mbit) on LAN with a WRT54GL.
    Some test with my router:

    WAN to LAN at 200 Mhz - 40 mbps
    WAN to LAN at 250 Mhz - 50 mbps
    WAN to Wireless at 200 Mhz - 24 mbps
    WAN to Wireless at 250 Mhz - 24 mbps
     
  27. Frosty2k8

    Frosty2k8 Addicted to LI Member

    I tested only LAN, that means the integrated 100Mbit switch:
    LAN to LAN at 200Mhz -99 Mbit

    My WAN connection is too slow to make tests.
    For me overclocking is senseless because it does not affect the wireless speed, and my WAN coneection is only 16Down/0.8 Up (Mbit)
     
  28. landa

    landa LI Guru Member

    In this case overclock is not what you need. To have a better wireless speed you need to change the router and the wireless card form the laptop to N standard. WRT54GL is a G standard router and is limited to aprox 24 mbps.
     
  29. Frosty2k8

    Frosty2k8 Addicted to LI Member

    Is the WAN port limited to any bandwidth when I use the following settings?:
    Type: Static
    MTU: Default (1500)
     
  30. Toastman

    Toastman Super Moderator Staff Member Member

    Let's see now. LAN connections running at 99Mbps throughput. Processor heat sinks glowing red hot, but only when connecting to Enterprise servers under Kamikaze with WPA-supplement. Supposedly overheated processors politely slowing themselves down.

    I'm impressed, I really am. But sorry, I don't believe any of it. Please, can we return to some semblance of reality where the laws of physics still apply?
     
  31. Planiwa

    Planiwa LI Guru Member

    At the very least it would be helpful to provide actual measurements and relevant configurations, such that our findings can be replicated by others?

    Pehaps something like:

    200Mhz -- 271828 infinite loops per minute.
    250Mhz -- 314159 infinite loops per minute.
    :) :) :)
    Then readers can see whether we have a question about science or one about superstition.
     
  32. noodles2k

    noodles2k Addicted to LI Member

    the max + overheads = ~12.5MBps so why exactly is this odd? :confused:
    erm, it's actually a law of physics - Ohm's...
     
  33. Toastman

    Toastman Super Moderator Staff Member Member

    Ah, I see. A Broadcom processor is a resistor. Now I understand.
     
  34. noodles2k

    noodles2k Addicted to LI Member

    well more like a thermistor :razz:. it's because as the interconnects heat up, their resistance increases.
    While this doesn't affect most of the processor as it uses voltage rather than current signal propogation (and also the transistors are semiconductors so their resistance goes down) it does affect the gates. Every time a gates output changes it charges/discharges its capacitance, when resistance is higher it takes longer to charge/discharge which slows it down. When you take into account there are several thousand gates in a processor (Broadcom or otherwise) it's not really hard to believe that overheating causes it to slow down.
     
  35. Toastman

    Toastman Super Moderator Staff Member Member

  36. noodles2k

    noodles2k Addicted to LI Member

    :rolleyes: whatever.
     
  37. TVTV

    TVTV LI Guru Member

    Shame on you, Toastman! I can tell you that in addition to what noodles said (which is entirely true), it's of extreme importance to take the feng shui of the router into account. I have mine placed exactly according to the ancient rules by a vietnamese priest and now it can do more that 20 MB/s WAN to LAN as opposed to only 4-5 MB/s before. That is because the qi of the Earth (or Gaia) is amplifying the signal getting to the router, virtually increasing the bandwidth flow by up to 5 times!!!111one Furthermore, the logical gates in the CPU discharge their karma more quickly now because of the qi, and are able to handle the semi-conductor diodes SMD transistors more efficiently, thus keeping pace with the bandwidthial flow.

    :)
     
  38. Razor512

    Razor512 Addicted to LI Member

    I have my WRT54GL 1.1 set to 250MHz

    for the CPU, I have a chipset heatsink on it (got the chipset from an old broken motherboard)

    and for the memory and other chips, I use VGA memory heatsinks (pretty much on all parts that get slightly warm or hot.

    even though many of them don't get very hot, I had the parts laying around so why not use them :) (8 vga heatsinks were only $1 from ebay and the chipset heatsink was basically free since it came from a broken motherboard

    old picture.
    [​IMG]

    anyway, I pretty much put heatsinks on everything that gets warmer than I would like.
     
  39. noodles2k

    noodles2k Addicted to LI Member

    drivel. Everyone knows Buddhists don't believe in routers. :erm:
     
  40. Toastman

    Toastman Super Moderator Staff Member Member

    Feng who ?
     
  41. noodles2k

    noodles2k Addicted to LI Member

    in this case it'd be phong thuy :wink:
     
  42. jsmiddleton4

    jsmiddleton4 Network Guru Member

    "I pretty much put heatsinks on everything that gets warmer than I would like."

    Well there's a visual image I don't think I planned on having today......
     
  43. landa

    landa LI Guru Member

    Hi,

    Is something wrong with my router processor regarding to the red lines?
    Note: Is overclocked at 250 Mhz and i have a SD card attached.

    # cat /proc/cpuinfo
    system type : Broadcom BCM947XX
    processor : 0
    cpu model : BCM3302 V0.8
    BogoMIPS : 249.85
    wait instruction : no
    microsecond timers : yes
    tlb_entries : 32
    extra interrupt vector : no
    hardware watchpoint : no
    VCED exceptions : not available
    VCEI exceptions : not available
    unaligned_instructions : 3
    dcache hits : 675323130
    dcache misses : 2583844606
    icache hits : 236623875
    icache misses : 153347200

    instructions : 0
     
  44. rhester72

    rhester72 Network Guru Member

    All it represents is that you have a teeny-tiny L1/L2 cache, which you do. :) No worries there.

    Rodney
     
  45. kaptain_zero

    kaptain_zero Addicted to LI Member

    Here's my Cat output..... and for the record, it seems to be working just fine:

    # cat /proc/cpuinfo
    system type : Broadcom BCM947XX
    processor : 0
    cpu model : BCM3302 V0.8
    BogoMIPS : 249.03
    wait instruction : no
    microsecond timers : yes
    tlb_entries : 32
    extra interrupt vector : no
    hardware watchpoint : no
    VCED exceptions : not available
    VCEI exceptions : not available
    unaligned_instructions : 4
    dcache hits : 1073739702
    dcache misses : 3758096311
    icache hits : 2061238087
    icache misses : 1073462142

    instructions : 0

    Regards

    Christian
     
  46. landa

    landa LI Guru Member

    I changed the firmware (1.25 Victek mod) and now looks like this:

    system type : Broadcom BCM5352 chip rev 0
    processor : 0
    cpu model : BCM3302 V0.8
    BogoMIPS : 249.03
    wait instruction : no
    microsecond timers : yes
    tlb_entries : 32
    extra interrupt vector : no
    hardware watchpoint : no
    VCED exceptions : not available
    VCEI exceptions : not available
    unaligned_instructions : 3
    dcache hits : 0
    dcache misses : 0
    icache hits : 0
    icache misses : 0
    instructions : 0

    Is the same router with the same teeny-tiny L1/L2 cache. Comparing the two outputs, you can see the difference in system type :
     

Share This Page