guix-devel
[Top][All Lists]
Advanced

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

Re: 03/03: hydra: Update the file with the machines in the bayfront buil


From: Ludovic Courtès
Subject: Re: 03/03: hydra: Update the file with the machines in the bayfront build farm.
Date: Sun, 20 Sep 2020 15:22:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi!

andreas@enge.fr (Andreas Enge) skribis:

> --- a/hydra/machines-bayfront.scm
> +++ b/hydra/machines-bayfront.scm
> @@ -5,7 +5,7 @@
>      (user "bayfront")
>      (host-key "ssh-ed25519 
> AAAAC3NzaC1lZDI1NTE5AAAAIBfd3VZqyoKoZG3X772eDBrN2MPhnNDDnVA34hpf0f9b 
> root@(none)")
>      (parallel-builds 3)
> -    (speed 1.0)))
> +    (speed 8.0)))
>      
>  (define milano
>    (build-machine
> @@ -14,17 +14,17 @@
>      (user "bayfront")
>      (host-key "ssh-ed25519 
> AAAAC3NzaC1lZDI1NTE5AAAAIPJFpBJSaOK2aDaR48Fm8udhLK9fl5YwNlq43uaLBeRv 
> root@(none)")
>      (parallel-builds 3)
> -    (speed 1.0)))
> +    (speed 32.0)))

‘speed’ should be used with care: in general, you always want it to be
the same (not to be confused with ‘parallel-builds’).  In the case
above, the risk is that milano will always be chosen.

When milano’s load is too high, it’ll fall back to the next machine, but
then it means scheduling is wasting time always contacting machines in
the same order, which goes against the strategy of
‘choose-build-machine’ in (guix scripts offload).

Maybe acceptable when there are few machines, but otherwise not great.
:-)

Ludo’.



reply via email to

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