<p dir="ltr">Hi, </p>
<p dir="ltr">I'm a dev guy from the Munin project(*). We have some heavy RRD among our users.</p>
<p dir="ltr">Some hints from the trenches:</p>
<p dir="ltr">* I discovered that having multiple rrdcached daemon is actually very bad for performance. The only way to shard them efficiently is to have them handling a different FS with different disk subsystem. (I didn't try with SSD btw)<br>
* For some workloads tmpfs+sync (note that a simple cp might be more efficient than a rsync) is simply the best.<br>
* You have to avoid doing reads on rrds, as it flushes. (1.4.x, don't know about 1.5)<br>
* A very big -w and -z setting (think 3600) helps, as it give rrdcached the most flexibility to reorder writes<br>
* Always flush manually before closing (FLUSHALL on the socket), to avoid too long restart times. The restarts journal read is way too slow, a you noticed.</p>
<p dir="ltr">Hopes it helps.</p>
<p dir="ltr">(*) <a href="http://mm0.eu/">http://mm0.eu/</a> </p>
<p dir="ltr"></p>
<p dir="ltr">On 17:59, Sun, Mar 15, 2015 Tobias Oetiker <<a href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a>> wrote:</p>
<blockquote><p dir="ltr">Hi Gaby,</p>
<p dir="ltr">I guess that very few people have rrdtool setup at your scale ...<br>
so chances for someone coming forward with useful hints may be<br>
rather slim.</p>
</blockquote>
<p dir="ltr"> </p>
<blockquote><p dir="ltr"></p>
<p dir="ltr">Things to look at:</p>
<p dir="ltr">a) try rrdtool 1.5rc2 since this is the latest and greates code</p>
<p dir="ltr">b) go into the cached code and add some debugging output</p>
<p dir="ltr">c) strace/truss may provide some insight in to what rrdcached when<br>
it seems busy</p>
<p dir="ltr">d) attach gdb and break processing to see where in the source this<br>
is happening.</p>
<p dir="ltr">cheers<br>
tobi</p>
<p dir="ltr">Yesterday Gaby wrote:</p>
<p dir="ltr">> Dear developers, could you take a look at my post in the Users forum?<br>
><br>
> <a href="http://rrd-mailinglists.937164.n2.nabble.com/RRDcached-performance-issues-tp7582783.html;cid=1426345040002-291">http://rrd-mailinglists.937164.n2.nabble.com/RRDcached-performance-issues-tp7582783.html;cid=1426345040002-291</a><br>
><br>
> It has no replies, and I'm still very interested in shedding some light on<br>
> it.<br>
><br>
> Gaby<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://rrd-mailinglists.937164.n2.nabble.com/RRDcached-performance-issues-from-Users-mailinglist-tp7582860.html">http://rrd-mailinglists.937164.n2.nabble.com/RRDcached-performance-issues-from-Users-mailinglist-tp7582860.html</a><br>
> Sent from the RRDtool Developers Mailinglist mailing list archive at Nabble.com.<br>
><br>
> _______________________________________________<br>
> rrd-developers mailing list<br>
> <a href="mailto:rrd-developers@lists.oetiker.ch">rrd-developers@lists.oetiker.ch</a><br>
> <a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers</a><br>
><br>
></p>
<p dir="ltr">--<br>
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland<br>
<a href="http://www.oetiker.ch">www.oetiker.ch</a> <a href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a> +41 62 775 9902</p>
<p dir="ltr">_______________________________________________<br>
rrd-developers mailing list<br>
<a href="mailto:rrd-developers@lists.oetiker.ch">rrd-developers@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers</a><br>
</p>
</blockquote>
<p dir="ltr"><br>
</p>