-
Notifications
You must be signed in to change notification settings - Fork 29
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
Degraded performance when mc_truth_threshold is exactly zero #208
Comments
I think it could be that with a threshold of 0 you will get |
During production of the first beta of MiniRun5, we saw a major slowdown of larnd-sim, with projected run times of 3-4 hours per file (~200 spills). This was resolved by editing
2x2_mod2mod_variation.yaml
to increasemc_truth_threshold
from zero to0.001
, which resulted in more reasonable run times of 20-25 minutes. In further testing, we've seen that this threshold can be made ridiculously close to zero while maintaining good run time, e.g. going down to0.00000001
only increased the run time by a few minutes, and going down to0.0000000001
still wasn't enough to double the run time.So the questions are:
Why does
mc_truth_threshold
of exactly zero lead to an order-of-magnitude slowdown, while a threshold of "epsilon" leads to little-to-no slowdown?If there is a fundamental reason that the code can't be fixed to support a threshold of zero, what value should we use? Is 0.001 "not low enough"?
In the short term we should push a small-but-nonzero threshold to
develop
.@YifanC @marjoleinvannuland @russellphysics
The text was updated successfully, but these errors were encountered: