1PARSORT(1)                         parallel                         PARSORT(1)
2
3
4

NAME

6       parsort - Sort (big files) in parallel
7

SYNOPSIS

9       parsort options for sort
10

DESCRIPTION

12       parsort uses GNU sort to sort in parallel. It works just like sort but
13       faster on inputs with more than 1 M lines, if you have a multicore
14       machine.
15
16       Hopefully these ideas will make it into GNU sort in the future.
17

OPTIONS

19       Same as sort. Except:
20
21       --parallel=N
22           Change the number of sorts run concurrently to N. N will be
23           increased to number of files if parsort is given more than N files.
24

EXAMPLE

26       Sort files:
27
28         parsort *.txt > sorted.txt
29
30       Sort stdin (standard input) numerically:
31
32         cat numbers | parsort -n > sorted.txt
33

PERFORMANCE

35       parsort is faster on files than on stdin (standard input), because
36       different parts of a file can be read in parallel.
37
38       On a 48 core machine you should see a speedup of 3x over sort.
39

AUTHOR

41       Copyright (C) 2020-2023 Ole Tange, http://ole.tange.dk and Free
42       Software Foundation, Inc.
43

LICENSE

45       Copyright (C) 2012 Free Software Foundation, Inc.
46
47       This program is free software; you can redistribute it and/or modify it
48       under the terms of the GNU General Public License as published by the
49       Free Software Foundation; either version 3 of the License, or at your
50       option any later version.
51
52       This program is distributed in the hope that it will be useful, but
53       WITHOUT ANY WARRANTY; without even the implied warranty of
54       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
55       General Public License for more details.
56
57       You should have received a copy of the GNU General Public License along
58       with this program.  If not, see <http://www.gnu.org/licenses/>.
59

DEPENDENCIES

61       parsort uses sort, bash, and parallel.
62

SEE ALSO

64       sort
65
66
67
6820230822                          2023-08-24                        PARSORT(1)
Impressum