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

Replace mark-and-delete at next merge algorithm in DQMStore (74x) #11430

Merged
merged 1 commit into from
Nov 3, 2015

Conversation

dmitrijus
Copy link
Contributor

Additionally, the DQMStore will now acquire locks for writing files.

This PR also add a new file saver for HLT->PB (DQMFileSaverPB).
Which should replace DQMFileSaver in the near future.

(discussion: #11086)

…s now.

Additionally, the dqm store will now acquire locks for writing files.

Also add a new file saver for HLT->PB (DQMFileSaverPB).
Which should replace DQMFileSaver in the near future.

(cherry picked from commit f104a00)
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @dmitrijus (Dmitrijus) for CMSSW_7_4_X.

Replace mark-and-delete at next merge algorithm in DQMStore (74x)

It involves the following packages:

DQMServices/Components
DQMServices/Core
DQMServices/FileIO

The following packages do not have a category, yet:

DQMServices/FileIO

@cmsbuild, @danduggan, @vanbesien, @deguio can you please review it and eventually sign? Thanks.
@barvic this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@deguio
Copy link
Contributor

deguio commented Sep 23, 2015

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@fwyzard
Copy link
Contributor

fwyzard commented Sep 23, 2015

as a minimal fix for CMSSW 7.4.x, wouldn't it have been simpler to just make sure that the histograms marked for deletion are actually deleted, in the postGlobalEndLumi callback ?

@dmitrijus
Copy link
Contributor Author

This PR was actually introduced a few weeks ago
with an idea to make this deletion simpler and to solve performance
issues reported by Srecko.

The memleak was caused by:
https://github.com/cms-sw/cmssw/blob/CMSSW_7_6_X/DQMServices/Core/src/DQMStore.cc#L486
'temp' should be checked, not 'i_lumi'.
This PR is removes that bit of the code and unintentionally fixes the memleak.

Dmitrijus

@cmsbuild
Copy link
Contributor

@deguio
Copy link
Contributor

deguio commented Sep 23, 2015

I discussed with andrea. let's wait to see the outcome of the test on the hilton then we can decide to merge it.
all the use cases should be supported (HLT, Online at p5). offline should be untouched.
let's keep open for now

@cmsbuild
Copy link
Contributor

@Sam-Harper
Copy link
Contributor

So I ran the hilton tests on it and I still see what appears to be the same memory increase. I'm now going to double check I ran what I thought I ran. But just wanted to give you an update

@deguio
Copy link
Contributor

deguio commented Sep 24, 2015

thanks @Sam-Harper,
this is too bad. please let us know if this is confirmed.
thanks,
F.

@deguio
Copy link
Contributor

deguio commented Sep 28, 2015

+1
this one can go in at this point. it would be nice to have it included in the next 74x build.

@fwyzard
Copy link
Contributor

fwyzard commented Sep 28, 2015

ciao @deguio, after the comments from @Sam-Harper do we have any indications that this actually fixes the memory problem ?

@deguio
Copy link
Contributor

deguio commented Sep 28, 2015

ciao andrea,
this fixes one problem (inside DQM). the memory leak seen by sam is a root problem fixed by lorenzo already. see:
https://hypernews.cern.ch/HyperNews/CMS/get/edmFramework/3569/1.html

going to reply now asking to have the root we use patched with the fix.

davidlange6 added a commit that referenced this pull request Nov 3, 2015
Replace mark-and-delete at next merge algorithm in DQMStore (74x)
@davidlange6 davidlange6 merged commit d0a1789 into cms-sw:CMSSW_7_4_X Nov 3, 2015
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