Skip to content
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

FEAT: reuse or pin nodes when moving nodes between HSM groups as a result of a upscaling or downscaling operation #78

Open
Masber opened this issue Jun 12, 2024 · 0 comments

Comments

@Masber
Copy link
Collaborator

Masber commented Jun 12, 2024

Upscaling or downscaling a HSM group from a hardware description involves moving nodes between the target and the parent HSM groups.

Current implementation combines target and parent HSM groups and then best candidate is moved back to target based on best score. This does not take into consideration if best candidate was already part of target meaning the new target hsm group won't reuse the nodes originally in target group if they have the best score and instead another node from parent hsm group chosen. This implementation is good to clean or reduce fragmentation but not desired on production clusters running WLM with long jobs because the number of nodes being changed may be too big and dramatically increase the amount of time to finish the operation since nodes needs to be moved one at a time.

This ticket tries to address this by adding a new argument to apply hw cluster command by adding the --pin argument. The goal is to pin nodes in target hsm group and reuse them if their score is the maximum available. In other words, when looking for best candidate to move to target HSM group, consider nodes already in target hsm group and priotise them if can be used as best candidate.

@Masber Masber changed the title FEAT: reuse nodes when moving nodes between HSM groups as a result of a upscaling or downscaling operation FEAT: reuse or pin nodes when moving nodes between HSM groups as a result of a upscaling or downscaling operation Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant