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
Optimize MagGeoBuilder #37934
Optimize MagGeoBuilder #37934
Conversation
This allows more efficient finding of a file using the same algorithm but without the need to track the provenance.
Performance measurements showed that using standard FileInPath constructor was using a lot of time.
Before the change we see
after
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37934/29982
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages:
@smuzaffar, @Dr15Jones, @makortel, @clacaputo, @cmsbuild, @slava77, @jpata can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The underlying performance problem is /cvmfs/cms-ib.cern.ch/nweek-02732/slc7_amd64_gcc10/cms/cmssw-patch/CMSSW_12_4_X_2022-05-10-1100/external/slc7_amd64_gcc10/data/MagneticField/Interpolation/data/grid_160812_3_8t/s10/grid.1049.bin |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37934/29984
|
Pull request #37934 was updated. @smuzaffar, @Dr15Jones, @makortel, @clacaputo, @cmsbuild, @slava77, @jpata can you please check and sign again. |
please test |
Pull request #37934 was updated. @smuzaffar, @Dr15Jones, @makortel, @clacaputo, @cmsbuild, @slava77, @jpata can you please check and sign again. |
Please test |
-1 Failed Tests: UnitTests Unit TestsI found errors in the following unit tests: ---> test SiStripDAQ_O2O_test had ERRORS Comparison SummarySummary:
|
The unit test failure is also happening in the IBs |
ping the unit test failure is from the IB. |
+core |
Was there any impact on memory usage? |
This is essentially just a refactoring of the code without any changes to any memory structures. As such there is no reason for the memory footprint to have changed. |
+reconstruction
|
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
Got it. On a quick read, I had the impression you are caching the magnetic fields, but I missed the point. |
+1 |
merge |
PR description:
The IB performance measurements for the NANO step shows that initializing the MagField object takes the majority of the startup time for the job.
PR validation:
Code compiles and performance measurements show an improvement.