summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-21 18:40:39 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-25 15:22:12 +0100
commit47fab8caa84cac10e60498586bcc87bd5fc5ca44 (patch)
treee018163faeb6f56ee533fa40fe88b11afc12427c /documentation
parenteee7bbc16a3f4b0e8bf61206af83f08365495b68 (diff)
downloadpoky-47fab8caa84cac10e60498586bcc87bd5fc5ca44.tar.gz
ref-manual: Add XZ_THREADS and XZ_MEMLIMIT
XZ_THREADS and XZ_MEMLIMIT were introduced in dunfell. [RP improved an original patch from Paul] (From yocto-docs rev: 96defb66b775093b5270bd1ebad0461c2bba1e5b) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/variables.rst21
1 files changed, 20 insertions, 1 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 754e05c35a..34da5bd30c 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -8759,4 +8759,23 @@ system and gives an overview of their function and contents.
8759 8759
8760 The default value of :term:`XSERVER`, if not specified in the machine 8760 The default value of :term:`XSERVER`, if not specified in the machine
8761 configuration, is "xserver-xorg xf86-video-fbdev xf86-input-evdev". 8761 configuration, is "xserver-xorg xf86-video-fbdev xf86-input-evdev".
8762 8762
8763 :term:`XZ_THREADS`
8764 Specifies the number of parallel threads that should be used when
8765 using xz compression.
8766
8767 By default this scales with core count, but is never set less than 2
8768 to ensure that multi-threaded mode is always used so that the output
8769 file contents are deterministic. Builds will work with a value of 1
8770 but the output will differ compared to the output from the compression
8771 generated when more than one thread is used.
8772
8773 On systems where many tasks run in parallel, setting a limit to this
8774 can be helpful in controlling system resource usage.
8775
8776 :term:`XZ_MEMLIMIT`
8777 Specifies the maximum memory the xz compression should use as a percentage
8778 of system memory. If unconstrained the xz compressor can use large amounts of
8779 memory and become problematic with parallelism elsewhere in the build.
8780 "50%" has been found to be a good value.
8781