AI Skills Wiki 中文

GPU Systems: Resource Isolation and Infrastructure Operations

AI Skills Wiki › AI Engineering · Last updated: 2026-10-27

Definition

GPU systems engineering makes accelerator hardware available as reliable, schedulable compute. It connects GPU devices, host drivers, container access, resource allocation, and workload isolation. Unlike CUDA programming, its primary output is a working compute environment rather than a kernel; unlike distributed training, it supports many workload types. This entry focuses on NVIDIA GPU infrastructure as a practical example, while device allocation and isolation principles transfer across vendors.

Why it matters for AI jobs

AI infrastructure and platform roles need engineers who can explain why a workload cannot see a GPU, why capacity remains unschedulable, or why sharing causes interference. These problems cross application and infrastructure boundaries. A portfolio showing a reproducible GPU deployment, verified allocation behavior, and an isolation decision is stronger evidence than merely listing a GPU model. This skill complements kernel optimization and model serving rather than replacing either discipline.

Key concepts

  • Device access chain: hardware visibility, a compatible host driver, container integration, and the scheduler must all work; a successful host test does not prove container access.
  • Device plugins: Kubernetes exposes vendor GPU resources such as nvidia.com/gpu; install the vendor driver and device plugin before requesting them.
  • GPU resource semantics: with the documented device-plugin flow, specify GPU limits; if requests are also specified, requests and limits must be equal. Requests alone are not supported.
  • Multi-Instance GPU (MIG): supported devices can provide predefined instances with hardware-level memory and fault isolation. Supported profiles and configuration requirements depend on the device.
  • Time-slicing: replicas share the underlying GPU without MIG-style memory or fault isolation. More requested replicas do not guarantee proportionally more compute.
  • Reconfiguration lifecycle: GPU Operator MIG Manager reacts to node configuration labels, stops GPU clients as required, and applies the new geometry; some scenarios require a reboot. Treat this as disruptive maintenance, not a live resize promise.
  • Operational evidence: record driver and runtime versions, workload memory needs, resource availability, throughput, and failures. Separate a scheduling failure from an application out-of-memory failure.

Learning path

  1. Start with a disposable Linux GPU machine and run nvidia-smi; then run a small CUDA sample inside a GPU-enabled container. Record hardware, driver, runtime, and results; shut down rented capacity after testing.
  2. Create a small Kubernetes test environment with a GPU node, vendor drivers, and the device plugin. Submit a sample Pod with a GPU limit and verify that it actually executes on the device; inspect allocation and Pod events.
  3. Request more GPU resources than are available in the isolated test cluster. Observe the Pending Pod and scheduler events, then remove the test. Explain why adding CPU or memory cannot resolve a GPU resource shortage.
  4. On supported test hardware, configure a MIG profile and verify the exposed resources. On separate test runs, evaluate time-slicing with concurrent workloads. Compare completion time and memory interference; do not claim the two modes provide equivalent isolation.
  5. Write a short operations runbook covering driver/container mismatch, unavailable GPU resources, workload memory exhaustion, and disruptive MIG changes. Publish manifests, measured results, hardware constraints, and cleanup steps as a portfolio artifact.

Resources