2014-04-02, 16:49
@da-anda: Just a couple of observations regarding bcmstat.sh usage:
1) Are you on WiFi? By default it will monitor traffic over the eth0 interface, however if you add the parameter "-iwlan0" it should monitor the wlan0 i/f.
2) By default it runs at the lowest possible priority (nice +20). Specify "-N" (normal priority) or "-M" for maximum priority, the increased priority should ensure the script runs more often when the system is under heavy load. Obviously running the script frequently (default is every 2 seconds) and/or at higher priority has consequences as it can influence more significantly the load on the system.
Edit: The extremely high iowait in your screenshots would suggest the Pi is busy waiting on storage (writes?), if my understanding of iowait is correct. What is your storage (SD? USB?) and what filesystem (ext2, ext4, f2fs?)
1) Are you on WiFi? By default it will monitor traffic over the eth0 interface, however if you add the parameter "-iwlan0" it should monitor the wlan0 i/f.
2) By default it runs at the lowest possible priority (nice +20). Specify "-N" (normal priority) or "-M" for maximum priority, the increased priority should ensure the script runs more often when the system is under heavy load. Obviously running the script frequently (default is every 2 seconds) and/or at higher priority has consequences as it can influence more significantly the load on the system.
Edit: The extremely high iowait in your screenshots would suggest the Pi is busy waiting on storage (writes?), if my understanding of iowait is correct. What is your storage (SD? USB?) and what filesystem (ext2, ext4, f2fs?)