Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snf-ganeti
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
snf-ganeti
Commits
5f715404
Commit
5f715404
authored
14 years ago
by
Iustin Pop
Browse files
Options
Downloads
Patches
Plain Diff
Document the gain options in hbal's manpage
parent
848b65c9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hbal.1
+17
-0
17 additions, 0 deletions
hbal.1
with
17 additions
and
0 deletions
hbal.1
+
17
−
0
View file @
5f715404
...
...
@@ -25,6 +25,7 @@ Algorithm options:
.BI "[ --min-disk " disk-ratio " ]"
.BI "[ -l " limit " ]"
.BI "[ -e " score " ]"
.BI "[ -g " delta " ] [ --min-gain-limit " threshold " ]"
.BI "[ -O " name... " ]"
.B "[ --no-disk-moves ]"
.BI "[ -U " util-file " ]"
...
...
@@ -396,6 +397,22 @@ The default value of the parameter is currently \fI1e-9\fR (chosen
empirically).
.RE
.TP
.BI "-g" delta ", --min-gain=" delta
Since the balancing algorithm can sometimes result in just very tiny
improvements, that bring less gain that they cost in relocation time,
this parameter (defaulting to 0.01) represents the minimum gain we
require during a step, to continue balancing.
.TP
.BI "--min-gain-limit=" threshold
The above min-gain option will only take effect if the cluster score
is already below \fIthreshold\fR (defaults to 0.1). The rationale
behind this setting is that at high cluster scores (badly balanced
clusters), we don't want to abort the rebalance too quickly, as later
gains might still be significant. However, under the threshold, the
total gain is only the threshold value, so we can exit early.
.TP
.BI "--no-disk-moves"
This parameter prevents hbal from using disk move (i.e. "gnt\-instance
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment