Hi Julian,
> The load average is calculated from the number of active processes:
> TASK_RUNNING, TASK_UNINTERRUPTIBLE or TASK_SWAPPING. It seems the
> processes in the last state (TASK_SWAPPING) are not included in Linux 2.4.
Thank you, this is it. Yep, TASK_SWAPPING is gone but TASK_EXCLUSIVE has
been introduced. I think it was introduced for SMP to lock.
> The routers can experience load average 0.00 even on full links,
> for example, if there are no running proccesses.
How true!
> But you can start many running processes and to try to measure the
> real CPU load from the network system (not sure how the load average
> will increase for looping processes on different load from the networking).
> But you can start a standalone bogomips test or similar tests that
> measure the CPU cycles for specific time interval.
I also may once try it with the Linux Trace Toolkit.
http://www.opersys.com/LTT/
Best regards and thank you for the clarification,
Roberto Nibali, ratz
--
mailto: `echo NrOatSz@xxxxxxxxx | sed 's/[NOSPAM]//g'`
|