by thrownaway2424 · 13y ago · 0 comments
Make all your commands 3x faster:
export LC_ALL=C
Actually use the 32 CPUs you paid for:
sort --parallel=32 ...
xargs -P32 ... export LC_ALL=C
would "make all your commands 3x faster"?With the C locale, text is more or less treated as plain bytes.
[1] http://dtrace.org/blogs/brendan/2011/12/08/2000x-performance...
That's part of why Solaris continues to use them in favour of GNU alternatives (although the GNU alternatives are available easily in /usr/gnu/bin).
gnu parallel FTW!