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

ECAL Digitizer Optimizations #15835

Merged
merged 1 commit into from Sep 15, 2016
Merged

Conversation

lgray
Copy link
Contributor

@lgray lgray commented Sep 13, 2016

The RandPoissonQ destructor was taking up 2% of processing time in high pileup / fast timing conditions. This PR removes the instantiation of the class, using the static method instead.

Likewise in high pileup or with fast timing turned on for ECAL, multiple calls to the laser correction service were causing a huge load in the ecal digitizer. This is now fixed with a tactical cache that is updated every event since the corrections are time dependent.

Technical PR, no changes expected/observed.

@lgray
Copy link
Contributor Author

lgray commented Sep 13, 2016

@cmsbuild please test

@cmsbuild cmsbuild added this to the Next CMSSW_8_1_X milestone Sep 13, 2016
@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 13, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/15115/console

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @lgray (Lindsey Gray) for CMSSW_8_1_X.

It involves the following packages:

SimCalorimetry/EcalSimAlgos

@cmsbuild, @civanch, @mdhildreth, @davidlange6 can you please review it and eventually sign? Thanks.
@argiro this is something you requested to watch as well.
@slava77, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@lgray lgray changed the title Eemove unnecessary instantiation of CLHEP::RandPoissonQ in ECAL digitizer Remove unnecessary instantiation of CLHEP::RandPoissonQ in ECAL digitizer Sep 13, 2016
@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-15835/15115/summary.html

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • 20424.0_TTbar_13+TTbar_13TeV_TuneCUETP8M1_2023D2_GenSimFull+DigiFull_2023D2+RecoFullGlobal_2023D2+HARVESTFullGlobal_2023D2

@lgray
Copy link
Contributor Author

lgray commented Sep 14, 2016

@cmsbuild please test

@civanch added a few things that help make the digitizer faster in high pileup.

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

Pull request #15835 was updated. @cmsbuild, @civanch, @mdhildreth, @davidlange6 can you please check and sign again.

@lgray lgray changed the title Remove unnecessary instantiation of CLHEP::RandPoissonQ in ECAL digitizer ECAL Digitizer Optimizations Sep 14, 2016
@lgray
Copy link
Contributor Author

lgray commented Sep 14, 2016

@cmsbuild please test

Don't see this in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 14, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/15128/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@civanch
Copy link
Contributor

civanch commented Sep 14, 2016

+1

@cmsbuild
Copy link
Contributor

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

@davidlange6
Copy link
Contributor

@lgray - what is the motivation for the float->double changes?

@lgray
Copy link
Contributor Author

lgray commented Sep 15, 2016

@davidlange6 The way it was done it was a completely unnecessary step to pass a double as a float and then convert it back to double since it was used in double math anyway. It was just wasting instructions on converting the variables back and forth.

@davidlange6
Copy link
Contributor

+1
ok, thanks (was not apparent from just looking at the changes)

@cmsbuild cmsbuild merged commit 482bb46 into cms-sw:CMSSW_8_1_X Sep 15, 2016
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

4 participants