summaryrefslogtreecommitdiffstats
path: root/presentation/images/qcow2_performance.tex
diff options
context:
space:
mode:
Diffstat (limited to 'presentation/images/qcow2_performance.tex')
-rw-r--r--presentation/images/qcow2_performance.tex36
1 files changed, 36 insertions, 0 deletions
diff --git a/presentation/images/qcow2_performance.tex b/presentation/images/qcow2_performance.tex
new file mode 100644
index 0000000..e5849e9
--- /dev/null
+++ b/presentation/images/qcow2_performance.tex
@@ -0,0 +1,36 @@
+%-------------------------------------------------------------------------------
+% qcow2_performance.tex - shows how QCOW2 performs compared to qemu-nbd
+%-------------------------------------------------------------------------------
+% author : Manuel Bentele
+% date : Aug 31, 2019
+% copyright: (c) 2019 Manuel Bentele
+%-------------------------------------------------------------------------------
+
+\begin{tikzpicture}
+ \pgfplotstableread[
+ col sep = semicolon
+ ]{../measurements/fio_results.csv}\resultdata
+ \begin{axis}[
+ height = 5cm,
+ width = 0.95\textwidth,
+ ybar,
+ ymin = 0.75,
+ ymax = 4.25,
+ ylabel = {Throughput gain factor},
+ legend cell align = {left},
+ ymajorgrids,
+ x tick label style = {rotate = 30, anchor = north east,
+ align = right},
+ xticklabels from table={\resultdata}{Type},
+ xtick = data,
+ axis lines = left,
+ enlarge x limits = 0.1,
+ ]
+
+ \addplot table[y = {Factor_512}, x expr=\coordindex]{\resultdata};
+ \addlegendentry{512~byte operation};
+
+ \addplot table[y = {Factor_4096}, x expr=\coordindex]{\resultdata};
+ \addlegendentry{4096~byte operation};
+ \end{axis}
+\end{tikzpicture} \ No newline at end of file