in reply to Re^3: Linux sort or FILE::SORT
in thread Linux sort or FILE::SORT
It does take the -S $BUFFER_SIZE flag.
I guess you must have a later version of gnu sort than I?
C:\test>sort --version sort (GNU textutils) 2.0 Written by Mike Haertel.
Are sort operations usually CPU bound?
The in-memory sort stages certainly are. If you overlap the sorting of one batch with the reading of the second, you save some time.
Have one thread reading/or writing and 1/3/7/15/... threads sorting, you save more time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Linux sort or FILE::SORT
by salva (Canon) on Feb 08, 2011 at 14:52 UTC | |
|
Re^5: Linux sort or FILE::SORT
by Utilitarian (Vicar) on Feb 08, 2011 at 15:02 UTC | |
|
Re^5: Linux sort or FILE::SORT
by Anonymous Monk on Feb 09, 2011 at 03:05 UTC | |
by BrowserUk (Patriarch) on Feb 09, 2011 at 04:17 UTC | |
by Anonymous Monk on Feb 09, 2011 at 04:39 UTC |