Skip to content

Commit

Permalink
Refining figure.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Markert committed Sep 13, 2024
1 parent e1609cd commit 2fae604
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
10 changes: 4 additions & 6 deletions paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ we compare the runtimes over number of processes of the DG solver and the
summed mesh operations done by t8code which are ghost computation, ghost data
exchange, partitioning (load balancing), refinement and coarsening as well as
balancing ensuring only a difference of one refinement level among element's
face neighbors. Additionally, from the graph we see the weak scaling property
of the application, i.e. the runtime halves when doubling the number of
processes.
face neighbors. From the graphs in \autoref{fig:t8code_runtimes} we clearly
see that `t8code` only takes around 15\% to 20\% of overall runtime compared
to the solver.

+----------------+-------------------+--------------------+--------+
| \# Process | \# Elements | \# Elem. / process | Ghost |
Expand All @@ -230,9 +230,7 @@ processes.
prototype code coupled with `t8code`. Mesh operations are ghost computation,
ghost data exchange, partitioning (load balancing), refinement and coarsening
as well as balancing (max. difference of one level of refinement of neighboring
elements). t8code only takes around 15\% of the overall runtime.
Additionally, we see the weak scaling property of the application, i.e. the
runtime halves when doubling the number of processes.
elements). t8code only takes around 15\% to 20\% of the overall runtime.
\label{fig:t8code_runtimes}
](pics/t8code-runtimes-simple.png){width="90%"}

Expand Down
11 changes: 8 additions & 3 deletions pics/plot-runtimes.gpi
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ set key autotitle columnhead
fp_DG = "plot-DG.csv"
fp_AMR = "plot-AMR.csv"

set xrange [0:12288]
set yrange [0:700]
# set xrange [0:12288]
# set yrange [0:700]

set xrange [1:12700]
set yrange [4:800]

set logscale y 2

set xlabel "number of processes"
set ylabel "runtime [s]"
set ylabel "log-scale runtime [s]"

set title "Runtimes over number of processes: solver vs. t8code"

Expand Down
Binary file modified pics/t8code-runtimes-simple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2fae604

Please sign in to comment.