summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@microsoft.com>2022-04-22 12:45:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-25 15:14:09 +0100
commitd653a436654c28f2ec30dcaecad8ab099caf9c9c (patch)
tree00803e293b24428eef1813cc7452cf262997318b
parente2cb52612e348e4ec464a776ae3fb870a0c7f7d9 (diff)
downloadpoky-d653a436654c28f2ec30dcaecad8ab099caf9c9c.tar.gz
ref-manual: add ZSTD_THREADS
ZSTD_THREADS is new for kirkstone. (From yocto-docs rev: b970936b89bebb184c82be3a9514a9eba7c04f9b) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/ref-manual/variables.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 34da5bd30c..1bfa667786 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -8779,3 +8779,16 @@ system and gives an overview of their function and contents.
8779 memory and become problematic with parallelism elsewhere in the build. 8779 memory and become problematic with parallelism elsewhere in the build.
8780 "50%" has been found to be a good value. 8780 "50%" has been found to be a good value.
8781 8781
8782 :term:`ZSTD_THREADS`
8783 Specifies the number of parallel threads that should be used when
8784 using ZStandard compression.
8785
8786 By default this scales with core count, but is never set less than 2
8787 to ensure that multi-threaded mode is always used so that the output
8788 file contents are deterministic. Builds will work with a value of 1
8789 but the output will differ compared to the output from the compression
8790 generated when more than one thread is used.
8791
8792 On systems where many tasks run in parallel, setting a limit to this
8793 can be helpful in controlling system resource usage.
8794