Size of merged file larger than sum of constituent file sizes

Dear experts,

When merging several root files using “hadd” I noticed something which seemed a bit odd to me, namely the size of the merged file being more than twice as large as the sum of the sizes of all its constituent files. The command I used is basically:

“hadd merged.root someDirectory/*root”

and in my case the sum of the sizes of all root files in the directory I want to merge is 9 GB, and the merged file has a size of 22GB. Is this behavior normal or does it mean I am somehow doing something wrong?

Thanks for the help!

regards,

Willem

Hi Willem,
first of all, why do you need to make a huge file, this might slow down your analysis.
I guess something went wrong, normally the new file is less than the original files.
Maybe the compression changed?

try
hadd -ff ...

You could also try other compression levels. But -ff is usually what you want.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.