deploy-steps-tasks/containers: set concurrency to 2

After some testing, it seems like podman run/exec/create commands can be
run at the same time and decrease the deployment time when 2 commands
(maximum) at the same time are run.

Example of benchmark done for an Undercloud deployment in my local environment:
- With Paunch enabled: 26 min
- With Paunch disabled and concurrency set to 1: 32 min
- With Paunch disabled and concurrency set to 2: 29 min
- With Paunch disabled and concurrency set to 3: 33 min

(Above 4, results are worse).

Change-Id: Ie7fc754046611a339c743141fe28f801f4e4b331
This commit is contained in:
Emilien Macchi 2019-11-15 13:33:11 +01:00
parent a8daeb4267
commit fa99329115
1 changed files with 1 additions and 0 deletions

View File

@ -232,6 +232,7 @@
include_role:
name: tripleo-container-manage
vars:
tripleo_container_manage_concurrency: 2
tripleo_container_manage_systemd_order: true
tripleo_container_manage_cli: "{{ container_cli }}"
tripleo_container_manage_config: "/var/lib/tripleo-config/container-startup-config/step_{{ step }}"