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

high system load on thibor 15c and wrt54gl

Discussion in 'HyperWRT Firmware' started by lt_g, Jul 8, 2006.

  1. lt_g

    lt_g LI Guru Member

    am seeing some big nubmers here people...
    System Load : 11.02 / 12.46 / 11.29

    that's a lot if a remeber corectly... curently only one LAN client is connected over lan and he is sucking some usenet and FTP traffic around 230 kB/s whene the WLAN clients are connected System Load goes even higher... Is this normal? But I don't feel "slow" it's working stable and fast, wlan transfers are lower but it's due to the signal quality...
     
  2. Toxic

    Toxic Administrator Staff Member

    lower his priority using QoS and see if this makes a difference.
     
  3. lt_g

    lt_g LI Guru Member

    I killed QoS to see the loads, I had only MSN and ICQ on, no WLAN clients, the system load after 15 min looks high

    System Load : 8.59 / 9.51 / 9.28



    Code:
    # cat /proc/meminfo
    
            total:    used:    free:  shared: buffers:  cached:
    Mem:  14733312 13901824   831488        0  1028096  4075520
    Swap:        0        0        0
    MemTotal:        14388 kB
    MemFree:           812 kB
    MemShared:           0 kB
    Buffers:          1004 kB
    Cached:           3980 kB
    SwapCached:          0 kB
    Active:           4820 kB
    Inactive:         3976 kB
    HighTotal:           0 kB
    HighFree:            0 kB
    LowTotal:        14388 kB
    LowFree:           812 kB
    SwapTotal:           0 kB
    SwapFree:            0 kB
    Code:
    # cat /proc/cpuinfo
    
    system type		: Broadcom BCM947XX
    processor		: 0
    cpu model		: BCM3302 V0.8
    BogoMIPS		: 199.47
    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	: 91
    dcache hits		: 4294679274
    dcache misses		: 4130669861
    icache hits		: 4207021962
    icache misses		: 1809539753
    instructions		: 0
    I NEVER had these system loads when I had the WRT54GS v1, bigest load i saw was like 1.04/0.99/0.67 and now constantly over 7... Don't know what to blame...
     
  4. lt_g

    lt_g LI Guru Member

    nvram clear did the trick...

    System Load : 0.13 / 0.06 / 0.01
    but I don't like clearing nvram every 10-14 days i need a perm solution...
     
  5. Toxic

    Toxic Administrator Staff Member

    could you also post your

    "ps x" findings so we know what is exactly running.
     
  6. lt_g

    lt_g LI Guru Member

    well no point now cos it's been reseted should have done that before nvram reset...
    well all is fine now... but the only difference is am not using the script that blinks the cisco logo when WLAN is active... hmmm loads are ULTRA low now...

    System Load : 0.02 / 0.04 / 0.00

    2 wlan clients and the wire pc is using torrents.... strange...
     
  7. tiagoespinha

    tiagoespinha Network Guru Member

    WOW, blinking? I'm sure that's a rather resource hogging task if you're in fact talking about blinking (as in on,off,on,off,on...), you could modify the script though for something like: amber when WLAN is inactive and white when it's active, or the other way around as you please. :)
     
  8. Thibor

    Thibor Super Moderator Staff Member Member

    tia, you're quite correct. it's a cause of large loading.
     
  9. tiagoespinha

    tiagoespinha Network Guru Member

    Ok, just modified the tofu's script to do what I mentioned above, here it goes:
    Code:
    #!/bin/sh 
    I=`nvram get wl0_ifname` 
    while sleep 1; do 
    if [ "`wl assoclist`" != "" ]; then 
    LED="am on wh off"
    else
    LED="am off wh on"
    fi
    if [ "$LED" != "$PLED" ]; then 
    led $LED 
    PLED=$LED 
    fi 
    done
    Enjoy :) :thumbup:
     
  10. lt_g

    lt_g LI Guru Member

    it was doing that but i was to lazy to write so i wrote on/off :)

    edit: thibor is it possible to get that function back but without the high system load
     
  11. Thibor

    Thibor Super Moderator Staff Member Member

    i don't think so, but as long as it doesn't adversely affect performance; give it a shot and see if it has any long term affects
     
  12. tiagoespinha

    tiagoespinha Network Guru Member

    Well, I'm trying that script I modded myself and the router already has around 0.30 load on average which is way above than what it used to. After a few checks, I was wondering if instead of having this script on the startup and with a while structure, we could have a separate script, just for this, ran by the crontab every minute or so.

    So if it's the crontab running every minute a simple script that checks a condition, I believe it would be less painful to the system since it won't be controlling and repeating a while over and over and over, and meanwhile keeping a thread of the startup script running.

    I'm just wondering how do I edit the crontab on a BusyBox, but perhaps I'll eventually find it.
     
  13. lt_g

    lt_g LI Guru Member

    well the router is a lot more faster... before my maximum wlan transfer speed was 2.1MB/s or 17 MBit/s and avrage around 1.6 MB/s, now with the same WPA key and torrents runing am seeing 3.4 MB/s or 27 MBit/s when sending to wpc54gs... so thats a HUGE difference! and this is WRT54GL i wonder how would my old gs work :eek:
    so if somebody told me i could get 3 Mbyte/s with the gl 2 weeks ago I would say ur crazy...

    am seeing peeks of 4.4 MB/s for 5-10 sec... I still can't belive it... and all that with WPA :)
     
  14. lt_g

    lt_g LI Guru Member

    oky i tested the intel 3945 card in my laptop and it got 2.9 MB/s stable when near the router and 2.1 MB/s when on the other side of the flat with SNR 27 dB... so thibor nice firmware it got the best out of my little WRT54GL i still wish the gs worked :(
     

Share This Page