Hi Dan:

On Fri, Oct 15, 2010 at 11:55 AM, Daniel Rich <[email protected]> wrote:

> In my environment I didn't want to use a ram disk due to the risk of losing
> data.  The method that worked for me was to create a filesystem on a file
> and then use a loop mount to mount the filesystem under
> /var/lib/ganglia/rrds.  The system then sees it as a single file i/o
> operation when you first open the directory, not an individual i/o op every
> time an rrd is updated.
>
> I have not done this with my current server yet, but I'm getting close to
> the point where I am going to need to...
>
> There was a discussion about this on the mailing list ages ago:
> http://www.mail-archive.com/[email protected]/msg00553.html

Wow, thanks for pointing us to this little gem.  I will definitely
write it up in the Wiki (or you could do it too, if you like ;-).

The only issue I see with this approach is that you can't dynamically
grow the RRD directory.  When it gets close to filling up, you would
need to make a bigger file, then transfer the files over...  Although
I wonder if LVM could help in this case..?

Have you also looked at rrdcached?  I am interested in getting some
comparison between the two methods.

Cheers,

Bernard

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to