mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
offload: Increase default 'overload-threshold' value.
When offloading to a single machine, the previous default value would lead 'guix offload' to wait possibly for several minutes between subsequent builds until normalized load would finally go below 0.6. Increasing it mitigates that. * guix/scripts/offload.scm (<build-machine>)[overload-threshold]: Bump to 0.8. * doc/guix.texi (Daemon Offload Setup): Likewise.
This commit is contained in:
parent
02a4e54250
commit
d33ed58169
2 changed files with 2 additions and 2 deletions
|
@ -1409,7 +1409,7 @@ when transferring files to and from build machines.
|
|||
File name of the Unix-domain socket @command{guix-daemon} is listening
|
||||
to on that machine.
|
||||
|
||||
@item @code{overload-threshold} (default: @code{0.6})
|
||||
@item @code{overload-threshold} (default: @code{0.8})
|
||||
The load threshold above which a potential offload machine is
|
||||
disregarded by the offload scheduler. The value roughly translates to
|
||||
the total processor usage of the build machine, ranging from 0.0 (0%) to
|
||||
|
|
|
@ -112,7 +112,7 @@ (define-record-type* <build-machine>
|
|||
;; A #f value tells the offload scheduler to disregard the load of the build
|
||||
;; machine when selecting the best offload machine.
|
||||
(overload-threshold build-machine-overload-threshold ; inexact real between
|
||||
(default 0.6)) ; 0.0 and 1.0 | #f
|
||||
(default 0.8)) ; 0.0 and 1.0 | #f
|
||||
(parallel-builds build-machine-parallel-builds ; number
|
||||
(default 1))
|
||||
(speed build-machine-speed ; inexact real
|
||||
|
|
Loading…
Reference in a new issue