Comment 25 for bug 513848

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@tgabi:

The two printouts are somewhat imprecise. The calc_load_tasks value is the exact value used for calculating the load avg you see in user space. I printed out the nr_running and nr_uninterruptible counts just for information.

The difference here is that the nr_* counts are the counts at the time of the printing. The calc_load_tasks count is only updated once every five seconds by each cpu, likely within the last 10 ticks of when I print it out. Thus, processes could be awakened sometime within the interval between when the calc_load_tasks is updated and when the kernel prints these messages out.

Now it is odd that none of the calc_load_tasks values are larger than the sum of the nr_* values, but with the limited data set in the log it could be coincidental. If we could load the system more for longer periods of time we would likely see variance both ways, assuming everything is working right.