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

(13_0_X) streamer format padding backport #41186

Merged

Conversation

smorovic
Copy link
Contributor

PR description:

Adding support for padding in the Streamer format. Padding bytes (0xff) can be appended after the end of each event or INIT message. Intention is to add them at the end of the file (4096-byte blocks) to round the file size so it is compatible with O_DIRECT copy from DAQ RUBUs to Lustre system in hope this will reduce deadtime issues seen recently.

Streamer Input sources will automatically detect padding which will (typically) be appended to streams transferred to Tier-0. Also an option was added to generate files which contain padding after each event or INI object.

Update: DQM and EcalCalibration unit tests were extended with the padded format test as well.

PR validation:

Unit tests added to generate and read padded streamer file. Patch tested with 13_1_X (PR #41125) with production streamer files without padding and padded files produced in a test system.

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

Backport of #41125 for 13_0_X
Adding support for padded files for this release cycle so format can be used Online for the HLT output merging and parsed by Tier-0 and other streamer clients.

…ch could be there due to concenating two files with a header file

new streamer unit test for padded files
write out files with padding. Used for unit test checking that such
files can be opened and read
address comments
improved unit tests

Note: fixed conflict with the unit test due to improved merged into
master

Conflicts:
	IOPool/Streamer/test/RunSimple_NewStreamer.sh
Conflicts:
	DQMServices/StreamerIO/test/RunStreamer.sh
Conflicts:
	DQMServices/StreamerIO/test/RunStreamer.sh
Conflicts:
	CalibCalorimetry/EcalLaserSorting/test/RunStreamer.sh
@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 25, 2023

A new Pull Request was created by @smorovic (Srecko Morovic) for CMSSW_13_0_X.

It involves the following packages:

  • CalibCalorimetry/EcalLaserSorting (alca)
  • DQMServices/StreamerIO (dqm)
  • IOPool/Streamer (core)

@smuzaffar, @Dr15Jones, @makortel, @pmandrik, @emanueleusai, @tvami, @cmsbuild, @saumyaphor4252, @syuvivida, @francescobrivio, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks.
@barvic, @rchatter, @wddgit, @argiro, @makortel, @tocheng, @thomreis, @simonepigazzini, @mmusich this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@smorovic
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e7589d/31590/summary.html
COMMIT: c350aec
CMSSW: CMSSW_13_0_X_2023-03-25-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/41186/31590/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 11 lines from the logs
  • Reco comparison results: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3554529
  • DQMHistoTests: Total failures: 8
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3554499
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 213 log files, 164 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@francescobrivio
Copy link
Contributor

backport of #41125

@francescobrivio
Copy link
Contributor

@smorovic in the tests I see a failure in HLT/SiStrips for wf 11634.911.
I don't think it's related to this PR, but I just wanted to check with you?

@smorovic
Copy link
Contributor Author

I don't think this is related. I'm not familiar how this test is implemented, but I'd be surprised if it used streamer files in any way.

@francescobrivio
Copy link
Contributor

+1

@emanueleusai
Copy link
Member

+1

@makortel
Copy link
Contributor

in the tests I see a failure in HLT/SiStrips for wf 11634.911. I don't think it's related to this PR, but I just wanted to check with you?

I opened an issue #41200 to document it (and have a reference if other PRs see it). I agree this PR can't really be causing the differences (streamer files are not part of the workflow in any way).

@makortel
Copy link
Contributor

+core

@cmsbuild
Copy link
Contributor

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

@perrotta
Copy link
Contributor

+1

  • Differences in the test scripts with respect to the ones merged in master are due to the updates in those test implemented centrally and independently from this PR in the master

@cmsbuild cmsbuild merged commit 22623e1 into cms-sw:CMSSW_13_0_X Mar 28, 2023
@smorovic smorovic deleted the 13_0_X-streamer-padding-backport-41155 branch August 24, 2023 08:24
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.

6 participants