ltcp/bericht/benchmarks/all-reduce-2.tex

48 lines
860 B
TeX
Raw Permalink Normal View History

2014-01-16 13:33:57 +00:00
\documentclass{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{dateplot}
2014-01-20 18:45:53 +00:00
\usepgfplotslibrary{units}
\usepackage{siunitx}
2014-01-16 13:33:57 +00:00
\usepackage{tikz}
\usepackage{pgfplotstable}
2014-01-20 14:51:22 +00:00
\usepackage[utf8]{inputenc}
2014-01-20 18:45:53 +00:00
\pgfplotsset{/pgf/number format/use comma}
2014-01-16 13:33:57 +00:00
\begin{document}
\pgfplotstableread{
0 0.15
4 144.45
8 143.73
16 144.26
32 148.73
64 256.37
128 282.03
256 253.17
512 269.54
1024 286.83
2048 184.63
4096 324.95
8192 377.51
16384 717.09
32768 866.90
65536 1293.20
}\imballtoall
\begin{tikzpicture}
\begin{axis}[
xmin=1,
xmax=65536,
xmode=log,
2014-01-20 18:45:53 +00:00
ymin=0,
2014-01-16 13:33:57 +00:00
log basis x=2,
2014-01-20 18:45:53 +00:00
xlabel={Nachrichtengröße [MiB]},
ylabel={Zugriffszeit [ms]},
width=15cm, height=10cm,
change y base=true,
y SI prefix=kilo
2014-01-16 13:33:57 +00:00
]
\addplot[smooth,blue] table {\imballtoall};
\end{axis}
\end{tikzpicture}
\end{document}