Low memory on wrt54gl?

Discussion in 'Tomato Firmware' started by peterdk, Apr 24, 2008.

  1. peterdk

    peterdk Guest

    During normal usage my Tomato 1.19 on a wrt54gl has around 7% memory free ( 14.19 MB / 968.00 KB). When using Bittorrent it sometimes drops to 512KB (3%).

    I am wondering if these values are normal?
  2. danix71

    danix71 LI Guru Member

    Is below the average, but isn't all the free memory (check the option Count cache memory as free memory in your router's Admin-Debug page, save and then restart). You'll see then the total free memory.
  3. szfong

    szfong Network Guru Member

    Tomato, not counting cache memory, use about 10MB, and has about 4MB free. You may be using p2p and many features of Tomato at the same time, which consumes more memory. Many ASUS routers and older Linksys WRT54GS has 32MB of RAM .
  4. rcordorica

    rcordorica Network Guru Member

    yes, the same thing happens on my router. if you are counting cache, then you want your memory to be used! thats what its for.
  5. nvtweak

    nvtweak LI Guru Member

    I don't know why you say tomato uses 10MB not counting cache. This is not my observation.

    After clean boot I see about 63% memory free (on a 16MB router). This is with debug option checked of course.

    However, I did disable both logging and bandwidth monitoring (even though real-time still works :)). and for now, only enabled telnet and httpd deamons at startup.

    Connection limits at 4096.

    EDIT- ok maybe now I see your point. There is about 2MB of memory usage not even registering on the Overview panel.
  6. rcordorica

    rcordorica Network Guru Member

    The 2MB is reserved for the kernel, see the logs too see a detailed map of the memory.

    If "Count cache memory as free memory" is check in debug, then I guess you are running low on memory. Perhaps its your QoS filters?
  7. nvtweak

    nvtweak LI Guru Member

    But how can it be low on memory if right now it says 61.91% free?

    BTW, I actually enabled that option myself, a few days ago.
  8. danix71

    danix71 LI Guru Member

    Dont' understand what you mean...
  9. nvtweak

    nvtweak LI Guru Member

    I think what he is saying, used memory is a good thing.

    If you enable the debug option, it won't count cached memory as being used. Cached memory is memory that is being used by the router, but it can be free'd at any time if needed.
  10. danix71

    danix71 LI Guru Member

    Oke, now I understand...
    But why bother about the free-free memory?:biggrin: I mean, whay bother for the-never-never-used-memory then?
  11. LLigetfa

    LLigetfa LI Guru Member

    You want to track the free-free memory over time to see if there are any leaks or shortages.
  12. mstombs

    mstombs Network Guru Member

    I like to use "top" from a command line to see what processes are using cpu/memory

    Mem: 26912K used, 3824K free, 0K shrd, 1604K buff, 5968K cached
  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