docs: fix upper bound on number of consumed cores
This commit is contained in:
parent
e5319a87ce
commit
99aac72a16
|
@ -36,8 +36,8 @@ to <xref linkend="conf-cores" />, unless <xref linkend="conf-cores" />
|
||||||
equals <literal>0</literal>, in which case <envar>NIX_BUILD_CORES</envar>
|
equals <literal>0</literal>, in which case <envar>NIX_BUILD_CORES</envar>
|
||||||
will be the total number of cores in the system.</para>
|
will be the total number of cores in the system.</para>
|
||||||
|
|
||||||
<para>The total number of consumed cores is a simple multiplication,
|
<para>The maximum number of consumed cores is a simple multiplication,
|
||||||
<xref linkend="conf-cores" /> * <envar>NIX_BUILD_CORES</envar>.</para>
|
<xref linkend="conf-max-jobs" /> * <envar>NIX_BUILD_CORES</envar>.</para>
|
||||||
|
|
||||||
<para>The balance on how to set these two independent variables depends
|
<para>The balance on how to set these two independent variables depends
|
||||||
upon each builder's workload and hardware. Here are a few example
|
upon each builder's workload and hardware. Here are a few example
|
||||||
|
|
Loading…
Reference in a new issue