When we don't "only create average RRAs" on the RRDTool
output plugin of luci-app-statistics
, the RRD files almost triple-up in size, by recording the average, and maximum/minimum over the time period(s).
It is my understanding that RRDTool
is an upstream project, so I'll focus my remarks on the luci-app-statistics
(OpenWrt) side:
- I notice the graph(s) only reflect the maximum/minimum values on the legend, and doesn't plot those, just the average(s), as usual.
- That's OK for me, but I wonder whether we could save memory by calculating those 2(*n) values appart (at plot time, or on an auxiliary small file), instead of reading it from database(s) that are just used for fetching 2 values (each)
What do you think?