2025/12/14 by Yusheng Zheng, Tong Yu, Zheng, Yusheng +19 · 1 voice · 1 citation
Computer Science · #Advanced Data Storage Technologies #FOS: Computer and information sciences #Operating Systems (cs.OS) #Parallel Computing and Optimization Techniques #Security and Verification in Computing #cs.OS
paper · pdf · doi:10.48550/arxiv.2512.12615
openalex publication_date 2025/12/14 · arxiv published 2025/12/14 · openalex created_date 2025/12/17 · arxiv updated 2025/12/20 · openalex updated_date 2026/07/28
Performance in modern GPU-centric systems increasingly depends on resource management policies, including memory placement, scheduling, and observability. However, uniform policies typically yield suboptimal performance across diverse workloads. Existing approaches present a tradeoff: user-space runtimes provide programmability and flexibility but lack cross-tenant visibility and fine-grained control of hardware resources; meanwhile, modifications to the OS kernel introduce significant complexity and safety risks. To address this, we argue that the GPU driver and device layer should provide an extensible OS interface for policy enforcement. While the emerging eBPF technology shows potential, directly applying existing host-side eBPF is insufficient because they lack visibility and control into critical device-side events, and directly embedding policy code into GPU kernels could compromise safety and efficiency. We propose gpuext, an eBPF-based runtime that treats the GPU driver and device as a programmable OS subsystem. gpuext extends GPU drivers by exposing safe programmable hooks and introduces a device-side eBPF runtime capable of executing verified policy logic within GPU kernels, enabling coherent and transparent policies. Evaluation across realistic workloads including inference, training, and vector search demonstrates that gpuext improves throughput by up to 4.8x and reduces tail latency by up to 2x, incurring low overhead, without modifying or restarting applications