Manuscript Offprint

arXiv:2611.01067

Ripple: Deadline-Aware CPU-GPU Sharing for Embodied Inference

Jiadong Zhang, Xiaosong Ma

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Unified-memory edge devices increasingly run LLM/VLM inference alongside time-critical CPU tasks for perception and control. GPU memory traffic can overwhelm these tasks, yet platforms such as DGX Spark expose neither bandwidth counters nor direct bandwidth regulation. We present Ripple, a CPU-GPU co-scheduler that combines model-derived GPU memory volumes with CPU completion feedback to regulate interference. Ripple divides inference into pausable, layer-based units and translates each CPU job's deadline slack into a GPU-byte budget, admitting work within the budgets of all overlapping jobs. Online updates track changing interference, while deadline-aware pacing and judicious SM footprint narrowing preserve inference progress. Implemented with SGLang engine hooks and a central scheduler, we evaluate Ripple on DGX Spark with four robotic CPU task mixes and LLM/VLM inference. It is the only evaluated approach that consistently meets the 2% CPU deadline-miss target and VLM deadlines across the tested deadline settings while retaining best-effort LLM throughput.

1 INTRODUCTION

AI models increasingly run on edge devices (Apple, 2020; NVIDIA, 2026i), with privacy protection, low/consistent latency, low cost, and device portability. Many of these devices adopt a unified memory architecture (UMA), where the CPU and GPU share one physical memory on one package, as with Apple's M-series processors and NVIDIA's DGX Spark. UMA is cheaper, smaller, and easier to build and maintain, eliminating host-device memory copies and providing a decent capacity (128GB on DGX Spark) to hold reasonably large models (e.g., 32B at FP16).

With the rapid growth of agentic and embodied AI, edge AI devices are increasingly versatile, often pairing model inference with CPU computation tasks for perception and control, which typically come with timing requirements. Consider a home robot working on clearing a dinner table while interacting with human users on travel planning. Every few 10s of milliseconds its CPU must work out how far away things are and where it can safely move, or the robot may walk into a person who has just stepped into its path; every few seconds a vision-language model (VLM) examines the table again; meanwhile a large language model (LLM) plans the next robot movements, retrieves family travel history/preference and calendar events using retrieval-augmented generation (RAG) (Lewis et al., 2020), and generates responses to the user. A missed obstacle-avoidance cycle can cause an acci-

dent, a late scene update stalls the next action, and a slower answer merely arrives later — all three run on one chip and share its memory bus (Macenski et al., 2020; Driess et al., 2023; Rana et al., 2023; Chang et al., 2025).

Our study finds that memory bandwidth is the contention point, in a lopsided fight, dominated by the less time-critical inference tasks (user response generation in the above scenario). Figure 1 shows this with a workload mix on the GB10 processor of DGX Spark, with 4 routine robotic/agentic CPU tasks — costmap updates, nearest-neighbor queries, stereo matching, and vector retrieval over the robot's memory. The left chart reports the mutual slowdown when this CPU mix co-runs with a GPU-side LLM decode task, with growing CPU thread allocations (CPU-side performance saturating at 12). The more deadline-sensitive CPU tasks suffer much higher loss. The right chart provides a reference by running the same test on an H200 server, with separate HBM. The CPU tasks sees no impact of concurrent LLM inference there, as opposed to 1.7−2.5×1.7-2.5\times on the Spark.

Figure

(a) Rate kept

(b) CPU slowdown

1^{1}MBZUAI.

Figure 1. CPU-GPU interference under LLM decode.

Managing bandwidth on these devices is harder than on a conventional CPU, where we have homogeneous cores and a rich set of hardware counters. On edge AI devices with UMA, bandwidth management faces four major challenges: (1) the platform lacks bandwidth counters and exposes no interface that reports per-requester memory bandwidth, neither that regulates bandwidth consumption; (2) modern transformer-based AI models are bandwidth-intensive even at token granularity: on GB10 one LLM token has a 69-74ms forward pass and one VLM image a 285ms one, longer than the 45 to 70ms deadlines for recurrent CPU robotic tasks; (3) the CPU side is not designed to take most of the unified memory bandwidth, consuming at most 60% of it even with all cores; (4) the power-aware design of edge devices perform aggressive and black-box, temperature-triggered clock-throttling, further complicating performance monitoring and resource regulation.

These constraints rule out most existing (and relatively mature) multi-tenant bandwidth management solutions (Yun et al., 2013; Ali & Yun, 2018; Sohal et al., 2022; Bakita & Anderson, 2023; 2025; Qiao et al., 2026; NVIDIA, 2026f), because the interfaces they rely on are missing. The one scheduler to our knowledge that work without, published recently, is SERENO (Xin et al., 2026), which protects foreground mobile apps from background NPU inference. It targets a phone SoC, where the bandwidth relinquished by the NPU can be almost entirely absorbed by the CPU. Edge UMA devices are not zero-sum in this way. Also, SERENO pairs one foreground app with one background model, where our setting has many concurrent workloads on both sides, each with its own timing requirement.

This work is based on the observation that “what the CPU and GPU cannot do symmetrically, they can do complementarily.” GPU inference is opaque in time and transparent in volume: when a forward pass will finish depends on contention and thermal throttling, but its memory access volume is well known. A real-time CPU task is the exact opposite — transparent in time and opaque in volume: its release time and deadlines are set in stone, whether each deadline is met can be easily known, but access volume remains not observable without detailed source code instrumentation. Together, the two pieces of information give sufficient guidance for our scheduling, compensating for the lack of bandwidth counters (or even surpassing their capability).

To this end, we propose Ripple, a CPU-GPU co-scheduling framework that performs fine-grained GPU inference task admission, to protect CPU-side deadline-sensitive tasks while retaining overall bandwidth utilization and inference speed as allowed by the deadlines. Ripple overcomes the lack of counters by leveraging the semantic knowledge on today's mainstream transformer-based LLM/VLM workflow to decompose the inference forward pass into smaller,

layer-based work units with known memory access volumes, for GPU-side bandwidth regulation. It performs continuous modeling by observing the GPU-side memory traffic on CPU-side deadline-sensitive tasks, leading to a pricing model that releases metered volume budgets to admit GPU work units, dynamically adjusted to current clock throttling levels and CPU-side contentions.

We implement Ripple as a standalone scheduler with engine hooks in SGLang and evaluate it on DGX Spark with four mixes of robotic CPU tasks plus LLM/VLM inference. It is shown to consistently meet CPU deadline-miss targets and VLM deadlines, while retaining substantial best-effort LLM throughput across workload mixes and deadline settings.

Novelty To the best of our knowledge, we are the first to target the bandwidth asymmetry on DGX Spark. Also, Ripple is the first system that makes independent CPU tasks' declared deadlines and miss tolerances explicit constraints for LLM/VLM co-serving on UMA devices. It introduces the first counter-free scheduler that translates CPU deadline slacks into GPU memory-byte budgets, with the first theoretical throughput bound for best-effort inference under these CPU timing constraints.

Scope. This proof-of-concept study targets declared deadline miss tolerances and batch-one, pausable inference.

References (53)