-
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
Add early delete customisation for mkFit temporary data products #36478
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36478/27340
|
A new Pull Request was created by @makortel (Matti Kortelainen) for master. It involves the following packages:
@perrotta, @clacaputo, @cmsbuild, @slava77, @jpata, @qliphy, @fabiocos, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f5a0c2/21235/summary.html Comparison SummarySummary:
|
Thanks for this! |
The gain is per stream, and of course depends on event complexity (the particular event shown in the IgProf profiles may or may not be representative). In addition, the gain in peak RSS/PSS will likely be smaller because the memory still needs to be allocated, even if for "short" amount of time.
We have a long-standing issue #16481 for automating it at the framework level, but so far it has not been deemed important enough compared to other priorities (although I still hope to be able to address it at some point). For this manual version a good candidate products would have the following properties
I.e. in general one would have to do rather detailed analysis, and even then the setup would be somewhat fragile. |
@cmsbuild please test (I could have signed it before the holidays but it slipped through the cracks, and now the test results are gone, so let's rerun one more time to make sure) |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f5a0c2/21515/summary.html Comparison SummarySummary:
|
+reconstruction
|
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will be automatically merged. |
PR description:
Most of the event data products produced by mkFit EDProducers have temporary nature (i.e. not consumed outside of iterative tracking, other data products to not make any references to those products). This PR suggests to delete them early, i.e. as soon as their consuming EDModules have been run in order to save some memory.
PR validation:
Workflow 11824.21 step 3 runs. Here are IgProf MEM_LIVE profiles on one event of that job before
https://mkortela.web.cern.ch/mkortela/cgi-bin/navigator/mkfit_earlydelete_1220pre3/test_07.5_live/129
and after
https://mkortela.web.cern.ch/mkortela/cgi-bin/navigator/mkfit_earlydelete_1220pre3/test_27.5_live/405
(difference is ~40 MB for that event)