summaryrefslogtreecommitdiff
path: root/Tools/portbuild/scripts/reportload.sh
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-01-26 03:06:24 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-01-26 03:06:24 +0000
commit8b817234de1a0b10b264937acba5ce66f5ad1494 (patch)
treecf8e1973ca622cdcdbb38ee2d8b4c256666e7029 /Tools/portbuild/scripts/reportload.sh
parentActivate the ja-eb port. (diff)
(1) Do not delete and recreate the chroot dir for every new package
that is built. This saves a lot of time, especiall when the parallelism (the number of jobs per machine, not the number of machines) is low. However, the build script only blows away /usr/local and /usr/X11R6, so if there is a port that does some nasty things outside that area, all bets are off. (2) Better load balancing. Now, each machine reports its own load in a form of a text file, which the master merely aggregates to pick the lowest-loaded machine(s). Other than generally running faster (and more up-to-date) under loaded conditions, the master script will no longer hold up until a timeout when a machine goes down.
Notes
Notes: svn path=/head/; revision=16334
Diffstat (limited to '')
-rwxr-xr-xTools/portbuild/scripts/reportload.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/reportload.sh b/Tools/portbuild/scripts/reportload.sh
new file mode 100755
index 000000000000..ebae31437c6e
--- /dev/null
+++ b/Tools/portbuild/scripts/reportload.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+s=/a/asami/portbuild/scripts/reportload
+
+if [ -x $s ]; then
+ $s &
+ echo -n ' reportload'
+fi