arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.16501cs.PF
收藏

机密计算 GPU 的性能

Performance of Confidential Computing GPUs

Antonio Martínez Ibarra, Julian James Stephen, Aurora González Vidal, K. R. Jayaram, Antonio Fernando Skarmeta Gómez

AI总结:

本研究通过对比机密与非机密 GPU 环境下的推理性能,发现机密模式因加密开销导致延迟、吞吐量及 SLA 达成率均显著低于非机密模式,但提供了数据保护能力。

摘要:

本研究考察了在机密 GPU 上执行推理时的延迟、吞吐量及其他指标。我们利用配备单个 NVIDIA H100 GPU 的虚拟机,探索了不同的流量模式和调度策略,在将模型换入和换出内存的约束下,对多个大型语言模型(LLMs)执行宽松的批量推理,这需要高效的控制。实验通过改变流量负载、流量分布模式、调度策略和服务水平协议(SLA)要求等参数,模拟了多样化的真实世界场景。研究结果为在需要主动模型切换的场景中执行推理时,机密与非机密环境之间的差异提供了见解。结果表明,在 No-CC 模式下,具有模型切换延迟的宽松批量推理比机密模式低 20-30%。此外,No-CC 环境中的 SLA 达成率高出 15-20%。No-CC 场景中的吞吐量比机密模式高出 45-70%,且 No-CC 环境中的 GPU 利用率大约高出 50%。总体而言,机密环境中的性能不如 No-CC 场景,主要原因是机密环境中将模型加载到 GPU 上需要额外的加密和解密开销。

英文摘要:

This work examines latency, throughput, and other metrics when performing inference on confidential GPUs. We explore different traffic patterns and scheduling strategies using a single Virtual Machine with one NVIDIA H100 GPU, to perform relaxed batch inferences on multiple Large Language Models (LLMs), operating under the constraint of swapping models in and out of memory, which necessitates efficient control. The experiments simulate diverse real-world scenarios by varying parameters such as traffic load, traffic distribution patterns, scheduling strategies, and Service Level Agreement (SLA) requirements. The findings provide insights into the differences between confidential and non-confidential settings when performing inference in scenarios requiring active model swapping. Results indicate that in No-CC mode, relaxed batch inference with model swapping latency is 20-30% lower than in confidential mode. Additionally, SLA attainment is 15-20% higher in No-CC settings. Throughput in No-CC scenarios surpasses that of confidential mode by 45-70%, and GPU utilization is approximately 50% higher in No-CC environments. Overall, performance in the confidential setting is inferior to that in the No-CC scenario, primarily due to the additional encryption and decryption overhead required for loading models onto the GPU in confidential environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑