How to make sort using multiple threads to run faster?

sort supports --parallel N to run N thread. However, it seems it only uses around 100% CPU as I observed although the command specified that N threads can be used.

The command is as follows

cat large-file | sort --parallel `nproc`

where I have 16 from nproc.

How to make sort use multiple threads to run faster?

asked Apr 27 by anonymous

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost