From 6481f92b2b39783e45748c7807791d127ff7b84c Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Fri, 26 Apr 2019 13:34:22 -0500 Subject: [PATCH] Reduce cpu load during docker image download During the docker image download phase, 20 threads are attempting to download the docker images. This activity includes calls to docker-untar which has high cpu utilization. Dropping this from 20 to 5. Change-Id: I7d58fad81b7cc201ee95af6b1327f1dd1f5a5d69 Fixes-Bug: 1822697 Signed-off-by: Al Bailey --- sysinv/sysinv/sysinv/sysinv/conductor/kube_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysinv/sysinv/sysinv/sysinv/conductor/kube_app.py b/sysinv/sysinv/sysinv/sysinv/conductor/kube_app.py index 548a0bfc6b..30ccd8ceee 100644 --- a/sysinv/sysinv/sysinv/sysinv/conductor/kube_app.py +++ b/sysinv/sysinv/sysinv/sysinv/conductor/kube_app.py @@ -56,7 +56,7 @@ ARMADA_MANIFEST_APPLY_SUCCESS_MSG = 'Done applying manifest' CONTAINER_ABNORMAL_EXIT_CODE = 137 DELETE_SEARCH_PATTERN = 'Deleting release' INSTALLATION_TIMEOUT = 3600 -MAX_DOWNLOAD_THREAD = 20 +MAX_DOWNLOAD_THREAD = 5 TARFILE_DOWNLOAD_CONNECTION_TIMEOUT = 60 TARFILE_TRANSFER_CHUNK_SIZE = 1024 * 512 DOCKER_REGISTRY_USER = 'admin'