Navigation Menu

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

ECAL GPU unpacker: adapt the buffer size to the ECAL FEDs size [12.3.x] #38205

Merged

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Jun 2, 2022

PR description:

Automatically determine the cpu and gpu buffers' size used for the unpacking from the total size of the non-empty ECAL FEDs.
Remove the maxFedSize parameter from the EcalRawToDigi modules in the HLT menus.

PR validation:

None.

if this PR is a backport please specify the original PR and why you need to backport that PR:

Backport of #38202 .

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 2, 2022

type bugfix

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 2, 2022

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

It involves the following packages:

  • EventFilter/EcalRawToDigi (reconstruction)
  • HLTrigger/Configuration (hlt)

@Martin-Grunewald, @clacaputo, @cmsbuild, @missirol, @slava77, @jpata can you please review it and eventually sign? Thanks.
@rchatter, @argiro, @Martin-Grunewald, @missirol, @silviodonato, @thomreis, @simonepigazzini this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 2, 2022

backport #38202

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 2, 2022

enable gpu

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 2, 2022

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 2, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fc0203/25210/summary.html
COMMIT: 97e7f2b
CMSSW: CMSSW_12_3_X_2022-06-02-1100/slc7_amd64_gcc10
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/38205/25210/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: 24 differences found in the comparisons
  • DQMHistoTests: Total files compared: 4
  • DQMHistoTests: Total histograms compared: 19864
  • DQMHistoTests: Total failures: 997
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 18867
  • 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: 49
  • DQMHistoTests: Total histograms compared: 3627388
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3627364
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 205 log files, 45 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@missirol
Copy link
Contributor

missirol commented Jun 5, 2022

This branch has conflicts that must be resolved

@fwyzard , unfortunately this PR needs to be rebased (the conflict comes from #38124).

Automatically determine the cpu and gpu buffers' size used for the unpacking
from the total size of the non-empty ECAL FEDs.
@fwyzard fwyzard force-pushed the automatic_ECAL_buffer_size_123x branch from 97e7f2b to 7ffb562 Compare June 6, 2022 22:36
@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 6, 2022

Rebased to fix the merge conflict.

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 6, 2022

enable gpu

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2022

Pull request #38205 was updated. @Martin-Grunewald, @clacaputo, @cmsbuild, @missirol, @slava77, @jpata can you please check and sign again.

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 6, 2022

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fc0203/25326/summary.html
COMMIT: 7ffb562
CMSSW: CMSSW_12_3_X_2022-06-06-2300/slc7_amd64_gcc10
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/38205/25326/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: 24 differences found in the comparisons
  • DQMHistoTests: Total files compared: 4
  • DQMHistoTests: Total histograms compared: 19864
  • DQMHistoTests: Total failures: 996
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 18868
  • 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: 6 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3628978
  • DQMHistoTests: Total failures: 13
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3628942
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 48 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 205 log files, 45 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@@ -189,12 +189,23 @@ def customiseForOffline(process):
return process


# ECAL GPU unpacker: adapt the buffer size to the ECAL FEDs size (#38202)
# remove the EcalRawToDigi.maxFedSize parameter from the menu
def customizeHLTfor38202(process):
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be 38205, but I don't object, it's clear enough.

@missirol
Copy link
Contributor

missirol commented Jun 7, 2022

+hlt

@clacaputo
Copy link
Contributor

There are some reco infinitesimal differences in GPU comparison that weren't present in #38204 and #38202 .
More specifically, there is an additional entry in recoTracks_pixelTracks__RECO_obj, that doesn't change any other quantity downstream. You can also see the same effect in DQM https://tinyurl.com/2698w9o6
@fwyzard , do you happen to know if it's just a fluctuation in GPU workflows?

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 8, 2022

@fwyzard , do you happen to know if it's just a fluctuation in GPU workflows?

Mhm, given that this PR touches only the ECAL unpacker and nothing Pixel-related, I would assume so.

@clacaputo
Copy link
Contributor

+reconstruction

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2022

This pull request is fully signed and it will be integrated in one of the next CMSSW_12_3_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 (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Jun 9, 2022

+1

@cmsbuild cmsbuild merged commit 2b12642 into cms-sw:CMSSW_12_3_X Jun 9, 2022
@fwyzard fwyzard deleted the automatic_ECAL_buffer_size_123x branch July 31, 2022 13:41
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