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

E3000 CPU Speed

Discussion in 'Tomato Firmware' started by occamsrazor, Jan 5, 2011.

  1. occamsrazor

    occamsrazor Network Guru Member

    I've successfully flashed my E3000 to the latest Victek build. All is fine, it feels very fast compared to my WL-500GPv2.
    However in the Status Overview it is reporting "CPU Frequency (MHz) 188" and in Advanced > Miscellaneous it's also reporting "188".
    Is this just a display glitch, or do I need to manually set it to something higher, if so what?

    Thanks....
     
  2. FattysGoneWild

    FattysGoneWild LI Guru Member

    Did you ever find an answer to this?
     
  3. BeHappy

    BeHappy Network Guru Member

    Try to check from Telnet
    nvram find clkfreq
     
  4. shibby20

    shibby20 Network Guru Member

    this router has CPU 480MHz (same as Netgear 3500L and WRT610N v2)
     
  5. Morac

    Morac Network Guru Member

    In the toastman firmware it shows 133 MHz for the frequency on the status page and "undefined" on the miscellaneous page.

    If I do a "nvram find clkfreq" it shows "clkfreq=".

    Does this mean the displayed status is wrong or that it's actually being set to 133 MHz. If it's being set incorrectly, how can I set it back to the default?
     
  6. jsmiddleton4

    jsmiddleton4 Network Guru Member

    By selecting 480 in the CPU freq field in Misc screen and saving.
     
  7. Morac

    Morac Network Guru Member

    I did that and it still shows 133 in status screen.

    How can I tell if this is actually working correctly since the firmware obviously isn't detecting the frequency correctly. I don't want to fry (overclock) my E3000.
     
  8. Morac

    Morac Network Guru Member

    I powered off the E3000 and powered it back up and now both places say 480. I'm still worried that it's not clocked at the default speed though.

    I've read elsewhere that the correct value for clkfreq is "480,240". That shows the correct value on the status screen, but shows "undefined" on the misc screen.
     
  9. Toastman

    Toastman Super Moderator Staff Member Member

    The "nvram find clkfreq" showing clkfreq="" found the entry that you have asked to be set in the NVRAM. Since there isn't any entry, then you didn't set one - which is why the box shows "undefined" - and you should obviously set one. Once you've done that, and rebooted the router, the display should be correct. So no need to worry.

    The router always needs to be rebooted before the clock frequency will change.

    I don't know if the E3000 doesn't allow the firmware to display the clock frequency correctly using the present method, so I have reverted to the original method (showing the NVRAM setting) in my builds so that it won't matter what router you use.

    Update to build 7465.
     
  10. Morac

    Morac Network Guru Member

    If I want to simply use the default frequency (no over clocking) can I just clear the clkfreq variable?

    Basically I don't want to do any CPU clock changing so I want to have the default E3000 value being used.

    What's the numbers after the comma for in clkfreq?
     
  11. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Usually stuff like bus speed, memory speed, etc.
     
  12. TexasFlood

    TexasFlood Network Guru Member

    So should the E3000 clkfreq be set to 480 then? Are there known safe values for over or under clocking?
     
  13. Morac

    Morac Network Guru Member

    So if I want to use the default (for the router) values, what should I set the clkfreq value to?

    I've seen a number of different answers:
    480 (this is what the GUI sets)
    480,240
    480,240,120

    Basically I don't want any changes to any speed (CPU, bus, etc).
     
  14. Toastman

    Toastman Super Moderator Staff Member Member

    The factory set clock frequencies for the RT-N16 and other router using the same chipset is 480Mhz. This is lower than the original advertised speed of 533 MHz. Although they never explained why, it is believed that this was done because for some reason (never explained) the setting of 532MHz was unstable. Even Broadcom later revised their own data sheet to the lower frequency.

    However, some change in Tomato seems to have fixed the instability and most RT-N16's (other not tested) do seem to work fine nowadays at 532MHz. More than likely the E3000 will too - but unless you are running close to the maximum limit (unlikely) then you probably will not notice any difference. [Perhaps those who run a full ad blocking setup might]. Nevertheless, it is a significant 10% approx. increase in speed.

    Hence the choice.

    If you want it to run at the stock frequency, set 480 for an RT-N16 pr similar. Other routers such as the earlier WRT series will need 200-250. Otherwise make up your own mind after reading the pros and cons. Whatever you set, the router will fill in the other values automatically. There are other values in the cfe tables that do need the other two parameters, but since they have lower throughput and are of no interest to us, we only need to input the frequency.
     
  15. Morac

    Morac Network Guru Member

    Okay. I guess that explains things.

    I'll mention that I did a thorough NVRAM reset and when it was done, the status page showed 480 MHz, but the misc page showed "undefined".

    That was before I noticed you had a new firmware (7465) so I flashed that and did a NVRAM reset and now the CPU frequency is simply blank on the status page. What does blank mean?

    Note the CPU speed is also blank in the /proc/cpuinfo file.
     
  16. Toastman

    Toastman Super Moderator Staff Member Member

    Blank means that you did not set a value in NVRAM (or you cleared the setting).

    Undefined means you did not manually set a value yet, so the router will probably be running at it's own default. That's probably why it is showing 480.

    [Check the log at bootup for the "bogomips" setting, double it will give you the approximate clock speed that is actually set e.g. 239.3 bogomips for an RT-N16 running at 480 MHz. The timer should be half the speed setting e.g. "Using 266.000 MHz high precision timer"].

    Oh, by the way, the clock frequencies shown in my build's drop-down box were very carefully chosen to give a good range of clock frequencies that are common to most routers. So generally speaking it is safe to choose any of them (I did test each one on WRT54GL, WL500GPv2 and RT-N16]. If you choose 532 on a GL it will simply use the highest frequency it can - 250Mhz as I remember. There are many more frequencies that could have been added to this table, but they were deliberately not included.
     
  17. Morac

    Morac Network Guru Member

    I see no bogomips in the log file, but there is one in the /proc/cpuinfo file which is 239.20 so I guess the router is doing it's own thing.

    I do see a line in the log file indicating that the CPU is "BCM4716 rev 1 pkg 10 at 480 MHz" so I guess it's using 480 MHz.

    Unlike the older firmware, your 7465 firmware shows no frequency at all on the status page, it's simply blank. It might be a good idea to show the default frequency on the status page if none is set.
     
  18. Morac

    Morac Network Guru Member

    Well when I unplugged and plugged it back in it reverted back to 133 MHz according to the Log (the status screen was still blank).

    So that's wrong.

    When I set it to 480 MHz and rebooted, my WAN connection dropped out after about 5 minutes and I couldn't get it back (without rebooting again)
     
  19. TexasFlood

    TexasFlood Network Guru Member

    Mine is showing 480MHz. I didn't do anything different that what was described. Been over 10 minutes since reboot and WAN is still working fine, obviously since I'm posting this message through it, :smile:.
     

    Attached Files:

Share This Page