ltcp/bericht/benchmarks/nft-ipt-drop.tex

37 lines
962 B
TeX
Raw Normal View History

2014-03-01 22:47:22 +00:00
\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage{pgfplots}
\pgfplotsset{compat=1.3}
\usepgfplotslibrary{units}
\usepgfplotslibrary{dateplot}
\usepackage{tikz}
\usepackage{pgfplotstable}
\usepackage{csquotes}
\usepackage{float}
\begin{document}
\pgfplotstableread{nft/ipt-nft-simple-drop.txt}{\nftsimpledrop}
\begin{tikzpicture}
\begin{axis}[
yshift=-0.5cm,
xtick={5000,10000,15000,20000,25000,30000},
xmin=200, xmax=30000,
2014-03-12 00:30:35 +00:00
ymin=0,
2014-03-02 18:13:08 +00:00
xlabel={Anzahl der Firewall-Regeln}, ylabel={Pakete pro Sekunde},
2014-03-01 22:47:22 +00:00
tick label style={/pgf/number format/fixed,/pgf/number format/1000 sep = \thinspace},
width=15cm, height=10cm,
legend entries={iptables,nftables},
scaled ticks=false
]
\addplot[smooth,blue] table [x={rules}, y={iptpps}] {\nftsimpledrop};
\addplot[smooth,red] table [x={rules}, y={nftpps}] {\nftsimpledrop};
\end{axis}
\end{tikzpicture}
\end{document}