Debug flags - #500
Conversation
|
Yike, Ah, I don't think we want this modification. The messenger service has different "streams" and "priorities": The priority (in descending importance order) can be
FATAL, ALERT, CRIT, ERROR, WARN, NOTICE, INFO, DEBUG
And each stream can be controlled by an entry in the Messenger XML file (default is There exist some predefined alternative configurations: Generally the code isn't built on most sites with I'm very surprised that you got 80 GB of messages unless you somehow enabled that priority for that stream. |
|
On the one hand yes, but every log costs time and a lot of these messages are clearly for debugging and do not contain useful information for the user. I will revise the messages, but I would recommend at least to guard log in parts that get called verry often and do not contribute much. The 80 GB happens after setting splines and something false to debug. |
|
@AndersenFred @nusense Perhaps there's a middle ground here. It sounds like a handful of spline-related debugging messages are filling logs, so maybe that subset could be demoted to use the |
|
We should definitely guard more log statements, at the current stage creating with the last release version vs this branch at the current stage meaning a huge difference. |
|
For these times, are these run with the default |
|
Both are using the default configs |
|
Looking again at the numbers, it looks like a large improvement for this particular use case. But I'm confused by the numbers you quote. The |
|
Also it would be useful to split The number of points in the TGraph is fixed (300 I believe, though that's something we should allow users to change because it's a bit problematic at low energies if you want to cover up to, say, 120 GeV), while generally when I'm producing splines for the Fermilab neutrino community I generate 250 knots up to 1000 GeV (logarithmically spaced). |
|
real in this context means the actual time the process took and sys the cpu time and as I ran two in parallel the factor two is expected. What I meant is that I think the spline class contributes to most of the timing improvement |
Starting guarding all debug messages via
as at some point, my log exploded to something like 80GB.
This potentially could also improve (slightly) performance.