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

EXAMPLE

19       Sort files:
20
21         parsort *.txt > sorted.txt
22
23       Sort stdin (standard input) numerically:
24
25         cat numbers | parsort -n > sorted.txt
26

PERFORMANCE

28       parsort is faster on a file than on stdin (standard input), because
29       different parts of a file can be read in parallel.
30
31       On a 48 core machine you should see a speedup of 3x over sort.
32

AUTHOR

34       Copyright (C) 2020-2022 Ole Tange, http://ole.tange.dk and Free
35       Software Foundation, Inc.
36

LICENSE

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

DEPENDENCIES

54       parsort uses sort, bash, and parallel.
55

SEE ALSO

57       sort
58
59
60
6120221122                          2022-11-22                        PARSORT(1)
Impressum