commit a40c8e83f2016532e87b22f58496e6e2a5176e17
parent cfbe0542199d3c3f6d0f339842006262f5cf44e6
Author: Ivan Gankevich <i.gankevich@spbu.ru>
Date: Sat, 14 Mar 2020 21:49:36 +0300
Benchmark data.
Diffstat:
14 files changed, 131 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
@@ -17,6 +17,7 @@ all: build/$(SLIDES).pdf
build/$(NAME).pdf: build/inkscape/law-of-reflection.eps
build/$(NAME).pdf: build/gnuplot/verification.eps
build/$(NAME).pdf: build/gnuplot/velocity.eps
+build/$(NAME).pdf: build/gnuplot/openmp.svg
build/$(NAME).pdf: main.tex
build/$(NAME).pdf:
@echo " LATEX $<"
diff --git a/gnuplot/bench-aurora-laptop-openmp.dat b/gnuplot/bench-aurora-laptop-openmp.dat
@@ -1,8 +0,0 @@
-8 164323.5
-7 168880.916666667
-6 170619.583333333
-5 195834.333333333
-4 229678.916666667
-3 219791.666666667
-2 315572.666666667
-1 615750.75
diff --git a/gnuplot/openmp-aurora-capybara.dat b/gnuplot/openmp-aurora-capybara.dat
@@ -0,0 +1,8 @@
+1 568718.666666667
+2 284604.333333333
+3 189884.916666667
+4 138083.083333333
+8 66354.75
+10 52732.1666666667
+16 57854.5833333333
+20 48153.25
diff --git a/gnuplot/openmp-aurora-gpulab.dat b/gnuplot/openmp-aurora-gpulab.dat
@@ -0,0 +1,8 @@
+1 607313.166666667
+2 308598.166666667
+3 211019.25
+4 156096.5
+5 133722.833333333
+6 110497.916666667
+7 95018
+8 90023
diff --git a/gnuplot/openmp-aurora-laptop.dat b/gnuplot/openmp-aurora-laptop.dat
@@ -0,0 +1,8 @@
+1 615750.75
+2 315572.666666667
+3 219791.666666667
+4 229678.916666667
+5 195834.333333333
+6 170619.583333333
+7 168880.916666667
+8 164323.5
diff --git a/gnuplot/openmp-diogen-capybara.dat b/gnuplot/openmp-diogen-capybara.dat
@@ -0,0 +1,8 @@
+1 396689
+2 197612.75
+3 127903.583333333
+4 92723.75
+8 45507.5
+10 37073.75
+16 39550.75
+20 33227.75
diff --git a/gnuplot/openmp-diogen-gpulab.dat b/gnuplot/openmp-diogen-gpulab.dat
@@ -0,0 +1,8 @@
+1 418992
+2 212623.333333333
+3 144593.916666667
+4 105518.333333333
+5 90565
+6 75122.6666666667
+7 64680.3333333333
+8 62152.0833333333
diff --git a/gnuplot/openmp-diogen-laptop.dat b/gnuplot/openmp-diogen-laptop.dat
@@ -0,0 +1,8 @@
+1 449993.166666667
+2 222764.416666667
+3 162793.583333333
+4 152839.916666667
+5 134589.083333333
+6 116161.75
+7 108824.833333333
+8 113648.5
diff --git a/gnuplot/openmp-micw-capybara.dat b/gnuplot/openmp-micw-capybara.dat
@@ -0,0 +1,8 @@
+1 1027173.16666667
+2 514956.916666667
+3 344390.25
+4 259475.583333333
+8 133082.333333333
+10 115794.75
+16 120235
+20 98570.75
diff --git a/gnuplot/openmp-micw-gpulab.dat b/gnuplot/openmp-micw-gpulab.dat
@@ -0,0 +1,8 @@
+1 1091526.16666667
+2 549352.416666667
+3 379500.833333333
+4 289721.583333333
+5 254540
+6 213682.666666667
+7 182729.416666667
+8 174803.666666667
diff --git a/gnuplot/openmp-micw-laptop.dat b/gnuplot/openmp-micw-laptop.dat
@@ -0,0 +1,8 @@
+1 1161772.08333333
+2 588704.166666667
+3 400243.083333333
+4 415003.166666667
+5 360686.833333333
+6 316383.5
+7 306691
+8 313752.333333333
diff --git a/gnuplot/openmp.gnuplot b/gnuplot/openmp.gnuplot
@@ -0,0 +1,23 @@
+set terminal svg dynamic size 1080*1.9, 1080 round enhanced font 'Liberation Serif, 12'
+set output "build/gnuplot/openmp.svg"
+set border 1+2
+load 'gnuplot/rdbu.pal'
+set xtics nomirror out
+set ytics nomirror out
+set yrange [0:*]
+set multiplot layout 3,3
+s = 1e-3
+set xlabel 'No. of threads'
+set ylabel 'Time, ms'
+set yrange [0:700]
+plot 'gnuplot/openmp-aurora-laptop.dat' using 1:($2*s) with lines ls 1 lw 2
+plot 'gnuplot/openmp-aurora-capybara.dat' using 1:($2*s) with lines ls 1 lw 2
+plot 'gnuplot/openmp-aurora-gpulab.dat' using 1:($2*s) with lines ls 1 lw 2
+set yrange [0:500]
+plot 'gnuplot/openmp-diogen-laptop.dat' using 1:($2*s) with lines ls 1 lw 2
+plot 'gnuplot/openmp-diogen-capybara.dat' using 1:($2*s) with lines ls 1 lw 2
+plot 'gnuplot/openmp-diogen-gpulab.dat' using 1:($2*s) with lines ls 1 lw 2
+set yrange [0:1200]
+plot 'gnuplot/openmp-micw-laptop.dat' using 1:($2*s) with lines ls 1 lw 2
+plot 'gnuplot/openmp-micw-capybara.dat' using 1:($2*s) with lines ls 1 lw 2
+plot 'gnuplot/openmp-micw-gpulab.dat' using 1:($2*s) with lines ls 1 lw 2
diff --git a/gnuplot/velocity.gnuplot b/gnuplot/velocity.gnuplot
@@ -19,5 +19,5 @@ set xlabel 'Wind velocity, m/s'
set ylabel 'Roll angle, °' offset 1.5,0
plot 'gnuplot/roll' using 1:(($2-static_roll)*s) with lines smooth csplines ls 1 lw 2
-set ylabel 'Ship velocity, m/s'
-plot 'gnuplot/velocity' using 1:2 with lines smooth csplines ls 1 lw 2
+set ylabel 'Ship velocity, km/h'
+plot 'gnuplot/velocity' using 1:($2/1000*3600) with lines smooth csplines ls 1 lw 2
diff --git a/main.tex b/main.tex
@@ -329,6 +329,39 @@ between the two is less than 1\%.
\subsection{Computational performance analysis}
+\begin{table}
+ \centering
+ \caption{Time is in milliseconds.\label{tab-benchmark}}
+ \begin{tabular}{l@{\hskip 3mm}r@{\hskip 2mm}r@{\hskip 3mm}r@{\hskip 2mm}r@{\hskip 3mm}r@{\hskip 2mm}r}
+ \toprule
+ & \multicolumn{2}{l}{Diogen}
+ & \multicolumn{2}{l}{Aurora}
+ & \multicolumn{2}{l}{MICW} \\
+ \cmidrule(r){2-3}
+ \cmidrule(r){4-5}
+ \cmidrule(r){6-7}
+ Node & MP & CL
+ & MP & CL
+ & MP & CL \\
+ \midrule
+ Laptop
+ & 114 & 14.00
+ & 164 & 16
+ & 314 & 29
+ \\
+ GPUlab
+ & 62 & 1.35
+ & 90 & 2
+ & 175 & 3
+ \\
+ Capybara & 33 & 0.87
+ & 48 & 1
+ & 99 & 6
+ \\
+ \bottomrule
+ \end{tabular}
+\end{table}
+
\section{Discussion}
Solution on the boundary \eqref{eq-solution-on-the-boundary} provides simple