4 ms·
That manual counting of cores is what I thought we would let `parallel` handle! I have never actually used parallel, though, so I don't know how to best do it.
by Bromskloss 9y ago
That manual counting of cores is what I thought we would let `parallel` handle! I have never actually used parallel, though, so I don't know how to best do it.
- cat199 9y agoone way on a leenukz parallel -- `sed -ne 's:^processor.*:yes:p' < /proc/cpuinfo` on openbsd: parallel -- `perl -e 'printf("yes "x\`sysctl -n hw.ncpu\`)'` don't try the latter in a shell script without being prepared to debug tho.
- Bromskloss 9y agoRight. I was unclear. What I really meant was that I was thinking that `parallel` could automatically spin up more and more jobs until it sensed that there is no further performance to be gained. I'm not sure to what extent that is true, though.