-
Notifications
You must be signed in to change notification settings - Fork 81
add shuffle action. #403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bearslyricattack
wants to merge
1
commit into
volcano-sh:master
Choose a base branch
from
bearslyricattack:action
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
add shuffle action. #403
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -78,4 +78,16 @@ Reclaim action is a **cross-queue** resource reclamation step in the scheduling | |||||||||||
| > Note: | ||||||||||||
| > | ||||||||||||
| > 1. Reclaim checks multiple conditions during execution: whether the target Queue is reclaimable, whether the task can be reclaimed (Preemptable), whether the job's running requirements can be met after resource reclamation, etc., to ensure the rationality of resource reclamation. | ||||||||||||
| > 2. To make jobs in a Queue reclaimable by other Queues, the reclaimable field in the Queue's spec must be set to true. | ||||||||||||
| > 2. To make jobs in a Queue reclaimable by other Queues, the reclaimable field in the Queue's spec must be set to true. | ||||||||||||
|
|
||||||||||||
| ### Shuffle | ||||||||||||
|
|
||||||||||||
| #### Introduction | ||||||||||||
|
|
||||||||||||
| Shuffle action is a task redistribution mechanism in the Volcano scheduler, designed to optimize the distribution of running tasks in the cluster. By selectively evicting certain running tasks, it allows these tasks to re-enter the scheduling queue for reallocation, breaking existing resource allocation patterns and optimizing overall cluster performance. | ||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This paragraph is dense and contains a long sentence. Rewriting it with shorter, more direct sentences would improve clarity and readability.
Suggested change
|
||||||||||||
|
|
||||||||||||
| #### Scenarios | ||||||||||||
|
|
||||||||||||
| - **Resource Fragment Consolidation**: When cluster resources become fragmented, Shuffle can reorganize tasks through rescheduling, consolidating scattered resource fragments to create conditions for jobs requiring large contiguous resources. | ||||||||||||
| - **Load Balancing Optimization**: In situations with unbalanced node workloads, Shuffle can redistribute tasks to balance resource utilization across nodes, preventing scenarios where some nodes are overloaded while others remain idle. | ||||||||||||
| - **Scheduling Optimization Breakthrough**: For long-running clusters, initial scheduling decisions may become suboptimal over time. Shuffle periodically reassesses and adjusts task distribution, breaking scheduling deadlocks and finding more efficient resource allocation solutions. | ||||||||||||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The heading 'Introduction' should be changed to 'Overview' for consistency with other actions in this file. All other actions (Enqueue, Allocate, Backfill, Preempt, Reclaim) use '#### Overview' for their first subheading.