공유 AI 클러스터의 혼잡 완화를 위한 집합 통신 패턴 튜닝
Tuning Collective Patterns to Alleviate Congestion in Shared AI Clusters
한국어 초록
분산 AI 학습(training)은 여러 GPU 노드(node) 쌍 간의 반복적인 데이터 교환 라운드를 수반합니다. 혼잡(congestion)으로 인해 단 하나의 흐름(flow)만 지연되더라도 전체 통신 라운드가 느려질 수 있습니다. AI 클러스터에서 혼잡을 회피하기 위한 기존 접근 방식들은 전체 워크로드에 대한 글로벌 제어(예: 모든 작업의 스케줄 조정)를 가정하거나 인프라 지원(예: 스위치의 적응형 라우팅)을 가정합니다. 따라서 한 사용자의 AI 작업이 자신이 제어할 수 없는 다른 사용자의 작업이나 백그라운드 트래픽으로 인한 외부 혼잡에 직면할 수 있는 공유 클라우드 환경에는 적합하지 않습니다. 본 논문에서는 혼잡에 대응하여 GPU 노드 간의 반복적인 데이터 교환 패턴(집합 통신(collective)으로 알려짐)을 튜닝하는 시스템인 REACT를 구축합니다. REACT는 애플리케이션(통신 라이브러리) 층(layer)에서 동작하며, 즉시 사용 가능한 플로우 통계를 활용해 런타임에 혼잡을 감지하고, 집합 통신 패턴을 튜닝하여 혼잡을 완화합니다. 즉, 정보 교환의 의미(semantics)를 유지하면서 인시던트 플로우 집합을 변경합니다(예: AllReduce 트리에서 어떤 노드가 데이터를 집계할지 선택). REACT는 기본 네트워크 인프라의 명시적 지원을 요구하지 않으며, 공유 클라우드 환경에서 개별 사용자가 단독으로 배포할 수 있습니다. 우리는 NCCL 상의 심(shim) 층으로 REACT를 프로토타입화하고 공유 학술용 GPU 클러스터에서 평가(evaluation)했습니다. 네트워크 혼잡 상황에서 REACT를 활성화하면 통신 성능(알고리즘 대역폭)이 13%~38% 향상됩니다. 다양한 혼잡 시나리오에 걸친 시뮬레이션에서는 최대 75%의 성능 향상을 추가로 확인하여 우리 접근 방식의 효과를 입증합니다.
원문 초록
Distributed AI training involves recurring rounds of data exchange between multiple pairs of GPU nodes. Slowdown in even one flow due to congestion can cause the entire communication round to slowdown. Current approaches for evading congestion in AI clusters assume global control over the entire workload (e.g. coordinating the schedule of all jobs) or assume infrastructural support (e.g. adaptive routing in switches). They are thus ill-suited in a shared cloud setting where AI jobs belonging to one user can face external congestion from other users' jobs or background traffic beyond its own control. In this paper, we build a system, REACT, that tunes the recurring pattern of data exchange between GPU nodes (known as communication collectives) in response to congestion. REACT works at the application (communication library) layer, where it detects congestion at runtime using readily available flow stats, and tunes the collective pattern to alleviate congestion - changing the set of incident flows while retaining the semantics of information exchange (e.g. selecting which node aggregates data in an AllReduce tree). REACT requires no explicit support from the underlying network infrastructure and can be unilaterally deployed by individual users in a shared cloud setting. We prototype REACT as a shim layer over NCCL, and evaluate it on a shared academic GPU cluster - enabling REACT improves communication performance (algorithm bandwidth) by 13%-38% under network congestion. Our simulations across a range of congestion scenarios further reveal up to 75% performance improvement, highlighting the effectiveness of our approach.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2609.04417v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.