mirror of
https://github.com/Zygo/bees.git
synced 2025-08-02 22:03:29 +02:00
bees: add -G/--thread-min option for minimum thread count
The -g option limits the number of worker threads when the target load average is exceeded. On some systems the load normally runs high, and continuous bees operation is required to avoid running out of disk space. Add a -G/--thread-min option to force at least some threads to continue running. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@@ -545,8 +545,11 @@ Command Line Options
|
||||
* --loadavg-target (-g) LOADAVG
|
||||
* Specify load average target for dynamic worker threads.
|
||||
Threads will be started or stopped subject to the upper limit imposed
|
||||
by thread-factor and thread-count until the load average is within
|
||||
+/- 0.5 of LOADAVG.
|
||||
by thread-factor, thread-min and thread-count until the load average
|
||||
is within +/- 0.5 of LOADAVG.
|
||||
* --thread-min (-G) COUNT
|
||||
* Specify minimum number of worker threads for scanning.
|
||||
Ignored unless -g option is used to specify a target load.
|
||||
|
||||
* --scan-mode (-m) MODE
|
||||
* Specify extent scanning algorithm. Default mode is 0.
|
||||
|
Reference in New Issue
Block a user