guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: hydra: bayfront: Tweak local building configuration.


From: Christopher Baines
Subject: 02/02: hydra: bayfront: Tweak local building configuration.
Date: Wed, 18 Aug 2021 06:58:50 -0400 (EDT)

cbaines pushed a commit to branch master
in repository maintenance.

commit 980cfff98857b98de46a953591b4103ec3a9a91e
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Wed Aug 18 11:57:23 2021 +0100

    hydra: bayfront: Tweak local building configuration.
    
    This should avoid high load on bayfront from building things.
    
    * hydra/bayfront.scm (operating-system)[services]: Have the
    guix-build-coordinator-agent only perform one build at a time,
    increase guix-daemon timeouts and reduce the --cores configuration to
    6.
---
 hydra/bayfront.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index c139438..8ea9684 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -917,7 +917,7 @@ access_log  /var/log/nginx/bordeaux.access.log;"))
                 (uuid "0c973ac8-4e62-4889-87b4-31c9536641db")
                 (password-file
                  "/etc/guix-build-coordinator-agent-password")))
-              (max-parallel-builds 4)
+              (max-parallel-builds 1)
               (max-1min-load-average 8)
               (systems '("x86_64-linux" "i686-linux"))
               (derivation-substitute-urls
@@ -945,15 +945,15 @@ access_log  /var/log/nginx/bordeaux.access.log;"))
  )")
                     %build-node-keys))
 
-                  (max-silent-time 3600)
-                  (timeout (* 12 3600))
+                  (max-silent-time (* 12 3600))
+                  (timeout (* 48 3600))
 
                   ;; be friendly to 'guix publish' users
                   (log-compression 'gzip)
 
                   (build-accounts 64)
                   (extra-options
-                   (list "--max-jobs" "2" "--cores" "24"))))
+                   (list "--max-jobs" "2" "--cores" "6"))))
       (login-service-type
        config => (login-configuration
                   (inherit config)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]