-
-
Notifications
You must be signed in to change notification settings - Fork 815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fd starts slowly on systems with very many cores #1203
Comments
(Just a note, I have a script at #1131 that anyone can run which shows the problem.) |
Can someone please provide some benchmark results? See #1131 (comment) as a starting point. Or https://github.com/sharkdp/fd-benchmarks for even more benchmarking scripts. |
some benchmarks: enormous folder (chromium repo w/ 443K files)empty folderfyi json results for both: https://gist.github.com/paulirish/b94888c2e10f65702d8e09210c1584ad |
Set a limit of how many threads fd will use by default. On hosts that have a large number of cores, using additional threads has diminishing returns, and having large numbers of threads increases the setup cost. Thus we don't necessarily want to use the same number of threads as we have cores. Fixes: sharkdp#1203
Set a limit of how many threads fd will use by default. On hosts that have a large number of cores, using additional threads has diminishing returns, and having large numbers of threads increases the setup cost. Thus we don't necessarily want to use the same number of threads as we have cores. Fixes: sharkdp#1203
Originally posted by @pmarreck in #1131 (comment)
The text was updated successfully, but these errors were encountered: