@neauoire that's called data parallelism!
https://en.wikipedia.org/wiki/Data_parallelism
The rule of thumb (afaik) is to partition the array such that each hardware thread on your CPU has an equal portion of the work to do.
Top-level
@neauoire that's called data parallelism! The rule of thumb (afaik) is to partition the array such that each hardware thread on your CPU has an equal portion of the work to do. 2 comments
Meanwhile here's the pertinent man section for xargs: https://www.gnu.org/software/findutils/manual/html_node/find_html/Controlling-Parallelism.html |
@renaudbedard YES! That's it! Thank you, that's what I was looking for.