-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Regression: Startup times for influx && influxd have increased by ~3 secs each #18292
Comments
I assume that this is a total 6 second delay in start up? Even 3 seconds is annoying, and we should fix this. However, for now, I think we need to keep the Flux team 100% focused on releasing the performance improvements that are already in the pipeline. |
this issue is to catch the regression, it has become very slow. I trust you all to do the prioritization 👍. I would like to see some tests added to verify these startup times don't regress and are not caught until someone notices it in their CLI. The flux deps have been the driver behind the slow startup times, would be nice to keep this in our field of vision moving forward. |
@mark-rushakoff I believe that's right. The regression happens at the merger of algo-w |
This seems to be due to a refactor that is loosely connected with the algorithm w refactor. Previously, the bulk of the work for initialization came from finalizing the builtins. When we refactored it, a lot of the work for initialization is now in There's probably two different ways to handle this. One would be to stop doing initialization of the runtime using |
Possibly init() is the wrong place to do this work. The init() function could be used to log that the flux package exists, but later on the initialization work can happen before any flux code is evaluated. |
Possible solution to this issue:
Source code for builtins tool, relevant code: |
We think there's a simple fix, timeboxing to one day, if it takes longer, we'll need to put it into next sprint. |
The fix for this is in flux v0.70.0 which was included in #18783. |
The startup times for both influx and influxd have dramatically increased since the merge of algo-w
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
git checkout d22380dc8b && make build
time influx -h
ortime influxd -h
git checkout 97dc4d18db && make build
time influx -h
ortime influxd -h
Expected behavior:
Expected startup time for influx and influxd to not increase.
Actual behavior:
Roughly a 3s bump on both
The text was updated successfully, but these errors were encountered: