diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-21 18:40:39 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-25 15:14:09 +0100 |
| commit | e2cb52612e348e4ec464a776ae3fb870a0c7f7d9 (patch) | |
| tree | dc41ef7d309a4f7951aea9a976614ceab0d1ca64 | |
| parent | c1496e2268cb9266562b7987b538b70d38b0f571 (diff) | |
| download | poky-e2cb52612e348e4ec464a776ae3fb870a0c7f7d9.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>
| -rw-r--r-- | documentation/ref-manual/variables.rst | 21 |
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 | |||
