LLMPrism: Black-box Performance Diagnosis for Production LLM Training Platforms

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jiang, Zhihan, Ren, Rui, Yu, Guangba, Wu, Yulun, Gu, Wenwei, Li, Yichen, Huang, Yujie, Feng, Cong, Yang, Zengyin, Yang, Yongqiang, Lyu, Michael R.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908344398118912
author Jiang, Zhihan
Ren, Rui
Yu, Guangba
Wu, Yulun
Gu, Wenwei
Li, Yichen
Huang, Yujie
Feng, Cong
Yang, Zengyin
Yang, Yongqiang
Lyu, Michael R.
author_facet Jiang, Zhihan
Ren, Rui
Yu, Guangba
Wu, Yulun
Gu, Wenwei
Li, Yichen
Huang, Yujie
Feng, Cong
Yang, Zengyin
Yang, Yongqiang
Lyu, Michael R.
contents Large Language Models (LLMs) have brought about revolutionary changes in diverse fields, rendering LLM training of utmost importance for modern enterprises. To meet this demand, multi-tenant large-scale LLM training platforms have been built to offer LLM training services. Nevertheless, due to the complexity and synchronous nature of LLM training process, performance issues occur frequently and can result in substantial resource wastage. The limited visibility from the perspective of platform providers impedes existing profiling methods and poses challenges to the monitoring and diagnosis of the performance of LLM training jobs. For the first time, this paper proposes the utilization of underlying network flow data to reconstruct the training timelines of jobs based on the distinct characteristics in the LLM training procedure. We design LLMPrism, the first black-box performance diagnosis system for LLM training platforms. By progressively recognizing LLM training jobs, identifying their parallelism strategies, and reconstructing the training timelines, LLMPrism achieves non-intrusive, lightweight, and continuous monitoring of LLM training systems. Leveraging this monitoring capability, it further effectively diagnoses potential performance issues. Since Oct. 2024, LLMPrism has been deployed on our large-scale production Platform-X, in which the evaluations and deployment experiences demonstrate that LLMPrism can achieve accurate timeline reconstruction with an error within 0.3% and effectively diagnose various performance issues.
format Preprint
id arxiv_https___arxiv_org_abs_2505_00342
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LLMPrism: Black-box Performance Diagnosis for Production LLM Training Platforms
Jiang, Zhihan
Ren, Rui
Yu, Guangba
Wu, Yulun
Gu, Wenwei
Li, Yichen
Huang, Yujie
Feng, Cong
Yang, Zengyin
Yang, Yongqiang
Lyu, Michael R.
Software Engineering
Large Language Models (LLMs) have brought about revolutionary changes in diverse fields, rendering LLM training of utmost importance for modern enterprises. To meet this demand, multi-tenant large-scale LLM training platforms have been built to offer LLM training services. Nevertheless, due to the complexity and synchronous nature of LLM training process, performance issues occur frequently and can result in substantial resource wastage. The limited visibility from the perspective of platform providers impedes existing profiling methods and poses challenges to the monitoring and diagnosis of the performance of LLM training jobs. For the first time, this paper proposes the utilization of underlying network flow data to reconstruct the training timelines of jobs based on the distinct characteristics in the LLM training procedure. We design LLMPrism, the first black-box performance diagnosis system for LLM training platforms. By progressively recognizing LLM training jobs, identifying their parallelism strategies, and reconstructing the training timelines, LLMPrism achieves non-intrusive, lightweight, and continuous monitoring of LLM training systems. Leveraging this monitoring capability, it further effectively diagnoses potential performance issues. Since Oct. 2024, LLMPrism has been deployed on our large-scale production Platform-X, in which the evaluations and deployment experiences demonstrate that LLMPrism can achieve accurate timeline reconstruction with an error within 0.3% and effectively diagnose various performance issues.
title LLMPrism: Black-box Performance Diagnosis for Production LLM Training Platforms
topic Software Engineering
url https://arxiv.org/abs/2505.00342