Search Results

Search: Posts Made By: kogorman3
18,958
Posted By drl
Hi. You may wish to look over the...
Hi.

You may wish to look over the documentation for msort. It has numerous options that standard sort does not. Some might be useful for your task:
msort - sort records in complex ways...
18,958
Posted By DGPickett
I wrote a "locality of reference" sort once:...
I wrote a "locality of reference" sort once: mmap64() the file and start sorting by making 2 lists of one line, then a linked list of 2 lines sorted, twice, and then merge them, then again, then...
18,958
Posted By jim mcnamara
There is no way for me to know if this will help...
There is no way for me to know if this will help at all, but I had some fun playing. All of this was on a 16 core 16GB desktop running Cygwin. Linux often performs better on some things because...
18,958
Posted By Don Cragun
Did you perhaps intend to use: export...
Did you perhaps intend to use:
export SORT="--batch-size=1000 --buffer-size=10g"
instead of setting the buffer size twice?
18,958
Posted By DGPickett
One obvious way to use all your CPUs is to split...
One obvious way to use all your CPUs is to split the file into N hunks, use a sort on each and pipe their output to "sort -m <pipe1> . . . <pipeN>". It helps if the file is a regular array, or can be...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 09:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy