From bf7a36b2cbacbbf065e7042bee7638f7c8b7b80e Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 17 Aug 2022 17:47:46 +0200 Subject: [PATCH] Koschei: disable builds on aarch64 for now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit aarch64 builders have signifficantly lower capacity that other arches. They are usually loaded with tasks, while ppc64le and x86_64 ones are mostly free. This slows down Koschei as it does not submit scratch builds until load on aarch64 drops below 75 %. The following table illustrates capacity of Koji builders in default channel as of August 17, 2022: ┌─────────┬──────────┬──────────┐ │ arch │ builders │ capacity │ ├─────────┼──────────┼──────────┤ │ x86_64 │ 46 │ 152 │ │ armhfp │ 28 │ 56 │ │ aarch64 │ 34 │ 68 │ │ ppc64 │ 37 │ 148 │ │ ppc64le │ 37 │ 148 │ │ s390x │ 27 │ 67 │ └─────────┴──────────┴──────────┘ --- roles/openshift-apps/koschei/templates/config-backend.cfg.j2 | 3 ++- roles/openshift-apps/koschei/templates/config-frontend.cfg.j2 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/koschei/templates/config-backend.cfg.j2 b/roles/openshift-apps/koschei/templates/config-backend.cfg.j2 index 58411c18ad..ef18d2e823 100644 --- a/roles/openshift-apps/koschei/templates/config-backend.cfg.j2 +++ b/roles/openshift-apps/koschei/templates/config-backend.cfg.j2 @@ -22,7 +22,8 @@ config = { "task_priority": 30, {% else %} "max_builds": 60, - "build_arches": ['x86_64', 'aarch64', 'ppc64', 'ppc64le'], + "build_arches": ['x86_64', 'ppc64', 'ppc64le'], + # "build_arches": ['x86_64', 'aarch64', 'ppc64', 'ppc64le'], "load_threshold": 0.75, "task_priority": 30, {% endif %} diff --git a/roles/openshift-apps/koschei/templates/config-frontend.cfg.j2 b/roles/openshift-apps/koschei/templates/config-frontend.cfg.j2 index ef64f734ec..1ab59df042 100644 --- a/roles/openshift-apps/koschei/templates/config-frontend.cfg.j2 +++ b/roles/openshift-apps/koschei/templates/config-frontend.cfg.j2 @@ -15,7 +15,8 @@ config = { {% if env == 'staging' %} "build_arches": ['x86_64'], {% else %} - "build_arches": ['x86_64', 'aarch64', 'ppc64', 'ppc64le'], + "build_arches": ['x86_64', 'ppc64', 'ppc64le'], + # "build_arches": ['x86_64', 'aarch64', 'ppc64', 'ppc64le'], {% endif %} }, "flask": {