Code

initial
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 2 Jun 2009 05:55:11 +0000 (05:55 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 2 Jun 2009 05:55:11 +0000 (05:55 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1838 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 files changed:
talks/op5-09/3days-solar-graph.pdf [new file with mode: 0644]
talks/op5-09/active-acache-management.pdf [new file with mode: 0644]
talks/op5-09/active-acache-management.xar [new file with mode: 0644]
talks/op5-09/beamercolorthemetobi.sty [new file with mode: 0644]
talks/op5-09/body.tex [new file with mode: 0644]
talks/op5-09/cache-flow.pdf [new file with mode: 0644]
talks/op5-09/cache-flow.xar [new file with mode: 0644]
talks/op5-09/cache-importance.pdf [new file with mode: 0644]
talks/op5-09/cache-importance.xar [new file with mode: 0644]
talks/op5-09/charles.png [new file with mode: 0644]
talks/op5-09/energy_graph.png [new file with mode: 0644]
talks/op5-09/handouts.tex [new file with mode: 0644]
talks/op5-09/n20e-daily.png [new file with mode: 0644]
talks/op5-09/nmn09_200.jpg [new file with mode: 0644]
talks/op5-09/pings.png [new file with mode: 0644]
talks/op5-09/presentation.tex [new file with mode: 0644]
talks/op5-09/readahead-fix.pdf [new file with mode: 0644]
talks/op5-09/readahead-fix.xar [new file with mode: 0644]
talks/op5-09/systembelastung.png [new file with mode: 0644]
talks/op5-09/update-schematics.pdf [new file with mode: 0644]
talks/op5-09/update-schematics.xar [new file with mode: 0644]

diff --git a/talks/op5-09/3days-solar-graph.pdf b/talks/op5-09/3days-solar-graph.pdf
new file mode 100644 (file)
index 0000000..37ee10d
Binary files /dev/null and b/talks/op5-09/3days-solar-graph.pdf differ
diff --git a/talks/op5-09/active-acache-management.pdf b/talks/op5-09/active-acache-management.pdf
new file mode 100644 (file)
index 0000000..cc936ac
Binary files /dev/null and b/talks/op5-09/active-acache-management.pdf differ
diff --git a/talks/op5-09/active-acache-management.xar b/talks/op5-09/active-acache-management.xar
new file mode 100644 (file)
index 0000000..1c13b38
Binary files /dev/null and b/talks/op5-09/active-acache-management.xar differ
diff --git a/talks/op5-09/beamercolorthemetobi.sty b/talks/op5-09/beamercolorthemetobi.sty
new file mode 100644 (file)
index 0000000..eadaa5f
--- /dev/null
@@ -0,0 +1,50 @@
+% Copyright 2007 by Till Tantau
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/color/beamercolorthemetobi.sty,v 1.9 2007/01/28 20:48:24 tantau Exp $
+
+
+\mode<presentation>
+
+\definecolor{craneorange}{RGB}{255,252,248}
+\definecolor{craneblue}{RGB}{62,28,0}
+
+\setbeamercolor{structure}{fg=craneblue}
+
+\setbeamercolor{palette primary}{fg=craneblue,bg=craneorange!70}
+\setbeamercolor{palette secondary}{fg=craneblue,bg=craneorange!80}
+\setbeamercolor{palette tertiary}{fg=craneblue,bg=craneorange!90}
+\setbeamercolor{palette quaternary}{fg=craneblue,bg=craneorange}
+
+\setbeamercolor{titlelike}{fg=craneblue}
+
+\setbeamercolor{block title}{fg=craneblue,bg=craneorange}
+\setbeamercolor{block title alerted}{use=alerted text,fg=craneblue,bg=alerted text.fg!75!bg}
+\setbeamercolor{block title example}{use=example text,fg=craneblue,bg=example text.fg!75!bg}
+
+\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!25!bg}
+\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!25!bg}
+\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!25!bg}
+
+\setbeamercolor{sidebar}{bg=craneorange!70}
+  
+\setbeamercolor{palette sidebar primary}{fg=craneblue}
+\setbeamercolor{palette sidebar secondary}{fg=craneblue!75}
+\setbeamercolor{palette sidebar tertiary}{fg=craneblue!75}
+\setbeamercolor{palette sidebar quaternary}{fg=craneblue}
+
+\setbeamercolor*{separation line}{}
+\setbeamercolor*{fine separation line}{}
+
+\setbeamercolor{normal text}{bg=craneblue!1,fg=craneblue}
+\setbeamercolor{example text}{bg=craneblue!10}
+\setbeamercolor{frametitle}{fg=craneblue!50}
+
+\mode
+<all>
diff --git a/talks/op5-09/body.tex b/talks/op5-09/body.tex
new file mode 100644 (file)
index 0000000..80e4c2a
--- /dev/null
@@ -0,0 +1,238 @@
+\mode<presentation>
+{
+  \usetheme{default} % no fancy navigation or anything ... 
+  \usecolortheme{tobi}
+  \usefonttheme{serif}   
+  \usepackage{lmodern}
+  \newcommand{\addgraph}[1]{\includegraphics[width=\textwidth]{#1}}
+  \setbeamercovered{transparent=25}
+}
+\mode<article>
+{
+  \usepackage{url}
+  \usepackage{graphicx}
+  \usepackage[colorlinks,hyperindex,plainpages=false]{hyperref}
+  \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
+  \setlength{\parindent}{0pt}  
+  \usepackage{times}
+  \newcommand{\addgraph}[1]{\begin{center}\framebox{\includegraphics[width=0.9\textwidth]{#1}}\end{center}}
+  \addtolength{\voffset}{-2.5cm}
+  \addtolength{\textheight}{4cm}
+}
+\usepackage{alltt}
+\usepackage{listings}
+\usepackage{svgcolor}
+\usepackage[english]{babel}
+\usepackage[latin1]{inputenc}
+% or whatever
+
+\usepackage[T1]{fontenc}
+% Or whatever. Note that the encoding and the font should match. If T1
+% does not look nice, try deleting the line with the fontenc.
+
+\title
+{RRDtool - How to make it fast without breaking the bank?}
+
+\author
+{Tobias Oetiker}
+
+\institute
+{OETIKER+PARTNER AG}
+
+\date[NMN09] % (optional, should be abbreviation of conference name)
+{Nordic Meet on Nagios 09}
+
+\mode<presentation>{\subject{RRDtool - how to make it fast without breaking the bank}}
+
+\mode<presentation>{
+ \lstset{%
+   language=Perl,%
+   numbers=left,%
+   basicstyle=\ttfamily\footnotesize\color{black},%
+   keywordstyle=\color{darkgreen},%
+%  identifyerstyle=\color{brown},%
+   commentstyle=\color{mediumpurple},%
+   stringstyle=\color{dimgray},
+   numberstyle=\ttfamily\scriptsize\color{darkgray},
+   showstringspaces=false
+ }
+}
+\mode<article>{
+ \lstset{%
+   language=Perl,%
+   numbers=left,%
+   basicstyle=\ttfamily\footnotesize,%
+   keywordstyle=\bfseries,%
+   numberstyle=\ttfamily\scriptsize,
+%  identifyerstyle=\color{brown},%
+   commentstyle=\itshape,%
+   stringstyle=\color{black},
+   showstringspaces=false
+ }
+}
+
+\begin{document}
+
+\mode<article>{\maketitle}
+
+\begin{frame}<presentation>
+  \titlepage
+  \begin{center}
+  \includegraphics[width=0.3\textwidth]{nmn09_200}
+  \end{center}
+\end{frame}
+
+\mode<articel>{\tableofcontents}
+
+\begin{frame}{about rrdtool}
+\begin{itemize}
+\item a database with controlled memory loss
+\item data is only an approximation of reality
+\item quick setup and use
+\item graphics included
+\end{itemize}
+\end{frame}
+
+\begin{frame}{designed for speed}
+\addgraph{update-schematics}
+\end{frame}
+
+\begin{frame}{diy performance improvements}
+\begin{itemize}
+\item rrd is disk bound
+\item striping
+\item nvram
+\item tmpfs and copy
+\end{itemize}
+\end{frame}
+
+\begin{frame}{scientific approach}
+\begin{itemize}
+\item Dave Plonka, LISA'07
+\item vm optimization kills rrd
+\item fix read-ahead with fadvise random
+\item batch updates of a single rrd
+\item running 320k RRD updates every 5 Minutes
+\end{itemize}
+\addgraph{readahead-fix}
+\end{frame}
+
+\begin{frame}{buffer cache is king}
+\begin{itemize}
+\item empirical evidence shows cache helps
+\item no-cache: double the work
+\item worse: writes gets blocked by read
+\end{itemize}
+\addgraph{cache-importance}
+\end{frame}
+
+\begin{frame}{active buffer cache management with fadvise}
+\begin{itemize}
+\item fadvise and madvise
+\item RANDOM - no read ahead
+\item DONTNEED - drop synced data from cache
+\item highly implementation dependent
+\item linux $>=$ 2.6.18 gets it right
+\item keep only the hot blocks
+\end{itemize}
+\addgraph{active-acache-management}
+\end{frame}
+
+\begin{frame}{features of RRDtool 1.3}
+\begin{itemize}
+\item active buffer cache management with fadvise and madvise
+\item memory mapped io (bernhard fischer)
+\item holt winters with moving baseline (evan miller)
+\item cairo and pango for graphics
+\item pdf, svg, eps output
+\item inline text formatting
+\item anti-aliasing controllable
+\end{itemize}
+\end{frame}
+
+\newpage
+
+\begin{frame}{rrd cache daemon}
+\begin{itemize}
+\item multiple updates to the same rrd are the fastest
+\item cache daemon batches updates
+\item journal replay for crash case
+\item remote updates (no auth)
+\end{itemize}
+\addgraph{cache-flow}
+\end{frame}
+
+\begin{frame}{features of RRDtool 1.4}
+\begin{itemize}
+\item beta out now
+\item rrd cache daemon (florian forster and kevin brintnall)
+\item libdbi integration for instant db access (martin sperl)
+\item graph prediction functions (martin sperl)
+\item graph legend placement (melchior rabe)
+\item inline text formatting
+\end{itemize}
+\end{frame}
+
+\begin{frame}{features of RRDtool 1.5}
+\begin{itemize}
+\item portable data format
+\item remote graphing through rrd cache daemon
+\item authentication for rrdcached
+\item ...
+\end{itemize}
+\end{frame}
+
+\mode<presentation>{
+\begin{frame}
+\begin{center}
+\Huge ?
+\end{center}
+\end{frame}
+\begin{frame}
+\begin{center}
+Tobi Oetiker <tobi@oetiker.ch>
+\end{center}
+\end{frame}
+}
+
+\begin{frame}{Graph Critic - HTTP Cache Traffic}
+\addgraph{charles}\\
+graph by Charles Glass
+\end{frame}
+
+\begin{frame}{Graph Critic - RTT of MPLS VPN endpoints}
+\addgraph{pings}\\
+graph by Bruno Ciscato
+\end{frame}
+
+\begin{frame}{Graph Critic - System Information}
+\addgraph{systembelastung}\\
+graph by kmindi
+\end{frame}
+
+\begin{frame}{Graph Critic - Energy Mix}
+\addgraph{energy_graph}\\
+graph by Lutz Schulze
+\end{frame}
+
+\begin{frame}{Graph Critic - Thermostat Indoor / Outdoor}
+\addgraph{n20e-daily}\\
+graph by Andres Brownworth
+\end{frame}
+
+\begin{frame}{Graph UnCritical - Solar Power Plant}
+\addgraph{3days-solar-graph}\\
+graph by me
+\end{frame}
+
+\mode<article>{
+\vspace{\stretch{1}}
+Tobias Oetiker <tobi@oetiker.ch>
+}
+\end{document}
+
+%%% Local Variables:
+%%% TeX-master: "presentation.tex"
+%%% mode: flyspell
+%%% TeX-PDF-mode: t
+%%% End:
diff --git a/talks/op5-09/cache-flow.pdf b/talks/op5-09/cache-flow.pdf
new file mode 100644 (file)
index 0000000..84d3d94
Binary files /dev/null and b/talks/op5-09/cache-flow.pdf differ
diff --git a/talks/op5-09/cache-flow.xar b/talks/op5-09/cache-flow.xar
new file mode 100644 (file)
index 0000000..e46b0f3
Binary files /dev/null and b/talks/op5-09/cache-flow.xar differ
diff --git a/talks/op5-09/cache-importance.pdf b/talks/op5-09/cache-importance.pdf
new file mode 100644 (file)
index 0000000..e3273ec
Binary files /dev/null and b/talks/op5-09/cache-importance.pdf differ
diff --git a/talks/op5-09/cache-importance.xar b/talks/op5-09/cache-importance.xar
new file mode 100644 (file)
index 0000000..6522322
Binary files /dev/null and b/talks/op5-09/cache-importance.xar differ
diff --git a/talks/op5-09/charles.png b/talks/op5-09/charles.png
new file mode 100644 (file)
index 0000000..a64ad9d
Binary files /dev/null and b/talks/op5-09/charles.png differ
diff --git a/talks/op5-09/energy_graph.png b/talks/op5-09/energy_graph.png
new file mode 100644 (file)
index 0000000..16204f7
Binary files /dev/null and b/talks/op5-09/energy_graph.png differ
diff --git a/talks/op5-09/handouts.tex b/talks/op5-09/handouts.tex
new file mode 100644 (file)
index 0000000..d743085
--- /dev/null
@@ -0,0 +1,3 @@
+\documentclass[letterpaper,12pt,titlepage]{article}
+\usepackage{beamerarticle}
+\input{body}
diff --git a/talks/op5-09/n20e-daily.png b/talks/op5-09/n20e-daily.png
new file mode 100644 (file)
index 0000000..2576e14
Binary files /dev/null and b/talks/op5-09/n20e-daily.png differ
diff --git a/talks/op5-09/nmn09_200.jpg b/talks/op5-09/nmn09_200.jpg
new file mode 100644 (file)
index 0000000..bccf232
Binary files /dev/null and b/talks/op5-09/nmn09_200.jpg differ
diff --git a/talks/op5-09/pings.png b/talks/op5-09/pings.png
new file mode 100644 (file)
index 0000000..2ce339b
Binary files /dev/null and b/talks/op5-09/pings.png differ
diff --git a/talks/op5-09/presentation.tex b/talks/op5-09/presentation.tex
new file mode 100644 (file)
index 0000000..302e243
--- /dev/null
@@ -0,0 +1,2 @@
+\documentclass{beamer}
+\input{body}
diff --git a/talks/op5-09/readahead-fix.pdf b/talks/op5-09/readahead-fix.pdf
new file mode 100644 (file)
index 0000000..5fdedcf
Binary files /dev/null and b/talks/op5-09/readahead-fix.pdf differ
diff --git a/talks/op5-09/readahead-fix.xar b/talks/op5-09/readahead-fix.xar
new file mode 100644 (file)
index 0000000..cbc6347
Binary files /dev/null and b/talks/op5-09/readahead-fix.xar differ
diff --git a/talks/op5-09/systembelastung.png b/talks/op5-09/systembelastung.png
new file mode 100644 (file)
index 0000000..84f5e90
Binary files /dev/null and b/talks/op5-09/systembelastung.png differ
diff --git a/talks/op5-09/update-schematics.pdf b/talks/op5-09/update-schematics.pdf
new file mode 100644 (file)
index 0000000..0f9567a
Binary files /dev/null and b/talks/op5-09/update-schematics.pdf differ
diff --git a/talks/op5-09/update-schematics.xar b/talks/op5-09/update-schematics.xar
new file mode 100644 (file)
index 0000000..ea6be2f
Binary files /dev/null and b/talks/op5-09/update-schematics.xar differ