Code

introducing the new key=value parser for graph command arguments ... work in progress...
[rrdtool-all.git] / talks / op5-09 / body.tex
1 \mode<presentation>
2 {
3   \usetheme{default} % no fancy navigation or anything ... 
4   \usecolortheme{tobi}
5   \usefonttheme{serif}   
6   \usepackage{lmodern}
7   \newcommand{\addgraph}[1]{\includegraphics[width=\textwidth]{#1}}
8   \setbeamercovered{transparent=25}
9 }
10 \mode<article>
11 {
12   \usepackage{url}
13   \usepackage{graphicx}
14   \usepackage[colorlinks,hyperindex,plainpages=false]{hyperref}
15   \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
16   \setlength{\parindent}{0pt}  
17   \usepackage{times}
18   \newcommand{\addgraph}[1]{\begin{center}\framebox{\includegraphics[width=0.9\textwidth]{#1}}\end{center}}
19   \addtolength{\voffset}{-2.5cm}
20   \addtolength{\textheight}{4cm}
21 }
22 \usepackage{alltt}
23 \usepackage{listings}
24 \usepackage{svgcolor}
25 \usepackage[english]{babel}
26 \usepackage[latin1]{inputenc}
27 % or whatever
29 \usepackage[T1]{fontenc}
30 % Or whatever. Note that the encoding and the font should match. If T1
31 % does not look nice, try deleting the line with the fontenc.
33 \title
34 {RRDtool - How to make it fast without breaking the bank?}
36 \author
37 {Tobias Oetiker}
39 \institute
40 {OETIKER+PARTNER AG}
42 \date[NMN09] % (optional, should be abbreviation of conference name)
43 {Nordic Meet on Nagios 09}
45 \mode<presentation>{\subject{RRDtool - how to make it fast without breaking the bank}}
47 \mode<presentation>{
48  \lstset{%
49    language=Perl,%
50    numbers=left,%
51    basicstyle=\ttfamily\footnotesize\color{black},%
52    keywordstyle=\color{darkgreen},%
53 %  identifyerstyle=\color{brown},%
54    commentstyle=\color{mediumpurple},%
55    stringstyle=\color{dimgray},
56    numberstyle=\ttfamily\scriptsize\color{darkgray},
57    showstringspaces=false
58  }
59 }
60 \mode<article>{
61  \lstset{%
62    language=Perl,%
63    numbers=left,%
64    basicstyle=\ttfamily\footnotesize,%
65    keywordstyle=\bfseries,%
66    numberstyle=\ttfamily\scriptsize,
67 %  identifyerstyle=\color{brown},%
68    commentstyle=\itshape,%
69    stringstyle=\color{black},
70    showstringspaces=false
71  }
72 }
74 \begin{document}
76 \mode<article>{\maketitle}
78 \begin{frame}<presentation>
79   \titlepage
80   \begin{center}
81   \includegraphics[width=0.3\textwidth]{nmn09_200}
82   \end{center}
83 \end{frame}
85 \mode<articel>{\tableofcontents}
87 \begin{frame}{about rrdtool}
88 \begin{itemize}
89 \item a database with controlled memory loss
90 \item data is only an approximation of reality
91 \item quick setup and use
92 \item graphics included
93 \end{itemize}
94 \end{frame}
96 \begin{frame}{designed for speed}
97 \addgraph{update-schematics}
98 \end{frame}
100 \begin{frame}{diy performance improvements}
101 \begin{itemize}
102 \item rrd is disk bound
103 \item striping
104 \item nvram
105 \item tmpfs and copy
106 \end{itemize}
107 \end{frame}
109 \begin{frame}{scientific approach}
110 \begin{itemize}
111 \item Dave Plonka, LISA'07
112 \item vm optimization kills rrd
113 \item fix read-ahead with fadvise random
114 \item batch updates of a single rrd
115 \item running 320k RRD updates every 5 Minutes
116 \end{itemize}
117 \addgraph{readahead-fix}
118 \end{frame}
120 \begin{frame}{buffer cache is king}
121 \begin{itemize}
122 \item empirical evidence shows cache helps
123 \item no-cache: double the work
124 \item worse: writes gets blocked by read
125 \end{itemize}
126 \addgraph{cache-importance}
127 \end{frame}
129 \begin{frame}{active buffer cache management with fadvise}
130 \begin{itemize}
131 \item fadvise and madvise
132 \item RANDOM - no read ahead
133 \item DONTNEED - drop synced data from cache
134 \item highly implementation dependent
135 \item linux $>=$ 2.6.18 gets it right
136 \item keep only the hot blocks
137 \end{itemize}
138 \addgraph{active-acache-management}
139 \end{frame}
141 \begin{frame}{features of RRDtool 1.3}
142 \begin{itemize}
143 \item active buffer cache management with fadvise and madvise
144 \item memory mapped io (bernhard fischer)
145 \item holt winters with moving baseline (evan miller)
146 \item cairo and pango for graphics
147 \item pdf, svg, eps output
148 \item inline text formatting
149 \item anti-aliasing controllable
150 \end{itemize}
151 \end{frame}
153 \newpage
155 \begin{frame}{rrd cache daemon}
156 \begin{itemize}
157 \item multiple updates to the same rrd are the fastest
158 \item cache daemon batches updates
159 \item journal replay for crash case
160 \item remote updates (no auth)
161 \end{itemize}
162 \addgraph{cache-flow}
163 \end{frame}
165 \begin{frame}{features of RRDtool 1.4}
166 \begin{itemize}
167 \item beta out now
168 \item rrd cache daemon (florian forster and kevin brintnall)
169 \item libdbi integration for instant db access (martin sperl)
170 \item graph prediction functions (martin sperl)
171 \item graph legend placement (melchior rabe)
172 \item inline text formatting
173 \end{itemize}
174 \end{frame}
176 \begin{frame}{features of RRDtool 1.5}
177 \begin{itemize}
178 \item portable data format
179 \item remote graphing through rrd cache daemon
180 \item authentication for rrdcached
181 \item ...
182 \end{itemize}
183 \end{frame}
185 \mode<presentation>{
186 \begin{frame}
187 \begin{center}
188 \Huge ?
189 \end{center}
190 \end{frame}
191 \begin{frame}
192 \begin{center}
193 Tobi Oetiker <tobi@oetiker.ch>
194 \end{center}
195 \end{frame}
198 \begin{frame}{Graph Critic - HTTP Cache Traffic}
199 \addgraph{charles}\\
200 graph by Charles Glass
201 \end{frame}
203 \begin{frame}{Graph Critic - RTT of MPLS VPN endpoints}
204 \addgraph{pings}\\
205 graph by Bruno Ciscato
206 \end{frame}
208 \begin{frame}{Graph Critic - System Information}
209 \addgraph{systembelastung}\\
210 graph by kmindi
211 \end{frame}
213 \begin{frame}{Graph Critic - Energy Mix}
214 \addgraph{energy_graph}\\
215 graph by Lutz Schulze
216 \end{frame}
218 \begin{frame}{Graph Critic - Thermostat Indoor / Outdoor}
219 \addgraph{n20e-daily}\\
220 graph by Andres Brownworth
221 \end{frame}
223 \begin{frame}{Graph UnCritical - Solar Power Plant}
224 \addgraph{3days-solar-graph}\\
225 graph by me
226 \end{frame}
228 \mode<article>{
229 \vspace{\stretch{1}}
230 Tobias Oetiker <tobi@oetiker.ch>
232 \end{document}
234 %%% Local Variables:
235 %%% TeX-master: "presentation.tex"
236 %%% mode: flyspell
237 %%% TeX-PDF-mode: t
238 %%% End: