Ofer Inbar wrote: > gmetad is very write-intensive, because it updates hundreds of RRD > files about every minute or two. Has anyone tried running it with > the rrd directory on a RAM disk (tmpfs) ? > > You'd need something to periodically copy the RRDs to a real disk, > but that could happen much less frequently (maybe every 20 minutes). > > You'd also need a more complicated boot time startup procedure to set > up the repository on RAM disk before starting gmetad. > > Have any of you tried anything like this? What'd you do? How'd it go?
We were forced to move our rrd's to tmpfs a couple years ago once our numbered of monitored machines grew into the thousands. It works as well as you would want to, other than the risk of losing everything if the machine goes down. A cron job was put into place to tar the rrds to physical disk once an hour, and edits to rc.local untars it back into the tmpfs on boot. Still risk losing data, but ganglia will average out the gap after a while. Load on the machine drops nearly to zero once you move to tmpfs. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

