Configuring Throttling

Explains how to throttle the number of container moves.

Although balancing storage pool disk space use is important, it requires network, computation, and disk bandwidth that must be shared with other functions. Hence, the number of container moves at any point of time is throttled.

The throttling factor controls the number of active container moves. If there are 100 nodes, and the throttling factor is 10, there can be 10 active moves. If however, the value is 12 (%), there can be 12 active moves.
NOTE
If you set the throttling factor to 0, the number of active moves is 1.
Therefore, effectively, the number of active moves is:
Max(1, throttling_factor x number_of_cluster_nodes)

By default, the maximum number of container moves is 10% of the number of nodes in the cluster. However, you can configure the throttling factor (percentage) by setting the parameter cldb.balancer.disk.max.switches.in.nodes.percentage using the maprcli command.

For example, to set the throttling factor to 12% of the number of nodes in the cluster, run the following command:

maprcli config save -values {"cldb.balancer.disk.max.switches.in.nodes.percentage":"12"}