Harvester added (structure)

Drift compensator added. During 2500us sample period over one minute, drift
is 3us. I.e. about 1%, which is fair enough. Plotting graph reveals quite a
lot of jitter. It becomes clear why Linux is quite a bit away from being a
RT-system. At least in user-space.

To plot jitter with current (as of now) sampler (note the log):

./sampler ./testrc/thermal_1.ini 2500 | awk 'NR>50{print}' | \
   tee log | feedgnuplot --stream --xlen 60 --line --domain

Category: development
Harvester and workers coops

Workers produce random test-data for harvester to pick-up send out.
System jitters a lot more now, to the point where the balance algorithm
fails gravely even at 2K/samples. To get this working better:

* SCHED_RT for all worker and master thread. Will require uid=0 to run it.

* Average algorithm should take more samples into account than just last
  one. A floating frame of say 24 samples should do marvels as the spikes
  are short lived but as there is not room downwards, there will be a cap to
  how much the balancer can compensate for. I.e. need to spread out
  balancing in time.

Category: development