高效GPU空间共享中的性能隔离与语义确定性
Determinism-Preserving GPU Spatial Sharing with Vitamin-E
AI总结:
本文提出CoGPU系统,通过引入GPU协程实现逻辑到物理资源的解耦,解决GPU空间共享中的资源利用率、性能隔离与语义确定性三重矛盾,提升多租户环境下的训练吞吐量和推理延迟。
摘要:
现有GPU空间共享系统面临资源利用率、性能隔离和语义确定性之间的三重权衡。硬件分区导致硬件利用率低下,硬件复用无法避免性能干扰。最近提出的软件级GPU内核切片改变了浮点数约简顺序,破坏语义确定性并导致生成模型中的灾难性令牌漂移。本文提出CoGPU,一种透明的空间共享系统,解决此三重困境。CoGPU引入GPU协程这一新型抽象,通过轻量级协作迁移将不可变虚拟上下文动态映射到可变物理资源,实现可扩展、工作负载感知的调度,而无需改变内核语义。评估表明,CoGPU同时实现了高利用率、强隔离性和绝对语义确定性(保证零令牌不匹配)。在多租户共置中,其训练吞吐量比时间共享提升高达79.2%,推理P99尾延迟降低15.1%。其可插拔架构支持自定义策略;与默认策略相比,TPOT-FIRST策略在动态流量下进一步减少SLO违规情况21.2%。
英文摘要:
GPU sharing faces a determinism--utilization tradeoff: fixed bindings can strand capacity as demand fluctuates, while resource-driven kernel reshaping improves utilization by altering a launch's parallel structure, potentially changing output bits. We rethink modern GPU scheduling and observe that it decouples logical structure from physical width: one unmodified launch spans a family of widths through changes in block placement and wave count. From this observation, we derive the parallel-structure invariant: for fixed-structure deterministic workloads, keeping each launch immutable makes its output bits independent of physical width. Guided by this invariant, Vitamin-E late-binds immutable launches to pooled physical contexts, preserving bitwise equality across allocations, whereas resource-driven reshaping can alter the selected token under temperature-zero greedy decoding. Across all workload--baseline comparisons, Vitamin-E achieves up to 3.50$\times$ the aggregate normalized LLM training throughput, 62.5\% lower inference p99 latency, and 1.43$\times$ the background-training throughput. With the same mechanism, \textsc{TPOT-First} reduces TPOT SLO violations by up to 46.1\% over \textsc{Throughput-Oriented} on three serving workloads, demonstrating mechanism effectiveness and policy flexibility.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。