From b53946f8ecb5f3080c76224e8d0e00e2e7f5d90b Mon Sep 17 00:00:00 2001 From: Alfred Krohmer Date: Mon, 20 Jan 2014 19:45:53 +0100 Subject: [PATCH] Diagramme gefixt --- bericht/abschnitte/bench-hpl.tex | 10 +++++--- bericht/abschnitte/bench-imb.tex | 23 +++++++++++-------- bericht/abschnitte/bench-iozone.tex | 10 ++++++++ bericht/benchmarks/all-reduce-2.tex | 12 +++++++--- bericht/benchmarks/all-reduce-4.tex | 12 +++++++--- bericht/benchmarks/all-reduce-8.tex | 12 +++++++--- bericht/benchmarks/all-to-all-2.tex | 12 +++++++--- bericht/benchmarks/all-to-all-4.tex | 12 +++++++--- bericht/benchmarks/all-to-all-8.tex | 12 +++++++--- .../benchmarks/iozone-fastfs-read-tmpl.tex | 5 +++- .../benchmarks/iozone-fastfs-write-tmpl.tex | 5 +++- bericht/benchmarks/iozone-nfs-read-tmpl.tex | 5 +++- bericht/benchmarks/iozone-nfs-write-tmpl.tex | 5 +++- 13 files changed, 101 insertions(+), 34 deletions(-) diff --git a/bericht/abschnitte/bench-hpl.tex b/bericht/abschnitte/bench-hpl.tex index 58a974d..6884e59 100644 --- a/bericht/abschnitte/bench-hpl.tex +++ b/bericht/abschnitte/bench-hpl.tex @@ -32,6 +32,10 @@ Mit der Intel MKL erreichten wir mit folgender Konfiguration: WC01C2C4 26208 128 2 4 \end{lstlisting} -einen Wert von {\bf 4,076 GFlops}. Verglichen mit der theoretischen Floating Point Peak Performance von: \\ -$1,6$ GHz $\cdot 2$ CPU-Kerne pro Prozessor $\cdot 1$ Instruktion pro Takt $\cdot 4$ CPUs $ = 12,8$ GFlops \\ -erreichten wir damit also ca. 32 \% der maximal möglichen Leistung, was in Anbetracht des langsamen Verbindungsnetzwerkes ein akzeptabler Wert ist. +einen Wert von {\bf 4,076 GFlops}. + +\subsubsection{Auswertung} + +Verglichen mit der theoretischen Floating Point Peak Performance von: \\ +$1,6$ GHz $\cdot 2$ CPU-Kerne pro Prozessor $\cdot 2$ Instruktion pro Takt $\cdot 4$ CPUs $ = 25,6$ GFlops \\ +erreichten wir damit also ca. 16 \% der maximal möglichen Leistung, was in Anbetracht des langsamen Verbindungsnetzwerkes ein akzeptabler Wert ist. diff --git a/bericht/abschnitte/bench-imb.tex b/bericht/abschnitte/bench-imb.tex index 4cafbf0..9454a28 100644 --- a/bericht/abschnitte/bench-imb.tex +++ b/bericht/abschnitte/bench-imb.tex @@ -40,17 +40,24 @@ fs t s }\imbpingpong \begin{tikzpicture} +\pgfplotsset{ + y axis style/.style={ + yticklabel style=#1, + y axis line style=#1, + ylabel style=#1, + ytick style=#1 + } +} \begin{axis}[ xmin=1, xmax=536870912, xmode=log, - ymode=log, - ytick pos=left, log basis x=2, - xlabel={Dateigröße in KiB}, + xlabel={Nachrichtengr\"o{\ss}e in MiB}, + ymode=log, + axis y line*=left, ylabel={Zugriffszeit in $\mu$s}, - y axis line style=blue, - x axis line style=black, + y axis style=blue!75!black, width=15cm, height=10cm ] \addplot[smooth,blue] table[x={fs}, y={t}] {\imbpingpong}; @@ -59,14 +66,12 @@ fs t s xmin=1, xmax=536870912, xmode=log, + axis x line=none, ytick pos=right, axis y line* = right, - hide x axis, - ylabel={Übertragungsgeschwindigkeit in MiB/s}, ylabel={{\"U}bertragungsgeschwindigkeit in MiB/s}, ylabel near ticks, - y axis line style=red, - x axis line style=black, + y axis style=red!75!black, width=15cm, height=10cm ] \addplot[smooth,red] table[x={fs}, y={s}] {\imbpingpong}; diff --git a/bericht/abschnitte/bench-iozone.tex b/bericht/abschnitte/bench-iozone.tex index cb182f9..6a77f3c 100644 --- a/bericht/abschnitte/bench-iozone.tex +++ b/bericht/abschnitte/bench-iozone.tex @@ -28,3 +28,13 @@ Testaufruf: \shellcmd{./iozone -azcR -+q 1 -U /fastfs -f /fastfs/testfile -b excel-fastfs.xls} Der Parameter {\tt -+q 1} sorgt für einen Delay zwischen den einzelnen Tests, ohne den der Benchmark fehlerhaft läuft.\\ + +\subsubsection{Auswertung} + +Die Lesegeschwindigkeit von NFS entspricht mit als Maximalwert gemessenen 109 MiB/s in etwa der möglichen Lesegeschwindigkeit der Festplatte, die etwa 112 MiB/s beträgt und wie folgt gemessen wurde: + +\shellcmd{hdparm -t /dev/sda} + +Die Schreibegeschwindigkeit liegt bei maximal 62 MiB/s und sollte auch in etwa der Leistungsfähig der Festplatte entsprechen. + +GlusterFS liegt in der Lesegeschwindigkeit von maximal 104 MiB/s etwa mit NFS gleich auf. Die Schreibegeschwindigkeit hingegen erreicht lediglich 28 MiB/s und lieg damit weit hinter NFS. Dies lässt sich im Wesentlichen darauf zurückführen, dass GlusterFS ein FUSE-Dateisystem ist und es deshalb bei jeder Schreibeoperation etliche Kontextwechsel gibt, weil die einzelnen Nodes miteinander kommunizieren müssen, um die Daten verteilt schreiben zu können. Zusätzlich stellen hier also auch die Atom-Prozessoren durch ihre begrenze Leistungsfähigkeit einen limitierenden Faktor dar. \ No newline at end of file diff --git a/bericht/benchmarks/all-reduce-2.tex b/bericht/benchmarks/all-reduce-2.tex index bfc824f..dcd6f44 100644 --- a/bericht/benchmarks/all-reduce-2.tex +++ b/bericht/benchmarks/all-reduce-2.tex @@ -1,9 +1,12 @@ \documentclass{standalone} \usepackage{pgfplots} \usepgfplotslibrary{dateplot} +\usepgfplotslibrary{units} +\usepackage{siunitx} \usepackage{tikz} \usepackage{pgfplotstable} \usepackage[utf8]{inputenc} +\pgfplotsset{/pgf/number format/use comma} \begin{document} \pgfplotstableread{ @@ -30,10 +33,13 @@ xmin=1, xmax=65536, xmode=log, + ymin=0, log basis x=2, - xlabel={Dateigröße in MiB}, - ylabel={Zugriffszeit in $\mu$s}, - width=15cm, height=10cm + xlabel={Nachrichtengröße [MiB]}, + ylabel={Zugriffszeit [ms]}, + width=15cm, height=10cm, + change y base=true, + y SI prefix=kilo ] \addplot[smooth,blue] table {\imballtoall}; \end{axis} diff --git a/bericht/benchmarks/all-reduce-4.tex b/bericht/benchmarks/all-reduce-4.tex index 094b889..70dcfb5 100644 --- a/bericht/benchmarks/all-reduce-4.tex +++ b/bericht/benchmarks/all-reduce-4.tex @@ -1,9 +1,12 @@ \documentclass{standalone} \usepackage{pgfplots} \usepgfplotslibrary{dateplot} +\usepgfplotslibrary{units} +\usepackage{siunitx} \usepackage{tikz} \usepackage{pgfplotstable} \usepackage[utf8]{inputenc} +\pgfplotsset{/pgf/number format/use comma} \begin{document} \pgfplotstableread{ @@ -30,10 +33,13 @@ xmin=1, xmax=65536, xmode=log, + ymin=0, log basis x=2, - xlabel={Dateigröße in MiB}, - ylabel={Zugriffszeit in $\mu$s}, - width=15cm, height=10cm + xlabel={Nachrichtengröße [MiB]}, + ylabel={Zugriffszeit [ms]}, + width=15cm, height=10cm, + change y base=true, + y SI prefix=kilo ] \addplot[smooth,blue] table {\imballtoall}; \end{axis} diff --git a/bericht/benchmarks/all-reduce-8.tex b/bericht/benchmarks/all-reduce-8.tex index 69d6c1b..c9d695d 100644 --- a/bericht/benchmarks/all-reduce-8.tex +++ b/bericht/benchmarks/all-reduce-8.tex @@ -1,9 +1,12 @@ \documentclass{standalone} \usepackage{pgfplots} \usepgfplotslibrary{dateplot} +\usepgfplotslibrary{units} +\usepackage{siunitx} \usepackage{tikz} \usepackage{pgfplotstable} \usepackage[utf8]{inputenc} +\pgfplotsset{/pgf/number format/use comma} \begin{document} \pgfplotstableread{ @@ -30,10 +33,13 @@ xmin=1, xmax=65536, xmode=log, + ymin=0, log basis x=2, - xlabel={Dateigröße in MiB}, - ylabel={Zugriffszeit in $\mu$s}, - width=15cm, height=10cm + xlabel={Nachrichtengröße [MiB]}, + ylabel={Zugriffszeit [ms]}, + width=15cm, height=10cm, + change y base=true, + y SI prefix=kilo ] \addplot[smooth,blue] table {\imballtoall}; \end{axis} diff --git a/bericht/benchmarks/all-to-all-2.tex b/bericht/benchmarks/all-to-all-2.tex index a603f2a..f7f12b3 100644 --- a/bericht/benchmarks/all-to-all-2.tex +++ b/bericht/benchmarks/all-to-all-2.tex @@ -1,9 +1,12 @@ \documentclass{standalone} \usepackage{pgfplots} \usepgfplotslibrary{dateplot} +\usepgfplotslibrary{units} +\usepackage{siunitx} \usepackage{tikz} \usepackage{pgfplotstable} \usepackage[utf8]{inputenc} +\pgfplotsset{/pgf/number format/use comma} \begin{document} \pgfplotstableread{ @@ -32,10 +35,13 @@ xmin=1, xmax=65536, xmode=log, + ymin=0, log basis x=2, - xlabel={Dateigröße in MiB}, - ylabel={Zugriffszeit in $\mu$s}, - width=15cm, height=10cm + xlabel={Nachrichtengröße [MiB]}, + ylabel={Zugriffszeit [ms]}, + width=15cm, height=10cm, + change y base=true, + y SI prefix=kilo ] \addplot[smooth,blue] table {\imballtoall}; \end{axis} diff --git a/bericht/benchmarks/all-to-all-4.tex b/bericht/benchmarks/all-to-all-4.tex index 3b1c9db..3a76608 100644 --- a/bericht/benchmarks/all-to-all-4.tex +++ b/bericht/benchmarks/all-to-all-4.tex @@ -1,9 +1,12 @@ \documentclass{standalone} \usepackage{pgfplots} \usepgfplotslibrary{dateplot} +\usepgfplotslibrary{units} +\usepackage{siunitx} \usepackage{tikz} \usepackage{pgfplotstable} \usepackage[utf8]{inputenc} +\pgfplotsset{/pgf/number format/use comma} \begin{document} \pgfplotstableread{ @@ -32,10 +35,13 @@ xmin=1, xmax=65536, xmode=log, + ymin=0, log basis x=2, - xlabel={Dateigröße in MiB}, - ylabel={Zugriffszeit in $\mu$s}, - width=15cm, height=10cm + xlabel={Nachrichtengröße [MiB]}, + ylabel={Zugriffszeit [ms]}, + width=15cm, height=10cm, + change y base=true, + y SI prefix=kilo ] \addplot[smooth,blue] table {\imballtoall}; \end{axis} diff --git a/bericht/benchmarks/all-to-all-8.tex b/bericht/benchmarks/all-to-all-8.tex index 84bac13..7ce5575 100644 --- a/bericht/benchmarks/all-to-all-8.tex +++ b/bericht/benchmarks/all-to-all-8.tex @@ -1,9 +1,12 @@ \documentclass{standalone} \usepackage{pgfplots} \usepgfplotslibrary{dateplot} +\usepgfplotslibrary{units} +\usepackage{siunitx} \usepackage{tikz} \usepackage{pgfplotstable} \usepackage[utf8]{inputenc} +\pgfplotsset{/pgf/number format/use comma} \begin{document} \pgfplotstableread{ @@ -32,10 +35,13 @@ xmin=1, xmax=65536, xmode=log, + ymin=0, log basis x=2, - xlabel={Dateigröße in MiB}, - ylabel={Zugriffszeit in $\mu$s}, - width=15cm, height=10cm + xlabel={Nachrichtengröße [MiB]}, + ylabel={Zugriffszeit [ms]}, + width=15cm, height=10cm, + change y base=true, + y SI prefix=kilo ] \addplot[smooth,blue] table {\imballtoall}; \end{axis} diff --git a/bericht/benchmarks/iozone-fastfs-read-tmpl.tex b/bericht/benchmarks/iozone-fastfs-read-tmpl.tex index acb15a1..acfbefe 100644 --- a/bericht/benchmarks/iozone-fastfs-read-tmpl.tex +++ b/bericht/benchmarks/iozone-fastfs-read-tmpl.tex @@ -3,6 +3,7 @@ \usepgfplotslibrary{dateplot} \usepackage{tikz} \usepackage{pgfplotstable} +\pgfplotsset{/pgf/number format/use comma} \begin{document} \begin{tikzpicture} @@ -12,7 +13,9 @@ xlabel={Dateigr\"{o}{\ss}e [KiB]}, xmode=log, log basis x=2, ylabel={Record-Gr\"{o}{\ss}e [KiB]}, - ymode=log, log basis y=2 + ymode=log, log basis y=2, + zlabel={\"{U}bertragungsgeschwindigkeit [KiB/s]}, + zmax=120000 ] \addplot3 [patch, patch table={iozone-fastfs-read.out}] table {iozone-fastfs-read}; \end{axis} diff --git a/bericht/benchmarks/iozone-fastfs-write-tmpl.tex b/bericht/benchmarks/iozone-fastfs-write-tmpl.tex index 42e23e1..d9edc3a 100644 --- a/bericht/benchmarks/iozone-fastfs-write-tmpl.tex +++ b/bericht/benchmarks/iozone-fastfs-write-tmpl.tex @@ -3,6 +3,7 @@ \usepgfplotslibrary{dateplot} \usepackage{tikz} \usepackage{pgfplotstable} +\pgfplotsset{/pgf/number format/use comma} \begin{document} \begin{tikzpicture} @@ -12,7 +13,9 @@ xlabel={Dateigr\"{o}{\ss}e [KiB]}, xmode=log, log basis x=2, ylabel={Record-Gr\"{o}{\ss}e [KiB]}, - ymode=log, log basis y=2 + ymode=log, log basis y=2, + zlabel={\"{U}bertragungsgeschwindigkeit [KiB/s]}, + zmax=120000 ] \addplot3 [patch, patch table={iozone-fastfs-write.out}] table {iozone-fastfs-write}; \end{axis} diff --git a/bericht/benchmarks/iozone-nfs-read-tmpl.tex b/bericht/benchmarks/iozone-nfs-read-tmpl.tex index 673759f..8c960af 100644 --- a/bericht/benchmarks/iozone-nfs-read-tmpl.tex +++ b/bericht/benchmarks/iozone-nfs-read-tmpl.tex @@ -3,6 +3,7 @@ \usepgfplotslibrary{dateplot} \usepackage{tikz} \usepackage{pgfplotstable} +\pgfplotsset{/pgf/number format/use comma} \begin{document} \begin{tikzpicture} @@ -12,7 +13,9 @@ xlabel={Dateigr\"{o}{\ss}e [KiB]}, xmode=log, log basis x=2, ylabel={Record-Gr\"{o}{\ss}e [KiB]}, - ymode=log, log basis y=2 + ymode=log, log basis y=2, + zlabel={\"{U}bertragungsgeschwindigkeit [KiB/s]}, + zmax=120000 ] \addplot3 [patch, patch table={iozone-nfs-read.out}] table {iozone-nfs-read}; \end{axis} diff --git a/bericht/benchmarks/iozone-nfs-write-tmpl.tex b/bericht/benchmarks/iozone-nfs-write-tmpl.tex index 5a6b8f7..b8145b1 100644 --- a/bericht/benchmarks/iozone-nfs-write-tmpl.tex +++ b/bericht/benchmarks/iozone-nfs-write-tmpl.tex @@ -3,6 +3,7 @@ \usepgfplotslibrary{dateplot} \usepackage{tikz} \usepackage{pgfplotstable} +\pgfplotsset{/pgf/number format/use comma} \begin{document} \begin{tikzpicture} @@ -12,7 +13,9 @@ xlabel={Dateigr\"{o}{\ss}e [KiB]}, xmode=log, log basis x=2, ylabel={Record-Gr\"{o}{\ss}e [KiB]}, - ymode=log, log basis y=2 + ymode=log, log basis y=2, + zlabel={\"{U}bertragungsgeschwindigkeit [KiB/s]}, + zmax=120000 ] \addplot3 [patch, patch table={iozone-nfs-write.out}] table {iozone-nfs-write}; \end{axis}