Performance of Oceananigans v0.90 #3435
Yixiao-Zhang
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some old simulations that use Oceananigans v0.63 and Julia v1.6.2. Now, I need to add topography to these simulations. So, I set up a new simulation with Oceananigans v0.90 and Julia v1.9.3 and used an immersed boundary condition. However, I found the new simulation is 2.3 times slow as the old ones. I do not know whether it is because of the immersed boundary condition, so I tested the performance of the two versions of Oceananigans for a standard non-hydrostatic simulation.
I did not use the benchmark scripts in Oceananigans, because some of them are broken (it seems to me that it is due to changes in the API of
PrettyTables
.). The script for Oceananigans v0.63 isI tested on MIT Satori, using a Tesla V100 GPU. For this simulation, one time-step takes 0.29 seconds for Oceananigans v0.63 but 0.39 seconds for Oceananigans v0.90. The script for Oceananigans v0.90 and the output logs are posted here:
- test_speed_v0.63.jl.txt
- test_speed_v0.90.jl.txt
- test_speed_output_v0.63.txt
-test_speed_output_v0.90.txt
In summary, I have two questions:
- Based on my test, can we say that Oceananigans v0.90 is 30% slower than Oceananigans v0.63 for the same simulation?
- Does using an immersed boundary condition make the simulation roughly 50% slower?
Beta Was this translation helpful? Give feedback.
All reactions