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

speed up pixel DQM initialization by a factor >10 #18610

Merged
merged 2 commits into from
May 16, 2017

Conversation

VinInn
Copy link
Contributor

@VinInn VinInn commented May 7, 2017

from >10 minutes to one minute
see issue #18606

need further cleanup (and verification!)

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2017

A new Pull Request was created by @VinInn (Vincenzo Innocente) for master.

It involves the following packages:

CondFormats/SiPixelObjects
DQM/SiPixelPhase1Common

@ghellwig, @arunhep, @cerminar, @dmitrijus, @cmsbuild, @franzoni, @ggovi, @mmusich, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @hdelanno, @tocheng, @dkotlins, @fioriNTU, @idebruyn, @threus this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

std::map<uint32_t, unsigned int> fedid_;
std::map<uint64_t, unsigned int> channel_;
std::map<uint64_t, unsigned int> roc_;
std::unordered_map<uint32_t, int> quadrant_;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all these maps HAVE to be filled at initialization, not on demand...

@@ -35,6 +35,7 @@ void SiPixelCoordinates::init(edm::EventSetup const& iSetup) {
edm::ESHandle<SiPixelFedCablingMap> cablingMapHandle;
iSetup.get<SiPixelFedCablingMapRcd>().get(cablingMapHandle);
cablingMap_ = cablingMapHandle.product();
fedid_ = cablingMap_->det2fedMap();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fedid() method have to be cleanup...

{
// Build map
buildStructure(iSetup);
// buildStructure(iSetup);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is now obsolete, need to be cleanup.

@VinInn
Copy link
Contributor Author

VinInn commented May 7, 2017

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19627/console Started: 2017/05/07 19:48

@VinInn
Copy link
Contributor Author

VinInn commented May 7, 2017

@jkarancs @veszpv

@VinInn
Copy link
Contributor Author

VinInn commented May 7, 2017

I suggest to merge this (and even backport to 91X)
than cleanup the code

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2017

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

Comparison Summary:

  • You potentially added 2578 lines to the logs
  • Reco comparison results: 3370 differences found in the comparisons
  • DQMHistoTests: Total files compared: 24
  • DQMHistoTests: Total histograms compared: 1831084
  • DQMHistoTests: Total failures: 48175
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1782729
  • DQMHistoTests: Total skipped: 180
  • DQMHistoTests: Total Missing objects: 0
  • Checked 98 log files, 14 edm output root files, 24 DQM output files

@ggovi
Copy link
Contributor

ggovi commented May 9, 2017

+1

@dmitrijus
Copy link
Contributor

+1
thanks!

@VinInn
Copy link
Contributor Author

VinInn commented May 11, 2017

ping

@davidlange6
Copy link
Contributor

indeed quite some cleanup is needed here - who is planning to do it? @fioriNTU

@fioriNTU
Copy link
Contributor

@davidlange6 I will plan on the cleanup in this week, it is among our priorities

@franzoni
Copy link

+1

@cmsbuild
Copy link
Contributor

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 requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

@davidlange6 davidlange6 merged commit 9793b30 into cms-sw:master May 16, 2017
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.

7 participants