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

new (to me) warnings from ThroughputService #18850

Closed
davidlange6 opened this issue May 19, 2017 · 15 comments
Closed

new (to me) warnings from ThroughputService #18850

davidlange6 opened this issue May 19, 2017 · 15 comments

Comments

@davidlange6
Copy link
Contributor

Hi @fwyzard

not urgent...

I noticed these in step2 workflows of a recent IB. I don't understand why these would happen from the code.

DQMStore: WARNING: attempt to remove non-existent monitor element 'throughput_retired' in 'HLT/Throughput'
DQMStore: WARNING: attempt to remove non-existent monitor element 'throughput_sourced' in 'HLT/Throughput'

@cmsbuild
Copy link
Contributor

A new Issue was created by @davidlange6 David Lange.

@davidlange6, @Dr15Jones, @smuzaffar can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@fwyzard
Copy link
Contributor

fwyzard commented May 19, 2017

I'll take a look, but not too soon :-(

@fwyzard
Copy link
Contributor

fwyzard commented May 19, 2017

How do I assign it to myself ?

@Dr15Jones
Copy link
Contributor

I think we only assign categories, not people

@Dr15Jones
Copy link
Contributor

The first cmsbot message of this thread gives a link to the commands one can give http://cms-sw.github.io/cms-bot-cmssw-issues.html

@fwyzard
Copy link
Contributor

fwyzard commented May 20, 2017

I get the same warnings in 9.2.0 for the FastTimerService:

DQMStore: WARNING: attempt to remove non-existent monitor element 'event allocated' in 'HLT/TimerService'
DQMStore: WARNING: attempt to remove non-existent monitor element 'event allocated_byls' in 'HLT/TimerService'
DQMStore: WARNING: attempt to remove non-existent monitor element 'event deallocated' in 'HLT/TimerService'
DQMStore: WARNING: attempt to remove non-existent monitor element 'event deallocated_byls' in 'HLT/TimerService'
...

Did anything change with the way DQM or DQMSaver handle histograms between 9.1.x and 9.2.x ?

@Dr15Jones
Copy link
Contributor

I think around that time the DQMStore was changed to try to catch cases where DQM modules failed to set the directory to which they were putting their histograms.

@davidlange6
Copy link
Contributor Author

davidlange6 commented May 21, 2017 via email

@Dr15Jones
Copy link
Contributor

I have a theory as to what might have happened. The FastTimerService calls the pwd method from DQM which ultimately just returns the member data of DQMStore. If another thread called a module which was talking directly to the DQMStore without going through the IBooker or IGetter interface, it could change the value of the member data without taking the lock. Then when FastTimerService calls pwd it would get the wrong answer.

@fwyzard
Copy link
Contributor

fwyzard commented May 21, 2017

Mhm, that would not explain why David is seeing the message for the ThroughputService - which does not call pwd():

    // define a callback that can book the histograms
    auto bookTransactionCallback = [&, this] (DQMStore::IBooker & booker) {
      booker.setCurrentFolder(m_dqm_path);
      stream.sourced_events = booker.book1D("throughput_sourced",  "Throughput (sourced events)",   bins, 0., range)->getTH1F();
      stream.sourced_events ->SetXTitle("time [s]");
      stream.sourced_events ->SetYTitle(y_axis_title.c_str());
      stream.retired_events = booker.book1D("throughput_retired",  "Throughput (retired events)",   bins, 0., range)->getTH1F();
      stream.retired_events ->SetXTitle("time [s]");
      stream.retired_events ->SetYTitle(y_axis_title.c_str());
    };

@Dr15Jones
Copy link
Contributor

assign hlt

@cmsbuild
Copy link
Contributor

New categories assigned: hlt

@Martin-Grunewald,@silviodonato,@fwyzard you have been requested to review this Pull request/Issue and eventually sign? Thanks

@smuzaffar
Copy link
Contributor

@davidlange6 , do you still see these warnings?

@davidlange6
Copy link
Contributor Author

davidlange6 commented May 28, 2020 via email

@smuzaffar
Copy link
Contributor

sreaching in all runTheMatrix logs does not show any occurrence of DQMStore: WARNING:` .
I am closing this issue, please open a new open if you again see such warnings.

[a]

> find . -name '*.log' | wc -l
8623
> grep -Ri 'DQMStore: WARNING:' . | wc -l
0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants