Flood Modeller-TUFLOW Benchmarking: Difference between revisions
Content deleted Content added
Tuflowduncan (talk | contribs) No edit summary |
No edit summary |
||
| (30 intermediate revisions by one other user not shown) | |||
Line 1:
<Br>
=Flood Modeller-TUFLOW Benchmarking=
==Introduction==
The fixed grid TUFLOW software is available in 2 solvers, an implicit finite-difference solver which is now branded as TUFLOW Classic, and an explicit finite volume engine called TUFLOW HPC which stands for Heavily Parallelised Compute. The solution scheme for TUFLOW HPC has highly independent calculations which can be parallelised and when run over multiple processors or on a GPU card provides a significant reduction in run times.
The following wiki post highlights the potential speed up that could be achieved with utilisation of the TUFLOW HPC engine using GPU card technology:-
[
The benchmark models in these tests are 2D only models or 1D-2D models which utilise TUFLOW 1D ESTRY engine. The speed up is due to 2D calculations being distributed across multiple processors and undertaken in parallel.
==Flood Modeller-TUFLOW Benchmarking==▼
In conjunction with TUFLOW's own 1D engine which allows the modelling and integration of pipe network models and river models together with a 2D domain, TUFLOW can also be integrated with a range of other 1-Dimensional software including <u>[https://www.floodmodeller.com/ Flood Modeller Pro]</u> amongst others.
We often get asked what the simulation times are for models linked to external 1D schemes such as Flood Modeller Pro. Therefore, we’ve been undertaking some benchmarking of some linked Flood Modeller Pro-TUFLOW models to show the impact of running the linked models with the TUFLOW HPC solver on a single processor, multiple cores as well as utilizing Nvidia GPU cards. The outputs from these tests have been compared against the TUFLOW Classic engine which due the various inter-dependencies in the matrix solver cannot distribute calculations across multiple processors.▼
The benchmark simulations have been undertaken internally and unfortunately due to model licencing issues cannot be supplied externally. The models are real world example models typical of the kind that Flood Modeller Pro and TUFLOW are used on.▼
▲==Flood Modeller Pro-TUFLOW Benchmarking==
▲
▲The benchmark simulations have been undertaken internally and
==Model 1==
The first simulated model was a 287 node Flood Modeller Pro network coupled with a TUFLOW model comprising of 297,746 cells with a 2m resolution. The input boundaries corresponded to a 100 year return period. The model was run for 10 hours of hydrograph time.
The models were run on a number of different setups and run for
*TUFLOW Classic with a fixed timestep of 0.5 seconds
*TUFLOW HPC run on 2 Cores
Line 25 ⟶ 30:
The TUFLOW version used for the simulations was the 2018-03-AC release and Flood Modeller 4.4.
The results of the benchmarking of model 1 are shown in Table
'''Table 1: Runtimes for Flood Modeller Pro-TUFLOW benchmarks'''
==Model 2==▼
{| align="center" class="wikitable"
! style="background-color:#005581; font-weight:bold; color:white;" width=18% | Processor Name
Model 2 contains 228 Flood Modeller Pro nodes, a 5m resolution TUFLOW grid with a total of 570,214 cells. The model was run for 26 hours of model time with a 100 year boundary condition. The TUFLOW Classic model was run with a 1.25 second timestep.▼
! style="background-color:#005581; font-weight:bold; color:white;" width=12% | Graphic Card
! style="background-color:#005581; font-weight:bold; color:white;" width=5% | GPU RAM (GB)
! style="background-color:#005581; font-weight:bold; color:white;" width=10% | TUFLOW Classic Runtime (s)
! style="background-color:#005581; font-weight:bold; color:white;" width=10% | TUFLOW HPC Runtime (s) on 2 Cores
! style="background-color:#005581; font-weight:bold; color:white;" width=10% | TUFLOW HPC Runtime (s) on 4 Cores
! style="background-color:#005581; font-weight:bold; color:white;" width=10% | TUFLOW HPC Runtime (s) on 8 Cores
! style="background-color:#005581; font-weight:bold; color:white;" width=10% | TUFLOW HPC Runtime (s) on GPU Card
! style="background-color:#005581; font-weight:bold; color:white;" width=15% | % Speed up between TUFLOW Classic and TUFLOW HPC on a GPU
|-
|Intel(R) Core(TM) i7-7820x CPU @ 3.60GHz ||NVIDIA GeForce GTX 1080||8||6041||8071||4718||3502||1022||83%
|-
|Intel(R) Core(TM) i7-7820x CPU @ 3.6 Ghz ||Nvidia GeForce RTX 2080 ti||11||5944||8611||5666||4567||726||88%
|-
|Intel(R) Core(TM) i7-7700 HQ CPU @ 2.8 Ghz ||Nvidia GeForce GTX 1050||4||6622||10867||7857||5667||3171||52%
|-
|}
▲==Model 2==
▲
The above simulation times were when running the models using Flood Modeller 4.4. Flood Modeller 4.4 although supporting TUFLOW HPC and GPU cards does not support the concurrent simulation of Flood Modeller Pro, TUFLOW HPC and TUFLOW’s 1D scheme, ESTRY. The ability to run all three simultaneously is available in Flood Modeller 4.5 which has been provided in a beta testing phase for this analysis. The ability to run Flood modeller Pro, TUFLOW 2D and TUFLOW 1D components allows the running of a fully integrated drainage models comprising open channels, 2D floodplains as well as 1-Dimensional pipe networks and their interaction with the surface as represented by the 2D domain. The above same models were run with Flood Modeller 4.5. The model results are presented in table x.▼
'''Table 2: Runtimes for Flood Modeller Pro-TUFLOW benchmarks for Model 2'''
{| align="center" class="wikitable"
! style="background-color:#005581; font-weight:bold; color:white;" width=18% | Processor Name
! style="background-color:#005581; font-weight:bold; color:white;" width=12% | Graphic Card
! style="background-color:#005581; font-weight:bold; color:white;" width=5% | GPU RAM (GB)
! style="background-color:#005581; font-weight:bold; color:white;" width=10% | TUFLOW Classic Runtime (s)
! style="background-color:#005581; font-weight:bold; color:white;" width=10% | TUFLOW HPC Runtime (s) on 2 Cores
! style="background-color:#005581; font-weight:bold; color:white;" width=10% | TUFLOW HPC Runtime (s) on 4 Cores
! style="background-color:#005581; font-weight:bold; color:white;" width=10% | TUFLOW HPC Runtime (s) on 8 Cores
! style="background-color:#005581; font-weight:bold; color:white;" width=10% | TUFLOW HPC Runtime (s) on GPU Card
! style="background-color:#005581; font-weight:bold; color:white;" width=15% | % Speed up between TUFLOW Classic and TUFLOW HPC on a GPU
|-
|Intel(R) Core(TM) i7-7820x CPU @ 3.6 Ghz ||Nvidia GeForce RTX 2080 ti||11||5946||10229||6543||4722||1251||79%
|-
|Intel(R) Xeon(TM) E5-2670 v3 CPU @ 2.3 Ghz ||Nvidia GeForce GTX 980||4||19693||21242||14438||9516||3603||82%
|-
|Intel(R) Core(TM) i7-770HQ CPU @ 2.8 Ghz ||Nvidia GeForce GTX 1050||4||7225||12669||10702||8707||2793||43%
|-
|}
==Discussion==
The results from the benchmarking of the hydraulic runs clearly show the impact of running models on TUFLOW HPC compared to TUFLOW Classic, and in particular the significance of running TUFLOW HPC on a GPU to significantly reduce model run times. The results show that linked Flood Modeller Pro-TUFLOW HPC run times are up to 8 times faster than TUFLOW Classic and up to 6 times faster than TUFLOW HPC when run on 8 CPUs. Reducing model run times allows more efficiency by reducing the time taken to wait for simulations when various schematisation options are tested during the model build phase, increase productivity when running through the final design runs over a suite of return periods and durations, reducing licensing costs, and open up opportunities in terms of uncertainty analysis through Monte-Carlo type approaches, which require a large ensemble of simulations to be conducted. TUFLOW-HPC can also be run on multiple GPU cards, which allows for the modelling of very large 2D model domains.
▲The
| |||