image compression does indeed take significant time. unfortunately, cairo does 
not allow to configure the compression level. so in order to tune this, the png 
generation process would have to be moved into rrdtool. not all that difficult 
... just look at the relevant code from cairo and copy it over

cheers

Tobias Oetiker
[email protected]
062 775 9902

> On 08.11.2015, at 14:02, Simon Hobson <[email protected]> wrote:
> 
> Alex van den Bogaerdt <[email protected]> wrote: some very good advice.
> 
> The only thing I can add is to, if you have the storage, the --lazy option. 
> That way, while each graph will take the same time to create, it only needs 
> to be created once.
> So if (for example) you have a page with several graphs of the same thing 
> over different timescales (eg day, week, month, year) then you really only 
> need to create the day graph the first time the page is shown in any day - 
> and after that it won't change again until tomorrow.
> Using --lazy means it'll keep that first image on disk and just serve it up 
> rather than re-render it.
> 
> It really depends on your workload, but can significantly reduce the number 
> of graphs you need to draw.
> 
> _______________________________________________
> rrd-users mailing list
> [email protected]
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
> 

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to