Skip to content
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 memory usage in meantimer #7522

Merged
merged 1 commit into from Feb 6, 2015

Conversation

ptraczyk
Copy link
Contributor

@ptraczyk ptraczyk commented Feb 3, 2015

addressing the issue reported in https://hypernews.cern.ch/HyperNews/CMS/get/recoDevelopment/1314.html
optimize memory usage in DT local reco (algorithm output unchanged)

@cmsbuild cmsbuild added this to the Next CMSSW_7_4_X milestone Feb 3, 2015
@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2015

A new Pull Request was created by @ptraczyk (Piotr Traczyk) for CMSSW_7_4_X.

optimize memory usage in meantimer

It involves the following packages:

RecoLocalMuon/DTSegment

@cmsbuild, @cvuosalo, @nclopezo, @slava77 can you please review it and eventually sign? Thanks.
@bellan this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.

@slava77
Copy link
Contributor

slava77 commented Feb 3, 2015

@cmsbuild please test

Piotr, thanks for wrapping up with this.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2015

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2015

@cvuosalo
Copy link
Contributor

cvuosalo commented Feb 4, 2015

Started extended test for muon workflow.

@cvuosalo
Copy link
Contributor

cvuosalo commented Feb 6, 2015

+1

For #7522 061e640

Small code change to reduce unnecessary copying of data values and thereby reduce CPU time.

Code changes are satisfactory.

Jenkins tests show no problems or significant differences.

Workflow 20.0 (muons) was run as an extended test (2000 events) to check timing differences. The new code shows significant improvement:

delta/mean delta/orJob original new module name
-0.500873 -0.69% 16.47 ms/ev 9.87 ms/ev dt4DSegments
-0.498409 -0.59% 14.13 ms/ev 8.49 ms/ev dt4DCosmicSegments

Profiling also shows about a 1/3 reduction in time used by the DTMeantimer (going from a reported 2.3% of total time to 1.5%).

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 6, 2015

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @ktf, @smuzaffar

@davidlange6
Copy link
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants