arXiv:2609.22142v1 cs.DC

학습은 언제 휴리스틱을 능가하는가? 쿠버네티스 스케줄러 점수 측정 플러그인 사례 연구

When Does Learning Beat Heuristics? A Case Study in Kubernetes Scheduler Score Plugins

Wang Xuying, Zhibek Sarypbekova

제출 2026-09-22

한국어 초록

후보 노드의 점수를 매기는 쿠버네티스(Kubernetes) 스케줄러 플러그인은 실제 운영 환경에서 수작업으로 튜닝된 휴리스틱입니다. 본 연구에서는 실제 운영 클러스터 추적(trace) 기록의 배치 결정 데이터를 기반으로 학습(training)된 점수 측정 함수가 이러한 휴리스틱에 필적하거나 이를 능가할 수 있는지, 만약 그렇지 않다면 그 이유는 무엇인지 질문을 던집니다. 널리 사용되는 스케줄러 시뮬레이터를 위해 HTTP 기반의 외부 점수 측정 플러그인을 구현하고, 대규모 운영 클러스터 추적 기록으로 학습된 두 가지 학습 모델(가공된 특징(feature) 기반의 랜덤 포레스트(Random Forest) 및 작업별 태스크 의존성 그래프 기반의 그래프 신경망(neural network) 인코더)을 평가합니다. 표준 회귀 적합도(R^2) 측면에서 두 모델(model) 모두 네 차례의 특징 엔지니어링 반복에 걸쳐 완만하지만 단조적인 향상을 보이며 약 0.042의 R^2에 도달했습니다. 그러나 스케줄링에서 실질적으로 중요한 지표인 Top-1 랭킹 정확도(실제 운영 스케줄러가 선택한 머신에 모델이 최고 점수를 부여하는지 여부)에서는 두 학습 모델 모두 단순한 단일 특징 휴리스틱(가용 CPU 기준 정렬: 74~84% 대 두 모델의 65~66%)보다 낮은 성능을 보였습니다. 이러한 격차는 목적 함수 불일치(objective mismatch)로 가장 잘 설명됨을 보여줍니다. 즉, 두 모델 모두 순위 학습(learning-to-rank) 문헌에서 오랫동안 구분되어 온 차이점과 마찬가지로 랭킹 전용 목적 함수 대신 포인트와이즈 회귀(MSE)로 학습되었습니다. 이는 학습 목적 함수가 배포 태스크와 일치할 때 강화학습(RL)으로 학습된 스케줄러가 휴리스틱을 능가할 수 있음을 보여준 선행 연구와 맥을 같이하며, 아키텍처가 아니라 목적 함수 불일치가 여기서 주된 장애물임을 시사합니다. 나아가 오프라인 추적 데이터를 활용 가능하게 만들기 위해 필요한 점유율 재구성의 어블레이션(단순 특징은 0에 가까운 R^2를 산출함), 두 모델 패밀리 간의 특징 풍부도 및 데이터 양을 분리한 통제 비교, 추론(inference) 지연 시간 및 서빙 컨테이너 메모리 제약에 대한 민감도 분석을 보고합니다. 재현성을 위해 코드, 데이터 파이프라인 및 실험 스크립트가 공개됩니다.

원문 초록

Kubernetes scheduler plugins that score candidate nodes are, in production, hand-tuned heuristics. We ask whether a learned scoring function - trained on real placement decisions from a production cluster trace - can match or exceed these heuristics, and if not, why. We implement an external, HTTP-backed scoring plugin for a widely used scheduler simulator and evaluate two learned models (a Random Forest over engineered features, and a graph neural network encoder over per-job task-dependency graphs) trained on a large-scale production cluster trace. Under standard regression fit (R^2), both models improve modestly but monotonically across four feature-engineering iterations, reaching R^2 of about 0.042. However, on the metric that actually matters for scheduling - Top-1 ranking accuracy, whether the model scores the machine the production scheduler actually chose highest - both learned models are outperformed by a trivial single-feature heuristic (rank by free CPU: 74-84% vs. 65-66% for either model). We show this gap is best explained by objective mismatch: both models were trained with pointwise regression (MSE) rather than a ranking-specific objective, echoing a long-standing distinction in the learning-to-rank literature. This parallels prior evidence that RL-trained schedulers can outperform heuristics when the training objective is aligned with the deployment task, suggesting objective misalignment, not architecture, is the primary obstacle here. We further report an ablation of the occupancy reconstruction required to make offline trace data usable (naive features yield R^2 near 0), a controlled comparison isolating feature richness and data volume between the two model families, and a sensitivity analysis of inference latency and serving-container memory constraints. Code, data pipelines, and experiment scripts are released for reproducibility.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2609.22142v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.