mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-02 04:46:41 -05:00
docs: correct read-thread-count in the options list
- read-thread-count=0 was documented as the number of logical cores. It is capped at 8, or becomes 2 read threads when process-thread-count is enabled too, as threads.md says. - Drop the sentence that read-thread-count=-1 with process-thread-count picks reasonable values. -1 follows the negative rule like any other negative count: the core count divided by 1, up to the 64 limit. Only 0 is resolved specially. - Point at threads.md for how the two settings combine.
This commit is contained in:
parent
175630ac42
commit
6d9b997e5d
1 changed files with 10 additions and 10 deletions
|
|
@ -136,16 +136,16 @@ config file.
|
|||
use. When used alone (`process-thread-count=-1`) it sets the number
|
||||
of threads reading and processing FUSE messages. When used together
|
||||
it sets the number of threads reading from FUSE. When set to zero it
|
||||
will attempt to discover and use the number of logical cores. If the
|
||||
thread count is set negative it will look up the number of cores
|
||||
then divide by the absolute value. ie. threads=-2 on an 8 core
|
||||
machine will result in 8 / 2 = 4 threads. There will always be at
|
||||
least 1 thread and at most 64, including counts resolved from automatic
|
||||
or negative settings. Counts above 64 are clamped with a syslog warning
|
||||
(`LOG_WARNING`). If set to -1 in combination with `process-thread-count`
|
||||
then it will try to pick reasonable values based on CPU thread count. NOTE:
|
||||
higher number of threads increases parallelism but usually
|
||||
decreases throughput. (default: 0)
|
||||
uses the number of logical cores, up to 8, or 2 read threads when
|
||||
`process-thread-count` is enabled as well. If the thread count is set
|
||||
negative it will look up the number of cores then divide by the
|
||||
absolute value. ie. threads=-2 on an 8 core machine will result in
|
||||
8 / 2 = 4 threads. There will always be at least 1 thread and at
|
||||
most 64, including counts resolved from automatic or negative
|
||||
settings. Counts above 64 are clamped with a syslog warning
|
||||
(`LOG_WARNING`). See [threads](threads.md) for how it combines with
|
||||
`process-thread-count`. NOTE: higher number of threads increases
|
||||
parallelism but usually decreases throughput. (default: 0)
|
||||
* **[process-thread-count](threads.md)=INT**: Enables separate thread
|
||||
pool to asynchronously process FUSE requests. In this mode
|
||||
`read-thread-count` refers to the number of threads reading FUSE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue