mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #387] Parallelisation seems excessive #172
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Debilski on GitHub (Apr 22, 2024).
Original GitHub issue: https://github.com/bootandy/dust/issues/387
I ran dust on a server with >40 cores and htop was basically going all red from system call CPU usage. Is it possible to have a lower default on the number of threads that dust uses per default? I have my doubts that it makes much of a difference after a certain threshold.
I am aware that I can set
RAYON_NUM_THREADS=1on the command line but since this is a shared system the majority of users won’t know about this setting.@Dj-Codeman commented on GitHub (Apr 23, 2024):
I agree that a way to limit threads better than
Rayon_whateveris needed but I think the default behavior is okay. Going back and forth from my Hpe server with Tb's of data and my laptop tweaking the default thread pool would hinder at least one of those use cases. I suggest #388, it just adds a-Tflag to allow us to specify however many threads we want.@bootandy commented on GitHub (May 6, 2024):
https://github.com/bootandy/dust/pull/395
will go out in next release. thanks @Dj-Codeman