From: couturie Date: Sat, 31 Oct 2015 12:15:24 +0000 (-0400) Subject: new speed up X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/presentation_reservoir.git/commitdiff_plain/4196be5e022044fd7b16f0dd92a7337472a24c1f?ds=inline new speed up --- diff --git a/reservoir.tex b/reservoir.tex index 05bcb21..950da0f 100644 --- a/reservoir.tex +++ b/reservoir.tex @@ -319,6 +319,9 @@ Application on the MNIST problem} \begin{frame}{Performances of the parallel code} % Slide 12 % To be completed + 10000 images:\\ + 1000 reservoirs of 2 neurons, error : 3.85\%\\ + 1 reservoir of 2000 neurons, error : 7.14\% \includegraphics[width=7.5cm]{speedup.pdf} \end{frame} diff --git a/speedup.pdf b/speedup.pdf index b9e3b86..ba55a85 100644 Binary files a/speedup.pdf and b/speedup.pdf differ diff --git a/speedup.plot b/speedup.plot index 12ee462..6ffac44 100644 --- a/speedup.plot +++ b/speedup.plot @@ -7,5 +7,6 @@ set term postscript enhanced portrait "Helvetica" 12 set ylabel "speed up" set xlabel "nb. of cores" #set key on outside left bmargin -plot 'speedup.txt' using 1:3 t "practice" with linespoints lt 1 lw 2 lc 1 ps 0 pt 1,\ - 'speedup.txt' using 1:4 t "ideal" with linespoints lt 2 lw 2 lc 2 ps 0 pt 2 +plot 'speedup.txt' using 1:3 t "1000 reservoirs 2 neurons" with linespoints lt 1 lw 2 lc 1 ps 0 pt 1,\ + 'speedup.txt' using 1:4 t "ideal" with linespoints lt 1 lw 2 lc 2 ps 0 pt 1 ,\ + 'speedup.txt' using 1:6 t "1 reservoir 2000 neurons" with linespoints lt 1 lw 2 lc 3 ps 0 pt 1 diff --git a/speedup.txt b/speedup.txt index baf506f..945d220 100644 --- a/speedup.txt +++ b/speedup.txt @@ -3,11 +3,12 @@ #int Nttmax=200; #int Nnode=2000; #int nb_seed=1000; -#nb proc time speed up ideal speed up +#nb proc time 1000 speed up 1000 ideal speed up time 1 +# speed up 1 -1 49212 1 1 -2 24966.6 1.971 2 -4 13079.9 3.762 4 -8 6602.13 7.453 8 -16 3633.65 13.543 16 -32 1960.88 25.096 32 +1 49212 1 1 42157.6 1 +2 24966.6 1.971 2 21441.4 1.966 +4 13079.9 3.762 4 11184.1 3.769 +8 6602.13 7.453 8 5651.4 7.459 +16 3633.65 13.543 16 2981.5 14.139 +32 1960.88 25.096 32 1609.62 26.191