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

ngrenz Strip Validation Package Optimization #10232

Conversation

ngrenz
Copy link
Contributor

@ngrenz ngrenz commented Jul 16, 2015

PR of a work intended to optimize gradually the performance of tracker validation code.
Here I tried to resolve the “FIXME: vector is Suboptimal “.
Outputs are supposed to be unchanged.

The changes are:

  • Instead of one big loop over the DetIds, we have 3 loops over rechits-rphi, -stereo and -matched
  • We do not need the vector for DetIds and we do not need to fill this vector
  • The compute where we are in the vector is now unnecessary
  • The computing of rechitpro and the use with fillME is now in the same loops
  • We do not need some vectors for the value transfers

Any comments and suggestions are welcome.
More optimizations will follow.

@ngrenz
Copy link
Contributor Author

ngrenz commented Jul 16, 2015

@boudoul FYI

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ngrenz for CMSSW_7_6_X.

Cmssw 7 5 0 pre6 ngrenz SiStripRecHitsValid

It involves the following packages:

Validation/TrackerRecHits

@cmsbuild, @danduggan, @deguio can you please review it and eventually sign? Thanks.
@VinInn, @threus, @wmtford 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.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@boudoul
Copy link
Contributor

boudoul commented Jul 16, 2015

Hi @ngrenz , could you please change the title "Cmssw 7 5 0 pre6 ngrenz SiStripRecHitsValid" of your PR with something like "Strip Validation Package Optimization " (the title is what is propagated to the release notes, and help anyone understanding what is entering in a release) - Thanks

@ngrenz ngrenz changed the title Cmssw 7 5 0 pre6 ngrenz SiStripRecHitsValid ngrenz Strip Validation Package Optimization Jul 16, 2015
@deguio
Copy link
Contributor

deguio commented Jul 17, 2015

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-1
Tested at: 36e0896
I found an error when building:

>> Building shared library tmp/slc6_amd64_gcc491/src/DQMServices/Core/src/DQMServicesCore/libDQMServicesCore.so
Copying tmp/slc6_amd64_gcc491/src/DQMServices/Core/bin/DQMCollector/DQMCollector to productstore area:
/afs/cern.ch/cms/sw/ReleaseCandidates/volC/slc6_amd64_gcc491/external/gcc/4.9.1-cms/bin/../lib/gcc/x86_64-redhat-linux-gnu/4.9.1/../../../../x86_64-redhat-linux-gnu/bin/ld: cannot find -lFWCoreFramework
/afs/cern.ch/cms/sw/ReleaseCandidates/volC/slc6_amd64_gcc491/external/gcc/4.9.1-cms/bin/../lib/gcc/x86_64-redhat-linux-gnu/4.9.1/../../../../x86_64-redhat-linux-gnu/bin/ld: cannot find -lDataFormatsCommon
/afs/cern.ch/cms/sw/ReleaseCandidates/volC/slc6_amd64_gcc491/external/gcc/4.9.1-cms/bin/../lib/gcc/x86_64-redhat-linux-gnu/4.9.1/../../../../x86_64-redhat-linux-gnu/bin/ld: cannot find -lDataFormatsStdDictionaries
collect2: error: ld returned 1 exit status
gmake: **\* [tmp/slc6_amd64_gcc491/src/DQMServices/Core/src/DQMServicesCore/libDQMServicesCore.so] Error 1
>> Leaving Package FWCore/Version
>> Package FWCore/Version built
Leaving library rule at DQMServices/Core
>> Subsystem FWCore built


you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-10232/6268/summary.html

@deguio
Copy link
Contributor

deguio commented Jul 24, 2015

+1

@cmsbuild
Copy link
Contributor

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

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Jul 24, 2015
…RechHitsValid

ngrenz Strip Validation Package Optimization
@cmsbuild cmsbuild merged commit d827f5f into cms-sw:CMSSW_7_6_X Jul 24, 2015
@ngrenz ngrenz deleted the CMSSW_7_5_0_pre6_ngrenz_SiStripRechHitsValid branch July 27, 2015 09:21
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.

6 participants