-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AlcaBeamMonitor
hoards memory
#42995
Comments
A new Issue was created by @mmusich Marco Musich. @smuzaffar, @Dr15Jones, @makortel, @sextonkennedy, @rappoccio, @antoniovilela can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign dqm,db |
New categories assigned: dqm,db @rvenditti,@syuvivida,@tjavaid,@nothingface0,@antoniovagnerini,@francescobrivio,@saumyaphor4252,@perrotta,@consuegs you have been requested to review this Pull request/Issue and eventually sign? Thanks |
type tracking |
The memory hoarding in Can this be improved for 2025? |
cms-bot internal usage |
type performance-improvements |
I had totally forgotten about this, I'm having a look now. Following the original suggestion
I could try to replace with floats the cmssw/RecoVertex/BeamSpotProducer/src/BeamFitter.cc Lines 418 to 420 in fe85c4c
with track quantities: cmssw/RecoVertex/BeamSpotProducer/src/BeamFitter.cc Lines 324 to 340 in fe85c4c
What I don't understand is:
since from https://github.com/cms-sw/cmssw/blob/master/DataFormats/TrackReco/interface/TrackBase.h, it seems to me that actually all track methods are returning |
Quoting:
see member data type of the cmssw/DataFormats/TrackReco/interface/TrackBase.h Lines 451 to 501 in a503731
|
From the profile in #46040 (comment), specifically https://mkortela.web.cern.ch/mkortela/cgi-bin/navigator/issue46040/test_17.1000_live/390 shows that of the 57.5 MB over 1000 events
So while halving the size of The container of
filled here cmssw/DQM/BeamMonitor/plugins/AlcaBeamMonitor.cc Lines 296 to 300 in eee03e9
and used apparently only in cmssw/DQM/BeamMonitor/plugins/AlcaBeamMonitor.cc Lines 366 to 386 in eee03e9
The latter loop seems to really need only x,y,z and their uncertainties for a subset of the vertices, how about moving that extraction to |
would something like mmusich@6b1946c work? |
Looks pretty much along what I had in mind, thanks! |
I followed up at #46451. I guess looking further in the |
Dumping in a gitHub issue the content of an old Hypernews message (dating back from 2017) and some private conversations:
A suggested mitigation from @slava77 was:
but:
Cc: @gennai @francescobrivio @lguzzi @dzuolo
The text was updated successfully, but these errors were encountered: