Forkrun: Runs multiple inputs through a command in parallel using bash coprocs
github.com
github.com
Maybe I have a really atypical workflow on this? Or maybe I’m misunderstanding something?
I ended up writing my own parallel execution code in shell, and it was much, much faster.
If I don’t care about stdout, I usually use xargs’s parallel mode instead.
Whenever I use xargs (which is available more often on remote servers) I struggle to find the right invocation. And I learned about parallel way after using xargs, so I don't think it's just my habbit.
Similarly to you my use cases are relatively few (hundreds?) long-running commands, so the performance of the implementation is less important.
touch ~/.parallel/runs-without-willing-to-cite
echo --sshdelay 0.09\n--eta >> ~/.parallel/configI can see this being useful for extremely short-lived high paralleled jobs where the overhead of the killing/starting a new process is significant relative to the job itself.
https://www.gnu.org/software/parallel/parallel_alternatives....