Date: Sun, 29 Jul 2007 19:41:52 +0000 (UTC) From: Kris Kennaway <kris@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/Tools/portbuild/scripts getmachine Message-ID: <200707291941.l6TJfqS9068022@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707291941.l6TJfqS9068022>
