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

Make SiPixelDigiToRaw a global module #24057

Merged
merged 2 commits into from Aug 1, 2018

Conversation

Dr15Jones
Copy link
Contributor

@Dr15Jones Dr15Jones commented Jul 26, 2018

Also removed filling of timing and digi counts histograms, as those can not be done in a thread efficent manner.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

EventFilter/SiPixelRawToDigi

@perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@makortel, @Martin-Grunewald, @dkotlins, @VinInn this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 26, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/29466/console Started: 2018/07/26 02:40

@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-24057/29466/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2889585
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2889394
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files

edm::EventSetup const& es) const {
while(lock_.test_and_set(std::memory_order_acquire)); //spin
auto rel = [](std::atomic_flag* f) { f->clear(std::memory_order_release); };
std::unique_ptr<std::atomic_flag, decltype(rel)> guard(&lock_, rel);
Copy link
Contributor

Choose a reason for hiding this comment

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

I wish there were a simpler version compared to these 3 lines.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If you prefer, we could switch to a boost spinlock
https://www.boost.org/doc/libs/1_54_0/doc/html/atomic/usage_examples.html#boost_atomic.usage_examples.example_spinlock.usage

but that would add a dependency on boost.

@slava77
Copy link
Contributor

slava77 commented Jul 31, 2018

@tsusa @dkotlins @veszpv
please note that this PR removes some statistics accumulation functionality from SiPixelDigiToRaw:

  • simple accumulation of input digis
  • CPU timing histogramming

Both were not a part of the default configuration.
Please confirm that the removal is OK.

@slava77
Copy link
Contributor

slava77 commented Jul 31, 2018

@Dr15Jones
please update the PR description to highlight changes in the functionality of the code (other than a switch to global module, some debug statistics functionality is removed)

@dkotlins
Copy link
Contributor

dkotlins commented Jul 31, 2018 via email

@slava77
Copy link
Contributor

slava77 commented Aug 1, 2018

+1

for #24057 e1cd932

  • mostly technical update to move SiPixelDigiToRaw to be a global module; some debug statistics functionality was removed, which appears to be OK
  • jenkins tests pass and comparisons with the baseline show no differences

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 1, 2018

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 will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

fabiocos commented Aug 1, 2018

+1

@cmsbuild cmsbuild merged commit 5f0c06f into cms-sw:master Aug 1, 2018
@Dr15Jones Dr15Jones deleted the makeSiPixelDigiToRawGlobal branch August 2, 2018 17:49
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