When a Neighbour's Reset Becomes Your Deadline Miss: Fault Containment in Spatially Partitioned GPUs

The slice that missed its deadline was never at fault. Its kernels were well behaved, its memory partition was clean, and its scheduler budget was honoured right up to the moment a different tenant's engine reset stalled the shared copy path and froze a fence that the healthy slice was waiting on. Spatial partitioning had isolated compute. It had not isolated recovery, and recovery is what really decides whether a fault stays local.

Trigger versus assumption

The trigger in this class of incident is mundane: an uncorrectable memory error or an illegal page access inside one execution slice forces the driver to recover that slice's channel. Postmortems that stop at the trigger end up blaming the faulting workload, the tenant who submitted it, or whoever approved its placement, and none of that stops a repeat. The underlying assumption sits deeper and was reasonable when it was made. The hypervisor carved the GPU into slices by streaming multiprocessors and framebuffer ranges, and the design quietly treated those boundaries as fault containment boundaries too. They are resource allocation boundaries. The two coincide only when every hardware path that takes part in error handling is also partitioned, and on most datacenter parts the reset domain, some copy engines and the semaphore pages backing cross-slice fences are still shared.

How zero-copy turns a local fault into a shared stall

Zero-copy framebuffer sharing works because producer and consumer slices map the same physical pages and synchronise with a fence instead of a copy. That is exactly why a fault spreads. When the producer's channel is torn down, its pending fence never signals, the consumer's scheduler keeps the waiting context resident, and the microsecond context switching that the whole design depends on now spends its time switching into a context that cannot make progress. The deterministic slice keeps its compute time on paper while doing no useful work. If recovery escalates to a full device reset, which as an estimate costs somewhere between tens and hundreds of milliseconds depending on firmware and memory size, every slice on the device loses state at once, and deadline guarantees measured in microseconds have nothing left to protect.

What actually kept the surviving slices alive in the cases that went well was not the partitioning but three unglamorous mechanisms: per-slice engine reset where the silicon allowed it, fence waits bounded by a timeout tied to the consumer's own frame period, and a last-good-buffer policy that let the consumer present stale but valid data instead of blocking.

A decision rule for containment regions

The practical fix is to stop reasoning about slices and start reasoning about fault containment regions. The rule we now apply is simple: if two slices share any hardware path that participates in recovery, whether a reset domain, a copy engine or a fence page, treat them as one containment region and give them the same criticality, or move one of them to a different device. Within a region, the context switch path needs a hard worst-case budget, and in our deployments that ceiling is 50 µs for save and restore of a preempted slice; any recovery action that cannot finish inside it gets deferred to a watchdog running outside the real-time path rather than executed inline. This lines up with how functional safety standards such as IEC 61508 and ISO 26262 handle freedom from interference, which asks you to show that a fault cannot spread through shared resources, not just that resources were divided. The trade-off that remains is density: honest containment regions usually mean fewer co-tenants per GPU, which as an estimate costs about a quarter of the theoretical slice count on current hardware, and the next decision is whether that capacity is cheaper than the next unexplained deadline miss.

Does hardware-level partitioning such as MIG-style instances remove the need for this analysis?

It narrows the shared surface but does not remove it, so you still have to list which engines, reset paths and synchronisation pages remain common across instances on your specific part, and apply the containment rule to whatever is left.

Back to Real-Time Spatial Hypervisor: GPU Virtualization & Microsecond Context Switching · Domains

← Back to Real-Time Spatial Hypervisor: GPU Virtualization & Microsecond Context Switching
Engineering & Architecture Brief

When a Neighbour's Reset Becomes Your Deadline Miss: Fault Containment in Spatially Partitioned GPUs

The slice that missed its deadline was never at fault. Its kernels were well behaved, its memory partition was clean, and its scheduler budget was honoured right up to the moment a different tenant's engine reset stalled the shared copy path and froze a fence that the healthy slice was waiting on. Spatial partitioning had isolated compute. It had not isolated recovery, and recovery is what really decides whether a fault stays local.

Trigger versus assumption

The trigger in this class of incident is mundane: an uncorrectable memory error or an illegal page access inside one execution slice forces the driver to recover that slice's channel. Postmortems that stop at the trigger end up blaming the faulting workload, the tenant who submitted it, or whoever approved its placement, and none of that stops a repeat. The underlying assumption sits deeper and was reasonable when it was made. The hypervisor carved the GPU into slices by streaming multiprocessors and framebuffer ranges, and the design quietly treated those boundaries as fault containment boundaries too. They are resource allocation boundaries. The two coincide only when every hardware path that takes part in error handling is also partitioned, and on most datacenter parts the reset domain, some copy engines and the semaphore pages backing cross-slice fences are still shared.

How zero-copy turns a local fault into a shared stall

Zero-copy framebuffer sharing works because producer and consumer slices map the same physical pages and synchronise with a fence instead of a copy. That is exactly why a fault spreads. When the producer's channel is torn down, its pending fence never signals, the consumer's scheduler keeps the waiting context resident, and the microsecond context switching that the whole design depends on now spends its time switching into a context that cannot make progress. The deterministic slice keeps its compute time on paper while doing no useful work. If recovery escalates to a full device reset, which as an estimate costs somewhere between tens and hundreds of milliseconds depending on firmware and memory size, every slice on the device loses state at once, and deadline guarantees measured in microseconds have nothing left to protect.

What actually kept the surviving slices alive in the cases that went well was not the partitioning but three unglamorous mechanisms: per-slice engine reset where the silicon allowed it, fence waits bounded by a timeout tied to the consumer's own frame period, and a last-good-buffer policy that let the consumer present stale but valid data instead of blocking.

A decision rule for containment regions

The practical fix is to stop reasoning about slices and start reasoning about fault containment regions. The rule we now apply is simple: if two slices share any hardware path that participates in recovery, whether a reset domain, a copy engine or a fence page, treat them as one containment region and give them the same criticality, or move one of them to a different device. Within a region, the context switch path needs a hard worst-case budget, and in our deployments that ceiling is 50 µs for save and restore of a preempted slice; any recovery action that cannot finish inside it gets deferred to a watchdog running outside the real-time path rather than executed inline. This lines up with how functional safety standards such as IEC 61508 and ISO 26262 handle freedom from interference, which asks you to show that a fault cannot spread through shared resources, not just that resources were divided. The trade-off that remains is density: honest containment regions usually mean fewer co-tenants per GPU, which as an estimate costs about a quarter of the theoretical slice count on current hardware, and the next decision is whether that capacity is cheaper than the next unexplained deadline miss.

Technical FAQ: Does hardware-level partitioning such as MIG-style instances remove the need for this analysis?

It narrows the shared surface but does not remove it, so you still have to list which engines, reset paths and synchronisation pages remain common across instances on your specific part, and apply the containment rule to whatever is left.

Related Architecture Specifications (SPATIAL): 3dtraffic.com · splatbio.com · omnimodalhub.com

More Technical Articles on spatialhypervisor.com

Eliminating Jitter in Multi-User Cloud XR Virtualization Stacks →Memory Protection and Secure Enclaves for Confidential Spatial Workloads →When Zero-Copy Framebuffer Sharing Breaks Spatial GPU Isolation →