@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.

-- 
[karmic] CPU load not being reported accurately
https://bugs.launchpad.net/bugs/513848
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to