开发者

multi-threaded sort

开发者 https://www.devze.com 2023-03-13 12:13 出处:网络
Is there a multi-threaded version of the standard sort command开发者_StackOverflow社区? I\'m looking for something that would take as input a maximum number of threads to use, possibly a given amount

Is there a multi-threaded version of the standard sort command开发者_StackOverflow社区? I'm looking for something that would take as input a maximum number of threads to use, possibly a given amount of RAM, plus the standard sort options, and just run.


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'm running Ubuntu 11.10 which is still on coreutils-8.5. I don't know when the new sort will make its way into most distros.

0

精彩评论

暂无评论...
验证码 换一张
取 消