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

Detect and remove all duplicate pixels [12.4.x] #38947

Merged
merged 3 commits into from Aug 5, 2022

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Aug 2, 2022

PR description:

Detect and remove all duplicate pixels, after unpacking each pixel module but before running the clustering.
Use shared memory for inter-thread communication and to speed up marking and detecting the duplicates.

PR validation:

Running the online pixel reconstruction and the full HLT menu on GPU over non-problematic events shows only a moderate slow down:

reconstruction pixel tracking full HLT
no duplicate removal 1566 ± 16 ev/s (--) 873 ± 4 ev/s (--)
duplicate removal with atomicOR (ce8a57b) 1530 ± 17 ev/s (-2.3%) 872 ± 4 ev/s (-0.2%)
duplicate removal with atomicCAS (2522012) 1519 ± 14 ev/s (-3.0%) 869 ± 2 ev/s (-0.4%)

If this PR is a backport please specify the original PR and why you need to backport that PR.

Backport of #38946 for data taking.

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 2, 2022

type bugfix

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 2, 2022

A new Pull Request was created by @fwyzard (Andrea Bocci) for CMSSW_12_4_X.

It involves the following packages:

  • DataFormats/SiPixelDigi (simulation)
  • HeterogeneousCore/CUDAUtilities (heterogeneous)
  • RecoLocalTracker/SiPixelClusterizer (reconstruction)

@civanch, @makortel, @clacaputo, @cmsbuild, @mdhildreth, @fwyzard, @jpata can you please review it and eventually sign? Thanks.
@mtosi, @VourMa, @makortel, @felicepantaleo, @GiacomoSguazzoni, @JanFSchulte, @rovere, @VinInn, @OzAmram, @ferencek, @dkotlins, @gpetruc, @mmusich, @threus, @tvami this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 2, 2022

enable gpu

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 2, 2022

please test

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 2, 2022

backport #38946

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 2, 2022

urgent

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 2, 2022

+heterogeneous

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 2, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-af153f/26604/summary.html
COMMIT: ce8a57b
CMSSW: CMSSW_12_4_X_2022-08-02-1100/el8_amd64_gcc10
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/38947/26604/install.sh to create a dev area with all the needed externals and cmssw changes.

GPU Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 4
  • DQMHistoTests: Total histograms compared: 19876
  • DQMHistoTests: Total failures: 8
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 19868
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 3 files compared)
  • Checked 12 log files, 9 edm output root files, 4 DQM output files
  • TriggerResults: found differences in 1 / 3 workflows

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3676198
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3676174
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 208 log files, 45 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@civanch
Copy link
Contributor

civanch commented Aug 2, 2022

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2022

Pull request #38947 was updated. @civanch, @makortel, @clacaputo, @cmsbuild, @mdhildreth, @fwyzard, @jpata can you please check and sign again.

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 3, 2022

enable gpu

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 3, 2022

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-af153f/26626/summary.html
COMMIT: 2522012
CMSSW: CMSSW_12_4_X_2022-08-03-1100/el8_amd64_gcc10
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/38947/26626/install.sh to create a dev area with all the needed externals and cmssw changes.

GPU Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • Reco comparison had 3 failed jobs
  • DQMHistoTests: Total files compared: 4
  • DQMHistoTests: Total histograms compared: 19876
  • DQMHistoTests: Total failures: 36
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 19840
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 3 files compared)
  • Checked 12 log files, 9 edm output root files, 4 DQM output files
  • TriggerResults: no differences found

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3676198
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3676174
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 208 log files, 45 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@civanch
Copy link
Contributor

civanch commented Aug 3, 2022

+1

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 4, 2022

+heterogeneous

@clacaputo
Copy link
Contributor

+reconstruction

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 4, 2022

This pull request is fully signed and it will be integrated in one of the next CMSSW_12_4_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_5_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Aug 5, 2022

+1

@cmsbuild cmsbuild merged commit 9413bf9 into cms-sw:CMSSW_12_4_X Aug 5, 2022
@fwyzard fwyzard deleted the gpu_duplicate_pixel_removal branch August 5, 2022 15:13
@fwyzard fwyzard restored the gpu_duplicate_pixel_removal branch August 5, 2022 15:14
@fabiocos
Copy link
Contributor

fabiocos commented Aug 6, 2022

I see that this PR updates a DataFormat, although just adding a method to retrieve information, there is no change in data members or interfaces, so probably it is still ok for a patch release (which is already built)

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

6 participants