mirror of
https://github.com/Zygo/bees.git
synced 2025-08-05 23:23:47 +02:00
bees: soft-limit computed thread counts to 8
https://github.com/Zygo/bees/issues/91 describes problems encountered when running bees on systems with many CPU cores. Limit the computed number of threads (using --thread-factor or the default) to a maximum of 8 (i.e. the number of logical cores in a modern laptop). Users can override the limit by using --thread-count. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@@ -62,6 +62,12 @@ Minor kernel problems with workarounds:
|
||||
Note `btrfs receive` is not affected. It is OK to run bees with no
|
||||
workarounds on a filesystem that receives btrfs snapshots.
|
||||
|
||||
* **Systems with many CPU cores** may [lock up when bees runs with one
|
||||
worker thread for every core](https://github.com/Zygo/bees/issues/91).
|
||||
bees limits the number of threads it will try to create based on
|
||||
detected CPU core count. Users may override this limit with the
|
||||
[`--thread-count` option](options.md).
|
||||
|
||||
Older kernels:
|
||||
|
||||
* Older kernels have various data corruption and deadlock/hang issues
|
||||
|
Reference in New Issue
Block a user