DUNE / ND_CAFMaker

Code for making CAFs from ND inputs (whether 2x2+MINERvA prototype or full ND simulation)
Apache License 2.0
1 stars 11 forks source link

High Memory consumption of CAFMaker #69

Open noeroy opened 3 months ago

noeroy commented 3 months ago

On the whole production chain, CAFMaker is what seem to be the most memory consuming step, while it mostly consists in reading and storing things from relatively small files to small file.

There are a lot of calls to GetEntry on a lot of files in the TruthFilling and we just need the Genie Record out of the Genie trees, so one way to optimize the memory consumption could be to set the status of the non-relevant branches to 0

image

Those are Valgrind Massif output with the current situation: image

And disabling irrelevant branches of the genie trees: image