ARK: 분리형 LLM 추론에서 KV 캐시 전송을 위한 라우팅 충돌 회피
ARK: Avoiding Routing Collisions for KV Cache Transfer in Disaggregated LLM Inference
한국어 초록
분리형 LLM 추론은 프리필과 디코드 단계를 GPU 풀에 나누어 배치하므로 대규모 KV 캐시 전송이 발생한다. 이러한 전송은 수백 밀리초에서 수 초 동안 지속되므로 링크 대역폭 사용률을 지배하는 거대 엘리펀트 플로우처럼 동작한다. 이러한 환경에서는 상태를 갖지 않는 ECMP의 성능이 저하될 수 있다. 해시 충돌로 인해 한 스파인 링크는 과부하가 걸리고 다른 링크는 유휴 상태로 남아 전송 시간이 수 초 늘어날 수 있다. 그러나 이러한 지속성 덕분에 조율이 현실적으로 가능해진다. 이 플로우들은 오래 지속되므로, 가벼운 일대다 조율이라도 플로우의 수명에 걸쳐 분산하여 감당할 수 있다. 본 논문에서는 분산형 엘리펀트 플로우 경로 예약 메커니즘인 ARK를 제시한다. ARK는 스위치 변경이나 수신 측 패킷 재정렬 없이, 동시에 발생하는 플로우를 서로 다른 스파인으로 해시 매핑하는 소스 포트를 송신자들이 선택하도록 조율한다. 패킷 수준 RDMA 시뮬레이션 결과, ARK는 중간 수준의 부하에서 평균 FCT와 P95 FCT를 각각 최대 27.3%와 34.0% 줄이고, 평균 TTFT를 최대 12.9% 추가로 줄인다.
원문 초록
Disaggregated LLM inference separates the prefill and decode phases across GPU pools, generating massive KV-cache transfers. Because these transfers last hundreds of milliseconds to seconds, they behave as mega elephant flows that dominate link bandwidth utilization. In this regime, stateless ECMP can perform poorly: hash collisions may overload one spine link while leaving others idle, stretching transfer times by seconds. Yet this same persistence makes coordination practical. Since these flows are long-lived, even lightweight one-to-all coordination can be amortized over their lifetime. We present ARK, a distributed elephant-flow path reservation mechanism. ARK coordinates senders to choose source ports whose hashes map concurrent flows onto distinct spines, without requiring switch changes or receiver-side packet reordering. Packet-level RDMA simulations show that ARK reduces mean and P95 FCT by up to 27.3% and 34.0% under moderate load, and further reduces mean TTFT by up to 12.9%.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2610.41160v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.