cvs commit: ports/Tools/portbuild/scripts getmachine
Kris Kennaway
kris at FreeBSD.org
Sun Jul 29 19:41:52 UTC 2007
kris 2007-07-29 19:41:52 UTC
FreeBSD ports repository
Modified files:
Tools/portbuild/scripts getmachine
Log:
* Revise the machine selection algorithm. Previously it chose the first
machine with the lowest number of running jobs. This worked when the
clients were all roughly equivalent, but schedules poorly when there
are some that are much more powerful (e.g. 8-core machines vs UP machines)
* We now compute the ratio of running jobs to maximum jobs and schedule on
the machine with lowest occupation fraction. This populates the machines
to equal fractions of their capacity.
Revision Changes Path
1.3 +17 -8 ports/Tools/portbuild/scripts/getmachine
More information about the cvs-ports
mailing list