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

Prevent VirtualJetProducer from wasting time on setup if input empty #11820

Merged
merged 1 commit into from Oct 19, 2015

Conversation

rappoccio
Copy link
Contributor

From @sethzenz : optimize the VirtualJetProducer for H->gammagamma analysis when multiple vertex hypotheses are used, but many inputs are empty.

@cmsbuild
Copy link
Contributor

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

Prevent VirtualJetProducer from wasting time on setup if input empty

It involves the following packages:

RecoJets/JetProducers

@cmsbuild, @cvuosalo, @slava77 can you please review it and eventually sign? Thanks.
@TaiSakuma, @jdolen, @ahinzmann, @yslai, @nhanvtran, @schoef, @mariadalfonso 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.

@slava77
Copy link
Contributor

slava77 commented Oct 15, 2015

@cmsbuild please test

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@lgray
Copy link
Contributor

lgray commented Oct 17, 2015

@rappoccio @sethzenz Wouldn't it be better to put a single if statement later to skip the expensive stuff instead of three short circuits?

@cvuosalo
Copy link
Contributor

+1

For #11820 a528c4f

Adding skipping of empty inputs to save time in VirtualJetProducer. There should be no change in monitored quantities.

The code changes are satisfactory, and Jenkins tests against baseline CMSSW_7_6_X_2015-10-15-1100 show no significant differences, as expected. An extended test of workflow 134.702_RunDoubleEG2015B with 70 events against baseline CMSSW_7_6_X_2015-10-14-1600 also shows no significant differences and no significant change in timing, as shown below.

Baseline
Max VSIZ 2610.18 on evt 60 ; max RSS 2164.29 on evt 49
Time av 6.69834 s/evt   max 32.8115 s on evt 1
M1 Time av 6.31989 s/evt   max 10.5374 s on evt 47
M8 Time av 6.16307 s/evt   max 10.5374 s on evt 47

PR
Max VSIZ 2610.18 on evt 49 ; max RSS 2199.28 on evt 69
Time av 6.66179 s/evt   max 32.8522 s on evt 1
M1 Time av 6.28222 s/evt   max 10.3564 s on evt 47
M8 Time av 6.10679 s/evt   max 10.3564 s on evt 47

@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 Oct 19, 2015
Prevent VirtualJetProducer from wasting time on setup if input empty
@cmsbuild cmsbuild merged commit 8438d29 into cms-sw:CMSSW_7_6_X Oct 19, 2015
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

7 participants