zuul/zuul
Tobias Henkel ae887dab58
Improve resource usage with semaphores
Currently when jobs use semaphores they first get and lock the build
nodes and then aquire the semaphore. If there are many jobs waiting
for the semaphore this can block a substantial part of the available
resources. In order to make this safe default to acquire the semaphore
before requesting the nodes.

However in some cases when jobs with a semaphore shall run as fast as
possible in a consecutive manner then it might be preferrable to
accept some waste of resources. In order to support this use case the
job using a semaphore can override this behavior and still acquire the
semaphore after getting the nodes.

Change-Id: Id6f582ec29219d280d05319d1b822c7934437b7a
2018-11-20 15:20:59 +01:00
..
ansible Improve windows logging 2018-11-06 10:50:40 +01:00
cmd Fix flake 3.6.0 warnings 2018-10-28 16:39:30 +01:00
connection Cache branches in connections/sources 2018-08-09 16:02:02 -07:00
driver Merge "Parallelize prime_installation_map" 2018-11-06 19:43:02 +00:00
execution_context Add wrapper driver execution context 2017-08-18 16:35:12 -07:00
executor Fix reporting ansible errors in buildlog 2018-11-07 15:11:17 +01:00
lib Serve project SSH keys and document 2018-09-04 15:42:43 -07:00
manager Improve resource usage with semaphores 2018-11-20 15:20:59 +01:00
merger Handle existing .ssh dir on merger 2018-11-14 15:30:33 +01:00
reporter Filter file comments for existing files 2018-10-25 06:21:01 -07:00
source Cache branches in connections/sources 2018-08-09 16:02:02 -07:00
sphinx Add zuul-sphinx as a requirement 2017-08-07 14:56:17 -07:00
trigger Remove use of six library 2017-06-19 10:34:57 -05:00
web web: fix multiple builds query parameters for a single column 2018-10-10 02:33:20 +00:00
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
_setup_hook.py Use zuul/web/static in setup_hook 2018-10-13 07:40:31 -05:00
change_matcher.py Fix wrong matched project template 2018-08-02 12:19:15 +02:00
configloader.py Improve resource usage with semaphores 2018-11-20 15:20:59 +01:00
exceptions.py mqtt: add basic reporter 2018-05-02 07:20:46 +00:00
model.py Improve resource usage with semaphores 2018-11-20 15:20:59 +01:00
nodepool.py Provide some accounting of node usage in logs 2018-10-15 16:24:40 -07:00
rpcclient.py Add a dequeue command to zuul client 2018-07-27 04:21:07 +00:00
rpclistener.py web: add /{tenant}/pipelines route 2018-09-12 11:09:11 -06:00
scheduler.py Merge "Reload tenant in case of new project branches" 2018-10-23 15:03:16 +00:00
version.py Report git sha in status page version 2018-04-27 10:21:43 -07:00
zk.py Handle missing node during hold check 2018-10-16 09:31:47 -04:00