[rrd-users] rrd + zfs compression = massive space savings

Steven Hartland killing at multiplay.co.uk
Tue Feb 22 03:00:26 CET 2011


----- Original Message ----- 
From: "Tobias Oetiker" <tobi at oetiker.ch>
To: "Steven Hartland" <killing at multiplay.co.uk>
Cc: "Bernard Li" <bernard at vanhpc.org>; <rrd-users at lists.oetiker.ch>
Sent: Monday, February 21, 2011 5:26 AM
Subject: Re: [rrd-users] rrd + zfs compression = massive space savings


> Yesterday Steven Hartland wrote:
> 
>> Quite possible but as a large portion of the rrds are over 2 years
>> old, think the saving is still pretty good :)
> 
> Indeed ... what is their structure ? For how long do they store
> data ?

Storing a mixture of cpu, memory, # servers, # players and general
mrtg network stats.

Typical server creation is:-

RRDs::create( $dbfile,
    '--start', ( $time - 10 ),
    '--step', 60, # 1 Min step
    "DS:players:GAUGE:300:0:1000", # 1000 Max players
    "DS:maxplayers:GAUGE:300:0:1000", # 1000 Max players
    "DS:mem:GAUGE:300:0:10000", # Up to 10GB RAM
    "DS:cpu:GAUGE:300:0:200", # 
    "RRA:AVERAGE:0.5:1:11520", # 8 days @ 1 min
    "RRA:AVERAGE:0.5:10:4608", # 32 days @ 10 mins
    "RRA:AVERAGE:0.5:360:1464", # 366 days @ 6 hours
    "RRA:MIN:0.5:1:11520", # 8 days @ 1 min
    "RRA:MIN:0.5:10:4608", # 32 days @ 10 mins
    "RRA:MIN:0.5:360:1464", # 366 days @ 6 hours
    "RRA:MAX:0.5:1:11520", # 8 days @ 1 min
    "RRA:LAST:0.5:10:4608", # 32 days @ 10 mins
    "RRA:LAST:0.5:360:1464", # 366 days @ 6 hours
    "RRA:LAST:0.5:1:11520", # 8 days @ 1 min
    "RRA:LAST:0.5:10:4608", # 32 days @ 10 mins
    "RRA:LAST:0.5:360:1464", # 366 days @ 6 hours
);


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the rrd-users mailing list