General changes
- Emon performance has been improved by using smart algorithm for
sampling rate adaptation.
- Emon provides now two
different modes, in which events are distributed to Monitoring Tasks,
which are using the same Sampling Address (i.e. attached to the same
sampler) and the same Selection Criteria (i.e. asking for the same
events):
- Old mode, in which all the events are sent to every Monitoring
Task
- New mode, called dispersion, in which events are equally
distributed among all the available Monitoring Tasks, i.e. each
MT receives 1/Nth of the total amount of events where N is a total
number of MTs.
An MT application may switch from one
mode to another using the last
parameter for the emon::select function. This boolean parameter by
default is set to false, which means that the old mode will be used. If
one sets this parameter to true, the new dispersion mode will be used.
One should note that the value of the dispersion parameter will be
applied only to the current MT and to all its children.
To be implemented