Add scontrol_topology GCM monitor for periodic Slurm topology collection#167
Open
mitthu wants to merge 1 commit into
Open
Add scontrol_topology GCM monitor for periodic Slurm topology collection#167mitthu wants to merge 1 commit into
scontrol_topology GCM monitor for periodic Slurm topology collection#167mitthu wants to merge 1 commit into
Conversation
…ction Summary: Adds a new GCM monitor that runs `scontrol show topo` every 60 seconds and publishes the results as logs for the `fair_slurm_topology` Scuba table. This supports two use cases from T275974051: SLA compliance monitoring for partial racks and topology-aware job debugging for GB300. The monitor handles both block topology format (`BlockName`/`BlockIndex`/`BlockSize`, used on CW clusters) and switch/tree topology format (`SwitchName`/`Level`/`LinkSpeed`/`Switches`). Node lists in Slurm hostlist notation (e.g., `g3-129-[057,059,063]`) are expanded into individual node names using the existing `nodelist()` parser, with a 10000-entry truncation safety limit. Differential Revision: D110108419
|
@mitthu has exported this pull request. If you are a Meta employee, you can view the originating Diff in D110108419. |
CI CommandsThe following CI workflows run automatically on every push and pull request:
The following commands can be used by maintainers to trigger additional tests that require access to secrets:
|
luccabb
approved these changes
Jun 29, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary:
Adds a new GCM monitor that runs
scontrol show topoevery 60 seconds and publishes the results as logs for thefair_slurm_topologyScuba table. This supports two use cases from T275974051: SLA compliance monitoring for partial racks and topology-aware job debugging for GB300.The monitor handles both block topology format (
BlockName/BlockIndex/BlockSize, used on CW clusters) and switch/tree topology format (SwitchName/Level/LinkSpeed/Switches). Node lists in Slurm hostlist notation (e.g.,g3-129-[057,059,063]) are expanded into individual node names using the existingnodelist()parser, with a 10000-entry truncation safety limit.Differential Revision: D110108419