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

making EgammaHLTPixelMatchVarProducer thread safe #19410

Merged
merged 1 commit into from Jun 23, 2017

Conversation

Sam-Harper
Copy link
Contributor

Dear All,

Unfortunately for some reason I cant explain, I made EgammaHLTPixelMatchVarProducer a global module when creating it. And unfortunately it uses a TF1 which is not thread safe. My apologies for this and thank you @slava77 for the spot.

Here is the fix. I also compared the variable it produces as a global module and as a stream module. I ran the standard HLT setup with 4 cores on a machine with 12 cores to ensure it was actually multithreading (400% CPU usage was observed). The results are here:
https://sharper.web.cern.ch/sharper/cms/heep/2017/Jun22nd/pmS2PreAndPostFix.png
indicating the effect is thankfully very small (no difference observed in 100K Z->ee events) However it is extremely serious hence this quick simple patch while I continue to work on #19263

It would have been sooner but been swamped with p5 operations today.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Sam-Harper for master.

It involves the following packages:

RecoEgamma/EgammaHLTProducers

@Martin-Grunewald, @silviodonato, @cmsbuild, @fwyzard, @davidlange6 can you please review it and eventually sign? Thanks.
@calderona, @rafaellopesdesa, @HuguesBrun, @lgray, @battibass this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@slava77
Copy link
Contributor

slava77 commented Jun 22, 2017

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 22, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/20857/console Started: 2017/06/22 22:08

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 22
  • DQMHistoTests: Total histograms compared: 1802916
  • DQMHistoTests: Total failures: 44288
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1758462
  • DQMHistoTests: Total skipped: 166
  • DQMHistoTests: Total Missing objects: 0
  • Checked 90 log files, 14 edm output root files, 22 DQM output files

@Martin-Grunewald
Copy link
Contributor

+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
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 10da8e2 into cms-sw:master Jun 23, 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.

None yet

5 participants