Revision 5f715404
b/hbal.1 | ||
---|---|---|
25 | 25 |
.BI "[ --min-disk " disk-ratio " ]" |
26 | 26 |
.BI "[ -l " limit " ]" |
27 | 27 |
.BI "[ -e " score " ]" |
28 |
.BI "[ -g " delta " ] [ --min-gain-limit " threshold " ]" |
|
28 | 29 |
.BI "[ -O " name... " ]" |
29 | 30 |
.B "[ --no-disk-moves ]" |
30 | 31 |
.BI "[ -U " util-file " ]" |
... | ... | |
397 | 398 |
.RE |
398 | 399 |
|
399 | 400 |
.TP |
401 |
.BI "-g" delta ", --min-gain=" delta |
|
402 |
Since the balancing algorithm can sometimes result in just very tiny |
|
403 |
improvements, that bring less gain that they cost in relocation time, |
|
404 |
this parameter (defaulting to 0.01) represents the minimum gain we |
|
405 |
require during a step, to continue balancing. |
|
406 |
|
|
407 |
.TP |
|
408 |
.BI "--min-gain-limit=" threshold |
|
409 |
The above min-gain option will only take effect if the cluster score |
|
410 |
is already below \fIthreshold\fR (defaults to 0.1). The rationale |
|
411 |
behind this setting is that at high cluster scores (badly balanced |
|
412 |
clusters), we don't want to abort the rebalance too quickly, as later |
|
413 |
gains might still be significant. However, under the threshold, the |
|
414 |
total gain is only the threshold value, so we can exit early. |
|
415 |
|
|
416 |
.TP |
|
400 | 417 |
.BI "--no-disk-moves" |
401 | 418 |
This parameter prevents hbal from using disk move (i.e. "gnt\-instance |
402 | 419 |
replace\-disks") operations. This will result in a much quicker |
Also available in: Unified diff