guix-commits
[Top][All Lists]
Advanced

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

branch master updated: hydra: berlin: Conditionally set max-cores on bui


From: Marius Bakke
Subject: branch master updated: hydra: berlin: Conditionally set max-cores on build nodes.
Date: Sun, 18 Oct 2020 17:08:05 -0400

This is an automated email from the git hooks/post-receive script.

mbakke pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 4e8aee7  hydra: berlin: Conditionally set max-cores on build nodes.
4e8aee7 is described below

commit 4e8aee73eeee6424be83fb50d7cdc31a0c2e2f7f
Author: Marius Bakke <marius@devup.no>
AuthorDate: Sun Oct 18 23:07:44 2020 +0200

    hydra: berlin: Conditionally set max-cores on build nodes.
    
    * hydra/berlin-nodes.scm (machine): Set MAX-CORES depending on memory size.
---
 hydra/berlin-nodes.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/hydra/berlin-nodes.scm b/hydra/berlin-nodes.scm
index 37f1b6c..c575b3f 100644
--- a/hydra/berlin-nodes.scm
+++ b/hydra/berlin-nodes.scm
@@ -136,7 +136,11 @@
                                         #:emulated-architectures
                                         '("arm" "aarch64")
                                         #:childhurd? (childhurd-ip? ip)
-                                        #:max-jobs 20))
+                                        #:max-jobs 4
+                                        ;; The big-memory machines have 96
+                                        ;; logical cores, the others 64.
+                                        #:max-cores (if (> memory 128)
+                                                        24 16)))
          (environment managed-host-environment-type)
          (configuration (machine-ssh-configuration
                          (system "x86_64-linux")



reply via email to

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