[obs-commits] [openSUSE/open-build-service] 0cfa12: [backend] bs_dispatch: speed up nativeonly handling

Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 0cfa125b25de6a6aaf115fd0996959928409c9b1 https://github.com/openSUSE/open-build-service/commit/0cfa125b25de6a6aaf115f... Author: Michael Schroeder <mls@suse.de> Date: 2020-02-11 (Tue, 11 Feb 2020) Changed paths: M src/backend/bs_dispatch Log Message: ----------- [backend] bs_dispatch: speed up nativeonly handling The nativeonly flag was checked in the body of two nested loops, taking way too much time if there are many jobs and many idle workers. Add a cache so that we can prune workers that we know cannot build the job. Also remove the worker from the idle list if its file is gone. Not removing it led to lots of unneccessary constrain checks. Commit: 9a94ab725618a3106447ee1d9a2fef1f6ebad6c8 https://github.com/openSUSE/open-build-service/commit/9a94ab725618a3106447ee... Author: Michael Schroeder <mls@suse.de> Date: 2020-02-17 (Mon, 17 Feb 2020) Changed paths: M src/backend/bs_dispatch Log Message: ----------- Merge pull request #9071 from mlschroe/master [backend] bs_dispatch: speed up nativeonly handling Compare: https://github.com/openSUSE/open-build-service/compare/40e6017bd202...9a94ab...
participants (1)
-
Michael Schroeder