Multithreaded sorting

Is there a multi-threaded version of the standard sort command? I am looking for something that will take as input the maximum number of threads to use, possibly a given amount of RAM, as well as standard sort parameters and just run.

+6
source share
1 answer

The sort command was parallelized in coreutils-8.6 , which was released on 2010-10-15. Here's the commit where it was added:

http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=9face836f36c507f01a7d7a33138c5a303e3b1df

However, I am running Ubuntu 11.10, which is still on coreutils-8.5 . I do not know when a new sort breaks into most distributions.

+10
source

Source: https://habr.com/ru/post/890644/


All Articles