rrdtool performance tuning (fwd)

Alfred Perlstein alfred at freebsd.org
Mon Oct 29 16:46:24 PDT 2007


* Dmitry Morozovsky <marck at rinet.ru> [071029 12:44] wrote:
> 
> [hmm, after thinking a bit I decided it would be more appropriate here, in 
> stable@]
> 
> Dear colleagues,
> 
> any hints to tune rrdtool with ~30k rrd files (approx 2k target devices)?
> 
> machine is mostly IO-bound, showing 100% disk load with 8 or sometimes even 3 
> mB/s, 300-400 tps (it's 2 SATA300 disks in gmirror)

More ram?

Turn off atime?

Hash the data files into multiple directories to avoid having 2k files
in one dir.


Not sure how rrd tool works internally, but it might make sense
to see if you can use some layering library to force it to cache
some open files per process or something.

giving a better synopsis on how rrd records data could help us help you.

-Alfred


More information about the freebsd-stable mailing list