From 6d9b997e5d0a353a4427bacaf53fd26e1901dd7a Mon Sep 17 00:00:00 2001 From: "Antonio S. Musumeci" Date: Sun, 22 Nov 2026 08:38:40 -0500 Subject: [PATCH] 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. --- mkdocs/docs/config/options.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/mkdocs/docs/config/options.md b/mkdocs/docs/config/options.md index 7ab8022c..7da5d7bf 100644 --- a/mkdocs/docs/config/options.md +++ b/mkdocs/docs/config/options.md @@ -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