← Back to Pull requests

Add --dedicated-coordinator option to presto-nvl72 launchers #441

Closed
unknown closed this pull request without merging on Nov 14, 2026 00:15 UTC
View on GitHub
unknown unknown commented on Nov 12, 2026 16:26 UTC
Author

Summary

Adds an opt-in --dedicated-coordinator flag to presto/slurm/presto-nvl72/launch-run.sh. With the flag, the Presto coordinator runs on one extra node that hosts no workers, instead of sharing a node with the first worker.

On a shared node the coordinator competes with the GPU workers for host memory and CPU. Giving it its own node removes that contention from benchmark runs. This usually won't be necessary, but it can affect some higher scale factors if the coordinator and worker end up competing for resources. Usually only an issue is we are using the async data cache.

This will be the default behaviour for our nightly benchmarks.

Behavior

  • -n counts worker nodes only. With the flag the job allocates <nodes> + 1 nodes. The first allocated host runs the coordinator and every remaining host runs workers.

  • Without the flag, the allocation and node assignment are unchanged.
  • Changes

  • launch-run.sh: new --dedicated-coordinator option; allocates NODES_COUNT + 1 nodes when set and passes DEDICATED_COORDINATOR to the job.

  • slurm_common.sh: derives COORD, NUM_NODES (always the number of worker hosts), WORKER_NODE_NAMES and NUM_WORKERS from the allocation. Validates that DEDICATED_COORDINATOR is 0 or 1, that Slurm's reported node count matches the expanded node list, and that dedicated mode has at least two nodes. The job header now prints the dedicated-coordinator state and the worker nodes.

  • functions.sh: start_cluster launches workers over WORKER_NODE_NAMES instead of the whole allocation.

  • launch-analyze-tables.sh: pins DEDICATED_COORDINATOR=0 so an inherited value cannot change ANALYZE jobs.

  • run-presto-benchmarks.slurm: comment update only.

  • README.md: adds a usage example.
  • Testing

  • bash -n on the changed scripts.

  • Ran launch-run.sh --dedicated-coordinator on the nvl72 GB200 cluster with -n 1 (2-node allocation) and -n 2 (3-node allocation). The coordinator started on the first node, workers started only on the remaining nodes, all workers registered, and benchmark queries ran.
  • Diff: 265 lines (+198 / -67) across 3 files Reviewer: shrshi Review duration: 1909m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 265 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.334
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #441"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.3% (MEDIUM) · Higher = larger blast radius
    39.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.5% · Safe to merge
    15.5%