[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: hydra: bayfront: Tweak the configuration for builds.
From: |
Christopher Baines |
Subject: |
03/03: hydra: bayfront: Tweak the configuration for builds. |
Date: |
Wed, 26 May 2021 14:48:41 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository maintenance.
commit f719274cdcf69ce6175b2d725a3642ea00ab39e2
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Wed May 26 19:44:19 2021 +0100
hydra: bayfront: Tweak the configuration for builds.
Make the Guix Build Coordinator agent more gentle, reducing the max
parallel builds and decreasing the load average limit. Also reduce the
default max-jobs at the daemon level (for builds happening not through
the coordinator agent), and set the default cores to 24 to avoid one
build from loading all the cores.
* hydra/bayfront.scm (services)[guix-build-coordinator-agent-service-type]:
Tweak max-parallel-builds and max-1min-load-average.
[guix-service-type]: Tweak the extra-options.
---
hydra/bayfront.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index b15d728..1502af2 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -793,8 +793,8 @@ proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;"))
(uuid "0c973ac8-4e62-4889-87b4-31c9536641db")
(password-file
"/etc/guix-build-coordinator-agent-password")))
- (max-parallel-builds 8)
- (max-1min-load-average 16)
+ (max-parallel-builds 4)
+ (max-1min-load-average 8)
(systems '("x86_64-linux" "i686-linux"))
(derivation-substitute-urls
(list "https://data.guix.gnu.org"))
@@ -829,7 +829,7 @@ proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;"))
(build-accounts 64)
(extra-options
- (list "--max-jobs" "4"))))
+ (list "--max-jobs" "2" "--cores" "24"))))
(login-service-type
config => (login-configuration
(inherit config)