8
2
I'm using cat
to pipe different files into one big file. The number of different files varies, from two files up to ten, 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 six files, the time it takes to concatenate them peaks (i.e significantly more than with five or seven), and I have no idea why.
Anyone has an idea?
The 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.
This is definitely odd. I can't tell you why it acts this way, but perhaps you should file a plain text bug report to bug-coreutils@gnu.org. – Reynolds – 2009-12-04T16:33:17.653
What is the exact command line you are using? – innaM – 2009-12-04T15:09:20.437
I added the command line. – brandstaetter – 2009-12-04T15:21:42.973
Measure it! And be sure that you are not caching when you measure! – Davide – 2009-12-04T16:34:20.460