-
-
Notifications
You must be signed in to change notification settings - Fork 101
Test latest stiff solvers #1020
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
Conversation
@oscardssmith did you check the performance with your static changes? It seems you introduced a regression. |
I tested performance for Hires with QNDF and it looked about even. The thing that's a bit tricky is that StaticW is purely a tradeoff with StaticLU that depends on how many times the jacobian is reused. StaticW requires taking an |
No it's dependent on size. https://github.com/SciML/OrdinaryDiffEq.jl/blob/master/src/derivative_utils.jl#L1-L11 We can tweak it if the timings have changed. See |
I'm mostly worried about Rosenbrock, since that's the case where small and static makes the most sense. That has a clear regression given these results. |
Wait, that's worse. That means for bigger matrices we are re-doing the factorization each time. Shouldn't |
What should that cutoff be? Do you have timings? |
gives
So for 4 or smaller, |
So we should switch it to |
For higher sizes, we should probably switch to |
There at least used to be a big cost to using the LU vs directly using |
Looks like that has mostly disappeared
Therefore if you can reuse the jacobian even once, it pays off to factor. |
Okay so let's update this. |
will do. JuliaArrays/ArrayInterface.jl#449 is pretty much a prereq since otherwise |
2700dde
to
e26cf87
Compare
No description provided.