You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Backport PR#13381 to release-7.3, relating to DD admission control - #13402
Straightforward backport. What this PR does is described in this comment. The default pipeline limit is being set to 1000.
// Gates the relocation input stream by the pipeline limit. Cancellations always pass through
// immediately because they reduce tracked metadata rather than adding to it. All other
// relocations, regardless of priority, are held when the pipeline is full, waiting for
// pipelineFull to become false before forwarding.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
A higher level comment I have on 'admission control' is that currently it is a hard-coded knob setting. My worry is that then the admission control behavior will vary by cluster size -- e.g. if DD_MAX_PIPELINE_MOVES is too low, it will impinge on data move throughput, if too high, it will cut in later. Operators will need to twiddle w/ this knob to size it appropriately. Could the max be derived? After startup, get SS count and slots-per-SS and whatever else is an input and use these number to set a maximum?
Another item that is perhaps worth noting particular to this change is that behavior changes some when admission control is in place; high priority moves may get queued behind lower priority moves (hopefully for a short time). It might be worth noting here in the PR or even in the commit message?
I filed a bug relating to calculating max moves dynamically.
LGTM
A higher level comment I have on 'admission control' is that currently it is a hard-coded knob setting. My worry is that then the admission control behavior will vary by cluster size -- e.g. if DD_MAX_PIPELINE_MOVES is too low, it will impinge on data move throughput, if too high, it will cut in later. Operators will need to twiddle w/ this knob to size it appropriately. Could the max be derived? After startup, get SS count and slots-per-SS and whatever else is an input and use these number to set a maximum?
Another item that is perhaps worth noting particular to this change is that behavior changes some when admission control is in place; high priority moves may get queued behind lower priority moves (hopefully for a short time). It might be worth noting here in the PR or even in the commit message?
There's a comment in the code which I will add to the PR description
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Straightforward backport. What this PR does is described in this comment. The default pipeline limit is being set to 1000.