How is average calculated?

Jitesh Shah jiteshs at marvell.com
Wed Jun 17 09:39:07 UTC 2009


aah!
/me kills unnecessary processes on the builder
it picked up new tasks!

Thank you,
Jitesh


On Wed, 2009-06-17 at 01:18 -0700, Paul Howarth wrote:
> On 17/06/09 08:01, Jitesh Shah wrote:
> > Hi,
> > I was wondering how the average load on a builder is calculated?
> > I have a builder which is simply refuses to take tasks (not even one)
> >
> > [jitesh at fedora-arm ~]$ koji list-tasks | grep armbuilder39
> > <NIL OUTPUT>
> > (and there are about 9 tasks still queued. The other builders are busy,
> > so they are in the FREE state)
> >
> > which means the builder isn't processing any task, right?
> >
> > now, here is kojid tail of that builder..
> > 2009-06-17 08:54:07,628 [INFO] koji.build.TaskManager: Not ready for task
> > 2009-06-17 08:54:28,466 [INFO] koji.build.TaskManager: Load average 6.09>  4.00
> > 2009-06-17 08:54:30,365 [INFO] koji.build.TaskManager: Not ready for task
> > 2009-06-17 08:54:50,136 [INFO] koji.build.TaskManager: Load average 6.00>  4.00
> > 2009-06-17 08:54:51,268 [INFO] koji.build.TaskManager: Not ready for task
> > 2009-06-17 08:55:11,708 [INFO] koji.build.TaskManager: Load average 5.75>  4.00
> > 2009-06-17 08:55:13,622 [INFO] koji.build.TaskManager: Not ready for task
> > 2009-06-17 08:55:34,318 [INFO] koji.build.TaskManager: Load average 5.85>  4.00
> > 2009-06-17 08:55:36,339 [INFO] koji.build.TaskManager: Not ready for task
> > 2009-06-17 08:55:56,769 [INFO] koji.build.TaskManager: Load average 5.68>  4.00
> > 2009-06-17 08:55:58,507 [INFO] koji.build.TaskManager: Not ready for task
> >
> > How does it end up calculating 5.5+ load average when it is not even
> > executing a single task?
> 
> Load average is a function of the system as a whole, not just koji.
> 
> http://en.wikipedia.org/wiki/Load_(computing)
> 
> The builder must be busy doing something else.
> 
> Paul.
> 
> --
> Fedora-buildsys-list mailing list
> Fedora-buildsys-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-buildsys-list




More information about the Fedora-buildsys-list mailing list