From: oetiker Date: Mon, 30 Mar 2009 18:31:21 +0000 (+0000) Subject: initial X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=74acf2313ca2987dc2761559a4b8139e08ed9272;p=rrdtool-all.git initial git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1765 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/talks/swinog18/active-acache-management.pdf b/talks/swinog18/active-acache-management.pdf new file mode 100644 index 00000000..cc936ac1 Binary files /dev/null and b/talks/swinog18/active-acache-management.pdf differ diff --git a/talks/swinog18/active-acache-management.xar b/talks/swinog18/active-acache-management.xar new file mode 100644 index 00000000..42aa97b8 Binary files /dev/null and b/talks/swinog18/active-acache-management.xar differ diff --git a/talks/swinog18/beamercolorthemetobi.sty b/talks/swinog18/beamercolorthemetobi.sty new file mode 100644 index 00000000..eadaa5fe --- /dev/null +++ b/talks/swinog18/beamercolorthemetobi.sty @@ -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 + +\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 + diff --git a/talks/swinog18/body.tex b/talks/swinog18/body.tex new file mode 100644 index 00000000..c2d87495 --- /dev/null +++ b/talks/swinog18/body.tex @@ -0,0 +1,204 @@ +\mode +{ + \usetheme{default} % no fancy navigation or anything ... + \usecolortheme{tobi} + \usefonttheme{serif} + \usepackage{lmodern} + \newcommand{\addgraph}[1]{\includegraphics[width=\textwidth]{#1}} + \setbeamercovered{transparent=25} +} +\mode
+{ + \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 +{Scaling RRDtool without breaking the Bank} + +\author +{Tobias Oetiker} + +\institute +{OETIKER+PARTNER AG} + +\date[SwiNOG 18] % (optional, should be abbreviation of conference name) +{SwiNOG 18} + +\mode{\subject{Scaling RRDtool without breaking the Bank}} + +\mode{ + \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
{ + \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
{\maketitle} + +\begin{frame} + \titlepage +\end{frame} + +\mode{\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 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} +beta in April. +\end{frame} + +\begin{frame}{features of RRDtool 1.5} +\begin{itemize} +\item portable data format +\item remote graphing through rrd cache daemon +\item ... +\end{itemize} +\end{frame} + +\mode{ +\begin{frame} +\begin{center} +\Huge ? +\end{center} +\end{frame} +\begin{frame} +\begin{center} +Tobi Oetiker +\end{center} +\end{frame} +} + +\mode
{ +\vspace{\stretch{1}} +Tobias Oetiker +} +\end{document} + +%%% Local Variables: +%%% TeX-master: "presentation.tex" +%%% mode: flyspell +%%% TeX-PDF-mode: t +%%% End: diff --git a/talks/swinog18/cache-flow.pdf b/talks/swinog18/cache-flow.pdf new file mode 100644 index 00000000..84d3d942 Binary files /dev/null and b/talks/swinog18/cache-flow.pdf differ diff --git a/talks/swinog18/cache-flow.xar b/talks/swinog18/cache-flow.xar new file mode 100644 index 00000000..e46b0f38 Binary files /dev/null and b/talks/swinog18/cache-flow.xar differ diff --git a/talks/swinog18/cache-importance.pdf b/talks/swinog18/cache-importance.pdf new file mode 100644 index 00000000..e3273ecf Binary files /dev/null and b/talks/swinog18/cache-importance.pdf differ diff --git a/talks/swinog18/cache-importance.xar b/talks/swinog18/cache-importance.xar new file mode 100644 index 00000000..6522322e Binary files /dev/null and b/talks/swinog18/cache-importance.xar differ diff --git a/talks/swinog18/handouts.tex b/talks/swinog18/handouts.tex new file mode 100644 index 00000000..d7430850 --- /dev/null +++ b/talks/swinog18/handouts.tex @@ -0,0 +1,3 @@ +\documentclass[letterpaper,12pt,titlepage]{article} +\usepackage{beamerarticle} +\input{body} diff --git a/talks/swinog18/presentation.tex b/talks/swinog18/presentation.tex new file mode 100644 index 00000000..302e243d --- /dev/null +++ b/talks/swinog18/presentation.tex @@ -0,0 +1,2 @@ +\documentclass{beamer} +\input{body} diff --git a/talks/swinog18/readahead-fix.pdf b/talks/swinog18/readahead-fix.pdf new file mode 100644 index 00000000..5fdedcf7 Binary files /dev/null and b/talks/swinog18/readahead-fix.pdf differ diff --git a/talks/swinog18/readahead-fix.xar b/talks/swinog18/readahead-fix.xar new file mode 100644 index 00000000..cbc6347a Binary files /dev/null and b/talks/swinog18/readahead-fix.xar differ diff --git a/talks/swinog18/update-schematics.pdf b/talks/swinog18/update-schematics.pdf new file mode 100644 index 00000000..0f9567a9 Binary files /dev/null and b/talks/swinog18/update-schematics.pdf differ diff --git a/talks/swinog18/update-schematics.xar b/talks/swinog18/update-schematics.xar new file mode 100644 index 00000000..ea6be2f4 Binary files /dev/null and b/talks/swinog18/update-schematics.xar differ