diff options
Diffstat (limited to 'documentation/ref-manual/ref-variables.rst')
-rw-r--r-- | documentation/ref-manual/ref-variables.rst | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/documentation/ref-manual/ref-variables.rst b/documentation/ref-manual/ref-variables.rst index 49e756cfba..e184608d19 100644 --- a/documentation/ref-manual/ref-variables.rst +++ b/documentation/ref-manual/ref-variables.rst | |||
@@ -8745,4 +8745,22 @@ system and gives an overview of their function and contents. | |||
8745 | 8745 | ||
8746 | The default value of ``XSERVER``, if not specified in the machine | 8746 | The default value of ``XSERVER``, if not specified in the machine |
8747 | configuration, is "xserver-xorg xf86-video-fbdev xf86-input-evdev". | 8747 | configuration, is "xserver-xorg xf86-video-fbdev xf86-input-evdev". |
8748 | 8748 | ||
8749 | :term:`XZ_THREADS` | ||
8750 | Specifies the number of parallel threads that should be used when | ||
8751 | using xz compression. | ||
8752 | |||
8753 | By default this scales with core count, but is never set less than 2 | ||
8754 | to ensure that multi-threaded mode is always used so that the output | ||
8755 | file contents are deterministic. Builds will work with a value of 1 | ||
8756 | but the output will differ compared to the output from the compression | ||
8757 | generated when more than one thread is used. | ||
8758 | |||
8759 | On systems where many tasks run in parallel, setting a limit to this | ||
8760 | can be helpful in controlling system resource usage. | ||
8761 | |||
8762 | :term:`XZ_MEMLIMIT` | ||
8763 | Specifies the maximum memory the xz compression should use as a percentage | ||
8764 | of system memory. If unconstrained the xz compressor can use large amounts of | ||
8765 | memory and become problematic with parallelism elsewhere in the build. | ||
8766 | "50%" has been found to be a good value. | ||