iccsa-20-waves

git clone https://git.igankevich.com/iccsa-20-waves.git
Log | Files | Refs

commit fdaf23c3d53fa14eceaecd8e68415ef73ebe2b49
parent 739959341c31d994285cf1c6dd9bba818bb0ffd9
Author: Ivan Gankevich <i.gankevich@spbu.ru>
Date:   Mon, 16 Mar 2020 10:55:29 +0300

Benchmark data.

Diffstat:
Makefile | 8+++++++-
data/openmp-aurora-capybara.dat | 8++++++++
data/openmp-aurora-gpulab.dat | 8++++++++
data/openmp-aurora-laptop.dat | 8++++++++
data/openmp-diogen-capybara.dat | 8++++++++
data/openmp-diogen-gpulab.dat | 8++++++++
data/openmp-diogen-laptop.dat | 8++++++++
data/openmp-micw-capybara.dat | 8++++++++
data/openmp-micw-gpulab.dat | 8++++++++
data/openmp-micw-laptop.dat | 8++++++++
gnuplot/openmp.gnuplot | 24++++++++++++++++++++++++
gnuplot/rdbu.pal | 25+++++++++++++++++++++++++
main.tex | 39+++++++++++++++++++++++++++++++++++++++
13 files changed, 167 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -14,9 +14,11 @@ SLIDES = iccsa-20-waves-slides all: build/$(NAME).pdf all: build/$(SLIDES).pdf +build/$(NAME).pdf: build/gnuplot/openmp.svg build/$(NAME).pdf: main.tex +build/$(NAME).pdf: @echo " LATEX $<" - @-$(LATEXMK) $(FLAGS) -f $< + @-$(LATEXMK) $(FLAGS) -f main.tex build/$(SLIDES).pdf: slides.tex @echo " LATEX $<" @@ -25,6 +27,10 @@ build/$(SLIDES).pdf: slides.tex build/%.eps: build/%.svg inkscape -z --export-eps=$@ $< +build/gnuplot/%.svg: gnuplot/%.gnuplot + @mkdir -p build/gnuplot + gnuplot -d $< + build: @mkdir -p build diff --git a/data/openmp-aurora-capybara.dat b/data/openmp-aurora-capybara.dat @@ -0,0 +1,8 @@ +1 49529432.5 +2 24892751.3333333 +3 16580437.6 +4 12406460.5 +8 5887319 +10 4873754.75 +16 3564943.875 +20 2907667.58333333 diff --git a/data/openmp-aurora-gpulab.dat b/data/openmp-aurora-gpulab.dat @@ -0,0 +1,8 @@ +1 46231811 +2 24717984.5 +3 16707628.75 +4 12534955 +5 12189727.5 +6 10330779 +7 9186459.16666667 +8 8222316.57142857 diff --git a/data/openmp-aurora-laptop.dat b/data/openmp-aurora-laptop.dat @@ -0,0 +1,8 @@ +1 41957874 +2 21730350 +3 14420466.1428571 +4 12803829.375 +5 10395817.1111111 +6 8963117.90909091 +7 7949636.75 +8 7715502.33333333 diff --git a/data/openmp-diogen-capybara.dat b/data/openmp-diogen-capybara.dat @@ -0,0 +1,8 @@ +1 34118794.3333333 +2 17351074.8 +3 11458263 +4 8654093.16666667 +8 4289393 +10 3431843.16666667 +16 2611791.33333333 +20 2091362 diff --git a/data/openmp-diogen-gpulab.dat b/data/openmp-diogen-gpulab.dat @@ -0,0 +1,8 @@ +1 32384162.6666667 +2 17057131.5 +3 11612576 +4 8948450.8 +5 8355327.16666667 +6 6877834 +7 6194609 +8 5528866 diff --git a/data/openmp-diogen-laptop.dat b/data/openmp-diogen-laptop.dat @@ -0,0 +1,8 @@ +1 30607454.5 +2 15191303 +3 9763675.7 +4 8723158.36363636 +5 6996404.41666667 +6 6107857.08333333 +7 5627059.33333333 +8 5461734.5 diff --git a/data/openmp-micw-capybara.dat b/data/openmp-micw-capybara.dat @@ -0,0 +1,8 @@ +1 36003958.6666667 +2 18268254 +3 12634713.6666667 +4 9735056.57142857 +8 4869828.28571429 +10 4124409.85714286 +16 3064793.57142857 +20 2785811 diff --git a/data/openmp-micw-gpulab.dat b/data/openmp-micw-gpulab.dat @@ -0,0 +1,8 @@ +1 33550287.3333333 +2 17673478 +3 11965823.5 +4 8984047.75 +5 8961987.2 +6 7936656.71428571 +7 7107322.57142857 +8 6481245.42857143 diff --git a/data/openmp-micw-laptop.dat b/data/openmp-micw-laptop.dat @@ -0,0 +1,8 @@ +1 32260779.75 +2 17231605.8571429 +3 12275012.375 +4 10918863.4444444 +5 9366868.6 +6 8619259.33333333 +7 8074723.83333333 +8 7724949.66666667 diff --git a/gnuplot/openmp.gnuplot b/gnuplot/openmp.gnuplot @@ -0,0 +1,24 @@ +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:50000] +plot 'data/openmp-aurora-laptop.dat' using 1:($2*s) with lines ls 1 lw 2 +plot 'data/openmp-aurora-capybara.dat' using 1:($2*s) with lines ls 1 lw 2 +plot 'data/openmp-aurora-gpulab.dat' using 1:($2*s) with lines ls 1 lw 2 +#set yrange [0:35000] +plot 'data/openmp-diogen-laptop.dat' using 1:($2*s) with lines ls 1 lw 2 +plot 'data/openmp-diogen-capybara.dat' using 1:($2*s) with lines ls 1 lw 2 +plot 'data/openmp-diogen-gpulab.dat' using 1:($2*s) with lines ls 1 lw 2 +#set yrange [0:1200] +plot 'data/openmp-micw-laptop.dat' using 1:($2*s) with lines ls 1 lw 2 +plot 'data/openmp-micw-capybara.dat' using 1:($2*s) with lines ls 1 lw 2 +plot 'data/openmp-micw-gpulab.dat' using 1:($2*s) with lines ls 1 lw 2 + diff --git a/gnuplot/rdbu.pal b/gnuplot/rdbu.pal @@ -0,0 +1,25 @@ +# line styles for ColorBrewer RdBu +# for use with divering data +# provides 8 colors with red low, white middle, and blue high +# compatible with gnuplot >=4.2 +# author: Anna Schneider + +# line styles +set style line 1 lt 1 lc rgb '#B2182B' # red +set style line 2 lt 1 lc rgb '#D6604D' # red-orange +set style line 3 lt 1 lc rgb '#F4A582' # +set style line 4 lt 1 lc rgb '#FDDBC7' # pale orange +set style line 5 lt 1 lc rgb '#D1E5F0' # pale blue +set style line 6 lt 1 lc rgb '#92C5DE' # +set style line 7 lt 1 lc rgb '#4393C3' # medium blue +set style line 8 lt 1 lc rgb '#2166AC' # dark blue + +# palette +set palette defined (0 '#2166AC',\ + 1 '#4393C3',\ + 2 '#92C5DE',\ + 3 '#D1E5F0',\ + 4 '#FDDBC7',\ + 5 '#F4A582',\ + 6 '#D6604D',\ + 7 '#B2182B') diff --git a/main.tex b/main.tex @@ -104,6 +104,45 @@ All we have to do is: \section{Results} + + +\begin{table} + \centering + \caption{Performance benchmarks results. Numbers represent average time in milliseconds + that is needed to generate waves with reflection.\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 + DarkwingDuck + & 5462 & 48 + & 7716 & 41 + & 7725 & 11 + \\ + GPUlab + & 5529 & 11 + & 8222 & 10 + & 6481 & 3 + \\ + Capybara & 2908 & 16 + & 2091 & 8 + & 2786 & 4 + \\ + \bottomrule + \end{tabular} +\end{table} + + + + \section{Discussion} \section{Conclusion}