Design a Topology-Aware Job Scheduler for an Instinct GPU Cluster

Last updated: November 29, 2026

Quick Overview

Design a scheduler for a shared cluster of 8-GPU MI300X-class nodes that places training and fine-tuning jobs so GPUs that talk heavily share fast links, supports priorities and preemption, and keeps utilization high.

AMD
System Design
Software Engineer
AMD
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design a scheduler for a shared cluster of 8-GPU MI300X-class nodes that places training and fine-tuning jobs so GPUs that talk heavily share fast links, supports priorities and preemption, and keeps utilization high.

A system design round in the style of AMD's data center GPU software and cloud enablement teams, who help hyperscalers and labs run large ROCm clusters where Infinity Fabric inside a node is far faster than the network between nodes. The interviewer checks placement that respects topology, fairness and preemption, and graceful handling of hardware failures.

What the Interviewer Expects
  • Separate the control plane (queue, placement, quota) from node agents
  • Model topology: GPUs in a node over Infinity Fabric, nodes per rack and network rail
  • Use gang scheduling so a distributed job starts all-or-nothing
  • Explain priority classes, quotas and checkpoint-based preemption
  • Handle GPU and node failures with health checks and requeue
  • Discuss fragmentation and bin packing trade-offs
Key Topics to Cover
cluster scheduling
gang scheduling
topology awareness
preemption
fault tolerance
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you stop a stream of 1-GPU jobs from fragmenting nodes so a 64-GPU job never fits?
  • How would you schedule around a node with one degraded GPU?
  • How would you expose fair share across teams with different budgets?
  • How would you integrate with Kubernetes or Slurm instead of building from scratch?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: submit jobs with GPU count, priority, team and max runtime; gang-start distributed jobs; preempt lower priority work; show queue position. Non-functional: thousands of GPUs, placement deci...

High-Level Design

Components: an API service that writes jobs to a durable store (etcd or Postgres); a scheduler loop that reads pending jobs and cluster state and produces placements; node agents that report GPU healt...


Submit Your Answer
Markdown supported

Related Questions