27.4. Balancer

Configuration of the balancer:

[ Settings/Balancer ]
enabled : boolean = true  1
data_flow_optimization_enabled : boolean = true
resource_load_optimization_enabled : boolean = true
memory_load_optimization_enabled : boolean = true

min_data_run_period : float = 5  2
max_data_run_period : float = 120
resource_run_period : float = 10
memory_run_period : float = 60

samples_per_run_fraction : float = 0.02 3
size_of_object_samples_fraction : float = 0.05 4
data_flow_fraction : float = 0.75  5
data_flow_aging_coef : float = 0.9  6
object_timeout : float = 30 7
cpu_load_weight : float = 0.5  8
rank_compare_factor : float = 0.6 9
balance_object_count_fraction : float = 0.05 10

1

Is Balancer globally enabled? If yes, are given balancer optimizations enabled?

2

Times between two runs of given balancer optimizations.

3

Suggested number of object-to-object samples per run relative to the total number of objects. The actual value is obtained by multiplying the constant by statistics.num_objects.

4

Suggested minimum total size of object-to-object samples in a run, as a fraction relative to memory_load. The actual value is obtained by multiplying by statistics.memory_load.

5

Minimum data flow fraction that must be consumed by the "major" consumer node in order to trigger group migration to that node. A float value from [ 0, 1 ] range.

6

A coefficient from [ 0, 1 ] that determines how much old samples are obsoleted. Their weight will be multiplied by this coefficient.

7

Swap-out migration group if it has not been touched for object_timeout seconds.

8

Factor used when comparing resource load ranks of two nodes to determine whether one of the nodes is "substantially less loaded than the other node". A float value from [ 0, 1 ] range. The lesser values imply the bigger required differences in node ranks.

9

Factor used when comparing resource load ranks of two nodes to determine whether one of the nodes is "substantially less loaded than the other node". A float value from [ 0, 1 ] range. The lesser values imply the bigger required differences in node ranks.

10

How many objects to migrate in a single resource optimization run. Defined as a fraction relative to the total number of objects registered to the simulation. Must be sufficiently small or the resource optimization will not converge.