File: omfile-compression-zstd-workers.rst

package info (click to toggle)
rsyslog 8.2512.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,464 kB
  • sloc: ansic: 123,809; sh: 42,109; makefile: 5,962; javascript: 1,842; python: 1,222; lex: 607; yacc: 193; perl: 162; sql: 103; tcl: 9; ruby: 2
file content (52 lines) | stat: -rw-r--r-- 1,574 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.. _param-omfile-compression-zstd-workers:
.. _omfile.parameter.module.compression-zstd-workers:

compression.zstd.workers
========================

.. index::
   single: omfile; compression.zstd.workers
   single: compression.zstd.workers

.. summary-start

In zstd mode, this enables to configure zstd-internal compression worker threads.

.. summary-end

This parameter applies to :doc:`../../configuration/modules/omfile`.

:Name: compression.zstd.workers
:Scope: module
:Type: positive-integer
:Default: module=zlib library default
:Required?: no
:Introduced: 8.2208.0

Description
-----------

In zstd mode, this enables to configure zstd-internal compression worker threads.
This setting has nothing to do with rsyslog workers. The zstd library provides
an enhanced worker thread pool which permits multithreaed compression of serial
data streams. Rsyslog fully supports this mode for optimal performance.

Please note that for this parameter to have an effect, the zstd library must
be compiled with multithreading support. As of this writing (2022), this is
**not** the case for many frequently used distros and distro versions. In this
case, you may want to custom install the zstd library with threading enabled. Note
that this does not require a rsyslog rebuild.

Module usage
------------

.. _param-omfile-module-compression-zstd-workers:
.. _omfile.parameter.module.compression-zstd-workers-usage:
.. code-block:: rsyslog

   module(load="builtin:omfile" compression.zstd.workers="...")

See also
--------

See also :doc:`../../configuration/modules/omfile`.