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

Excess number of "tbb" info message being generated #32977

Closed
cvuosalo opened this issue Feb 23, 2021 · 13 comments
Closed

Excess number of "tbb" info message being generated #32977

cvuosalo opened this issue Feb 23, 2021 · 13 comments

Comments

@cvuosalo
Copy link
Contributor

Running cmsRun Geometry/DTGeometryBuilder/test/python/validateDTGeometry_cfg.py generates about 270,000 INFO messages:

%MSG-i Root_Information:  DTGeometryValidate:valid@ctor TThreadExecutor::ParallelFor() 22-Feb-2021 23:50:26 CET pre-events
tbb::global_control is limiting the number of parallel workers. Proceeding with 1 threads this time

The message is desired and appropriate, but not so many of them. It is probably generated by ROOT.

@cmsbuild
Copy link
Contributor

A new Issue was created by @cvuosalo Carl Vuosalo.

@Dr15Jones, @dpiparo, @silviodonato, @smuzaffar, @makortel, @qliphy can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@makortel
Copy link
Contributor

assign core

@cmsbuild
Copy link
Contributor

New categories assigned: core

@Dr15Jones,@smuzaffar,@makortel you have been requested to review this Pull request/Issue and eventually sign? Thanks

@makortel
Copy link
Contributor

(some history for reference #32947, #32782, cms-sw/cmsdist#6612, cms-sw/cmsdist#6570)

@cvuosalo
Copy link
Contributor Author

@ianna @civanch FYI

@mrodozov
Copy link
Contributor

I remember we discussed we can suggest to ROOT to add an option to silence this, but did we discussed silencing it on our own and if not why not :) ?

@davidlange6
Copy link
Contributor

davidlange6 commented Feb 25, 2021 via email

@makortel
Copy link
Contributor

I started to also think if we actually should give an argument to

ROOT::EnableImplicitMT();

given comments in
https://github.com/root-project/root/blob/4f5dbbeaa69738ae03094b1cce60e8722e1f8a3d/core/base/src/TROOT.cxx#L501-L524

Then the if condition in ROOT would automatically prevent these messages in the first place.

@Dr15Jones what do you think?

@oshadura
Copy link
Contributor

@mrodozov, I saw @davidlange6 is suggesting upstream patches to root, can I take a look please on patches?

@eguiraud
Copy link

Hi, Enrico from the ROOT team. I might be missing some larger context but in principle I agree with @makortel 's suggestion: if you use tbb::global_control to limit TBB's concurrency level to 1, you should also call ROOT::EnableImplicitMT(1), and that should get rid of the warnings.

@makortel
Copy link
Contributor

makortel commented Mar 2, 2021

Hi, Enrico from the ROOT team. I might be missing some larger context but in principle I agree with @makortel 's suggestion: if you use tbb::global_control to limit TBB's concurrency level to 1, you should also call ROOT::EnableImplicitMT(1), and that should get rid of the warnings.

This is now done in #33038

@makortel
Copy link
Contributor

makortel commented Mar 3, 2021

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 3, 2021

This issue is fully signed and ready to be closed.

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

8 participants