Code

go open presentation checkin
[rrdtool-all.git] / talks / goopen-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 sit up and beg?}
36 \author
37 {Tobias Oetiker}
39 \institute
40 {OETIKER+PARTNER AG}
42 \date[GoOpen 09] % (optional, should be abbreviation of conference name)
43 {GoOpen 09}
45 \mode<presentation>{\subject{RRDtool - how to make it sit up and beg}}
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 \end{frame}
82 \mode<articel>{\tableofcontents}
84 \begin{frame}{about rrdtool}
85 \begin{itemize}
86 \item a database with controlled memory loss
87 \item data is only an approximation of reality
88 \item quick setup and use
89 \item graphics included
90 \end{itemize}
91 \end{frame}
93 \begin{frame}{designed for speed}
94 \addgraph{update-schematics}
95 \end{frame}
97 \begin{frame}{diy performance improvements}
98 \begin{itemize}
99 \item rrd is disk bound
100 \item striping
101 \item nvram
102 \item tmpfs and copy
103 \end{itemize}
104 \end{frame}
106 \begin{frame}{scientific approach}
107 \begin{itemize}
108 \item Dave Plonka, LISA'07
109 \item vm optimization kills rrd
110 \item fix read-ahead with fadvise random
111 \item batch updates of a single rrd
112 \item running 320k RRD updates every 5 Minutes
113 \end{itemize}
114 \addgraph{readahead-fix}
115 \end{frame}
117 \begin{frame}{buffer cache is king}
118 \begin{itemize}
119 \item empirical evidence shows cache helps
120 \item no-cache: double the work
121 \item worse: writes gets blocked by read
122 \end{itemize}
123 \addgraph{cache-importance}
124 \end{frame}
126 \begin{frame}{active buffer cache management with fadvise}
127 \begin{itemize}
128 \item fadvise and madvise
129 \item RANDOM - no read ahead
130 \item DONTNEED - drop synced data from cache
131 \item highly implementation dependent
132 \item linux $>=$ 2.6.18 gets it right
133 \item keep only the hot blocks
134 \end{itemize}
135 \addgraph{active-acache-management}
136 \end{frame}
138 \begin{frame}{features of RRDtool 1.3}
139 \begin{itemize}
140 \item active buffer cache management with fadvise and madvise
141 \item memory mapped io (bernhard fischer)
142 \item holt winters with moving baseline (evan miller)
143 \item cairo and pango for graphics
144 \item pdf, svg, eps output
145 \item inline text formatting
146 \item anti-aliasing controllable
147 \end{itemize}
148 \end{frame}
150 \newpage
152 \begin{frame}{rrd cache daemon}
153 \begin{itemize}
154 \item multiple updates to the same rrd are the fastest
155 \item cache daemon batches updates
156 \item journal replay for crash case
157 \item remote updates (no auth)
158 \end{itemize}
159 \addgraph{cache-flow}
160 \end{frame}
162 \begin{frame}{features of RRDtool 1.4}
163 \begin{itemize}
164 \item beta out now
165 \item rrd cache daemon (florian forster and kevin brintnall)
166 \item libdbi integration for instant db access (martin sperl)
167 \item graph prediction functions (martin sperl)
168 \item graph legend placement (melchior rabe)
169 \item inline text formatting
170 \end{itemize}
171 \end{frame}
173 \begin{frame}{features of RRDtool 1.5}
174 \begin{itemize}
175 \item portable data format
176 \item remote graphing through rrd cache daemon
177 \item authentication for rrdcached
178 \item ...
179 \end{itemize}
180 \end{frame}
182 \mode<presentation>{
183 \begin{frame}
184 \begin{center}
185 \Huge ?
186 \end{center}
187 \end{frame}
188 \begin{frame}
189 \begin{center}
190 Tobi Oetiker <tobi@oetiker.ch>
191 \end{center}
192 \end{frame}
195 \begin{frame}{Graph Critic - HTTP Cache Traffic}
196 \addgraph{charles}\\
197 graph by Charles Glass
198 \end{frame}
200 \begin{frame}{Graph Critic - RTT of MPLS VPN endpoints}
201 \addgraph{pings}\\
202 graph by Bruno Ciscato
203 \end{frame}
205 \begin{frame}{Graph Critic - System Information}
206 \addgraph{systembelastung}\\
207 graph by kmindi
208 \end{frame}
210 \begin{frame}{Graph Critic - Energy Mix}
211 \addgraph{energy_graph}\\
212 graph by Lutz Schulze
213 \end{frame}
215 \begin{frame}{Graph Critic - Thermostat Indoor / Outdoor}
216 \addgraph{n20e-daily}\\
217 graph by Andres Brownworth
218 \end{frame}
220 \mode<article>{
221 \vspace{\stretch{1}}
222 Tobias Oetiker <tobi@oetiker.ch>
224 \end{document}
226 %%% Local Variables:
227 %%% TeX-master: "presentation.tex"
228 %%% mode: flyspell
229 %%% TeX-PDF-mode: t
230 %%% End: