Subject: CVS commit: pkgsrc/pkgtools
From: Joerg Sonnenberger
Date: 2023-02-12 05:12:54
Message id: 20230212041254.E7255FA90@cvs.NetBSD.org

Log Message:
pbulk-base-0.56: Support for adjusting scheduling

Switch to a weighted scheduling algorithm. Before, build order was based
on number of reachable nodes in the dependency graph. This assumes that
heavy packages are required by other packages. Some big packages
nowadays violate that assumption and can result in long periods at the
end of a build where only a few builders are active. Annotating those
packages with PBULK_WEIGHT in the pbulk-index output can boost their
priority to let them be built earlier. The default weight is 100.

Note: the pbulk-build report has grown an extra field per line with the
computed effective weight of each package. This file is normally used
only internally.

Files:
RevisionActionfile
1.27modifypkgsrc/pkgtools/pbulk-base/Makefile
1.19modifypkgsrc/pkgtools/pbulk/files/pbulk/pbuild/jobs.c
1.9modifypkgsrc/pkgtools/pbulk/files/pbulk/pbuild/pbuild.h