I'm using cat to pipe different files into one big file. The number of different files varies, from 2 files up to 10, but the total size of all files is always the same (a couple of GB).
My problem: Whenever I get to the case where I have a total of 6 files, the time it takes to concatenate them peaks (i.e significantly more than with 5 or 7), and I have no idea why. Anyone has an idea?
files (all same size):
output
outputTEMP1
outputTEMP2
outputTEMP3
outputTEMP4
outputTEMP5
command:
cat outputTEMP* >> output && rm -f outputTEMP*
Currently, the Machine has to perform some calculations, but I will update later when new measurements are available.
