all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: 03/03: hydra: Update the file with the machines in the bayfront build farm.
       [not found] ` <20200919163305.B1886208D9@vcs0.savannah.gnu.org>
@ 2020-09-20 13:22   ` Ludovic Courtès
  2020-10-04  8:00     ` Andreas Enge
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2020-09-20 13:22 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

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’.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 03/03: hydra: Update the file with the machines in the bayfront build farm.
  2020-09-20 13:22   ` 03/03: hydra: Update the file with the machines in the bayfront build farm Ludovic Courtès
@ 2020-10-04  8:00     ` Andreas Enge
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Enge @ 2020-10-04  8:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Hello!

On Sun, Sep 20, 2020 at 03:22:25PM +0200, Ludovic Courtès wrote:
> ‘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.

See https://issues.guix.gnu.org/43773 .

Once this is fixed, I agree.

Andreas



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-04  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20200919163302.7428.36764@vcs0.savannah.gnu.org>
     [not found] ` <20200919163305.B1886208D9@vcs0.savannah.gnu.org>
2020-09-20 13:22   ` 03/03: hydra: Update the file with the machines in the bayfront build farm Ludovic Courtès
2020-10-04  8:00     ` Andreas Enge

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.