sphenix-calibration-l AT lists.bnl.gov
Subject: Sphenix-calibration-l mailing list
List archive
Re: [Sphenix-calibration-l] [Sphenix-tracking-l] [EXTERNAL] roadmap and todo list for memory reduction
- From: Hugo Pereira Da Costa <hugo.pereira-da-costa AT cea.fr>
- To: Hugo Pereira Da Costa via sPHENIX-calibration-l <sphenix-calibration-l AT lists.bnl.gov>
- Subject: Re: [Sphenix-calibration-l] [Sphenix-tracking-l] [EXTERNAL] roadmap and todo list for memory reduction
- Date: Wed, 6 Apr 2022 08:37:02 -0600
Hi Christof,
Thanks for the slides.
As an aditional thought: a reasonably low hanging fruit (but somewhat invasive) that I can think of is to change our ClusterContainer from a map<hitsetkey, map<clusterkey, cluster>> as it is now, to map<hitsetkey, vector<cluster>>
The reason is that clusterkey = hitsetkey + clusterindex, for all subsystems, and the cluster index you get directly from the vector<cluster>
Does that make sense ?
Hugo
Thanks for the slides, this is a helpful summary of our discussion on Monday. A few scattered thoughts below:
It looks like the most "invasive" change will be moving the clusterkey to to a short int instead of a uint64 with the indices separated by hitsetkey (or surface/detector element I assume is the intent here). We have a lot of places in the seeding where we look up cluster keys from the cluster container which will be affected by this.
By the way, I think Acts also uses vectors over any other storage container for both speed+memory improvements. Generally their containers are accessed solely by index, so it requires careful bookkeeping but I guess this is also your suggestion for the longer term to move away from maps.
Regarding the field map, I learned that the way Acts stores the field values is simply in a vector of double value Eigen3 vectors. These are then accessed by (again, an indexed) cell value when the magnetic field element is called in e.g. the fitter. Discussing with Andi we came to the conclusion it would be a useful feature to have float vs. double option. We load the magnetic field into Acts at the very beginning of the clustering when doing the geometry building. Out of curiosity, do we know to what precision the actual magnetic field mapping will have (e.g. will it really have double precision)?
---------------------------
Joe Osborn, Ph.D. Associate Research Scientist
Oak Ridge National Laboratory osbornjd AT ornl.gov (859)-433-8738
Sent: Tuesday, April 5, 2022 3:32 PM
To: Hugo Pereira Da Costa via sPHENIX-tracking-l <sphenix-tracking-l AT lists.bnl.gov>
Subject: [EXTERNAL] [Sphenix-tracking-l] roadmap and todo list for memory reduction
as promised yesterday I put together a few slides listing the items we need to change
in the software to implement the change in strategy we talked about yesterday.
Please have a look and comment.
Cheers
Christof
sPHENIX-tracking-l mailing list
sPHENIX-tracking-l AT lists.bnl.gov
hxxps://lists.bnl.gov/mailman/listinfo/sphenix-tracking-l
_______________________________________________ sPHENIX-tracking-l mailing list sPHENIX-tracking-l AT lists.bnl.gov https://lists.bnl.gov/mailman/listinfo/sphenix-tracking-l
-
Re: [Sphenix-calibration-l] [Sphenix-tracking-l] [EXTERNAL] roadmap and todo list for memory reduction,
Hugo Pereira Da Costa, 04/06/2022
- Re: [Sphenix-calibration-l] [Sphenix-tracking-l] [EXTERNAL] roadmap and todo list for memory reduction, Christof E Roland, 04/06/2022
Archive powered by MHonArc 2.6.24.