Ravenports / ravenadm

Administration tool for Ravenports
http://www.ravenports.com
ISC License
17 stars 3 forks source link

look into postponing building variants concurrently #71

Closed jrmarino closed 1 month ago

jrmarino commented 1 year ago

See about enhancing the port build selection by adding a rule not to currently build variants. E.g. webkit2:api41 wouldn't build at the same time as webkit2:api40. Likely, no variants of perl, ruby, or python modules would build at the same time.

3 benefits: 1) no attempt to fetch the same distribution file at the same time (minimizes use of lockf which sucks) and 2) don't bog down the builder with heavy ports with variants. 3) might permit ccache to work more efficiently.

ideally we could do the same for legacy ports like mariadb104, mariad105, mariadb1011, etc, although this would be a little harder to figure out.

jrmarino commented 1 month ago

This was added in recently. The lockf lockups still happened. If there are idle builders after the first pass and another package with a namebase of a current builder is ready to build, if the newest builder of that namebase has been working for at least 200 seconds, the variant will start building. That's the only case were multiple builders of the same namebase are permitted.