See PHI2177. An install reports excessive throttling of Drydock pool growth. A likely reproduction case is:
- Add a sleep 60 && ... before git clone in "DrydockWorkingCopyBlueprintImplementation" to make this more observable.
- With a valid "Working Copy" blueprint with a large limit (say, 32).
- Start 8 taksmasters (bin/phd launch 8 taskmaster).
- Destroy all the working copy resources.
- Lease 32 resources (bin/drydock lease --type working-copy --attributes ...).
Reproduction behavior:
- Drydock takes ~32 minutes to build ~32 resources serially.
Expected behavior (i.e., what the code attempts to implement):
- Drydock builds a few resources initially, then expands the resource pool faster once more resources exist.
Desired behavior:
- Drydock builds no more than 32 resources.
- Drydock builds the resources reasonably quickly (i.e., much faster than 32 minutes).
- But maybe it doesn't immediately build 32 resources in parallel -- there's room to realize the ramp-up rate as a tuning parameter.
I'm going to try to reproduce this as described first.