OmegaPhil / hardware-monitor-applet

Now an official XFCE4 panel plugin! Moved

Home Page:http://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Network load monitor graph occassionally massively zoomed out

OmegaPhil opened this issue · comments

src/monitor-impls.cpp NetworkLoadMonitor::do_measure

max_decay is key here - originally 0.999, now testing 0.997. Importantly the code does not pay attention to the maximum value present on the graph at any one time, it simply compares the current values for the curves on display to the gradually decaying max value - so if the curve peaks a while back then drops and remains low, the graph max will soon clip the actual curve max values.

0.998 is alright, but I don't like the visual data lossage that is possible on clipping the graph - working on functionality to be permanently aware of the displayed maxima

I have confirmed that the problem is down to unusually high throughput, e.g. a proper download on this powerful VDSL2 connection (~3.5MB/Sec) causing the graph to keep out of a useful scale for some time. This will also happen on LAN traffic, which can therefore be more disruptive.

If someone wants the old gradual decay behaviour then please say - can be made configurable