My apologies...I stand corrected. Not sure what I was thinking, but I 
chased this down
in the code, and it indeed derived from runq depth (a running, decayed 
average).

Thanks,
/jim


Brian Gupta wrote:
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/gen/getloadavg.c#40
>
> I am not very proficient in C. Based on the code comment though, it 
> seems that it is pretty much straight run queue data.
>
> -Brian
>
> On 7/26/07, *Jim Mauro* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
>     > 1) Load average is the average number of threads(processes) either
>     > running on the cpu or waiting in the run queue.
>
>     I need to check the code, but I do not think this is technically
>     correct.
>     The load average value is derived in part from run queue depth,
>     but also
>     from recent CPU utilization (sys + usr).
>
>     Again, I have not looked at this code in a while, but I recall it's
>     something more
>     complex than a running average of runnable threads.
>
>     Thanks,
>     /jim
>
>
>
>
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to