SageServe: Optimizing LLM Serving on Cloud Data Centers with Forecast Aware Auto-Scaling

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jaiswal, Shashwat, Jain, Kunal, Simmhan, Yogesh, Parayil, Anjaly, Mallick, Ankur, Wang, Rujia, Amant, Renee St., Bansal, Chetan, Rühle, Victor, Kulkarni, Anoop, Kofsky, Steve, Rajmohan, Saravan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917076399030272
author Jaiswal, Shashwat
Jain, Kunal
Simmhan, Yogesh
Parayil, Anjaly
Mallick, Ankur
Wang, Rujia
Amant, Renee St.
Bansal, Chetan
Rühle, Victor
Kulkarni, Anoop
Kofsky, Steve
Rajmohan, Saravan
author_facet Jaiswal, Shashwat
Jain, Kunal
Simmhan, Yogesh
Parayil, Anjaly
Mallick, Ankur
Wang, Rujia
Amant, Renee St.
Bansal, Chetan
Rühle, Victor
Kulkarni, Anoop
Kofsky, Steve
Rajmohan, Saravan
contents Global cloud service providers handle inference workloads for Large Language Models (LLMs) that span latency-sensitive (e.g., chatbots) and insensitive (e.g., report writing) tasks, resulting in diverse and often conflicting Service Level Agreement (SLA) requirements. Managing such mixed workloads is challenging due to the complexity of the inference serving stack, which encompasses multiple models, GPU hardware, and global data centers. Existing solutions often silo such fast and slow tasks onto separate GPU resource pools with different SLAs, but this leads to significant under-utilization of expensive accelerators due to load mismatch. In this article, we characterize the LLM serving workloads at Microsoft Office 365, one of the largest users of LLMs within Microsoft Azure cloud with over 10 million requests per day, and highlight key observations across workloads in different data center regions and across time. This is one of the first such public studies of Internet-scale LLM workloads. We use these insights to propose SageServe, a comprehensive LLM serving framework that dynamically adapts to workload demands using multi-timescale control knobs. It combines short-term request routing to data centers with long-term scaling of GPU VMs and model placement with higher lead times, and co-optimizes the routing and resource allocation problem using a traffic forecast model and an Integer Linear Programming (ILP) solution. We evaluate SageServe through real runs and realistic simulations on 10 million production requests across three regions and four open-source models. We achieve up to 25% savings in GPU-hours compared to the current baseline deployment and reduce GPU-hour wastage due to inefficient auto-scaling by 80%, resulting in a potential monthly cost savings of up to $2.5 million, while maintaining tail latency and meeting SLAs.
format Preprint
id arxiv_https___arxiv_org_abs_2502_14617
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SageServe: Optimizing LLM Serving on Cloud Data Centers with Forecast Aware Auto-Scaling
Jaiswal, Shashwat
Jain, Kunal
Simmhan, Yogesh
Parayil, Anjaly
Mallick, Ankur
Wang, Rujia
Amant, Renee St.
Bansal, Chetan
Rühle, Victor
Kulkarni, Anoop
Kofsky, Steve
Rajmohan, Saravan
Distributed, Parallel, and Cluster Computing
Global cloud service providers handle inference workloads for Large Language Models (LLMs) that span latency-sensitive (e.g., chatbots) and insensitive (e.g., report writing) tasks, resulting in diverse and often conflicting Service Level Agreement (SLA) requirements. Managing such mixed workloads is challenging due to the complexity of the inference serving stack, which encompasses multiple models, GPU hardware, and global data centers. Existing solutions often silo such fast and slow tasks onto separate GPU resource pools with different SLAs, but this leads to significant under-utilization of expensive accelerators due to load mismatch. In this article, we characterize the LLM serving workloads at Microsoft Office 365, one of the largest users of LLMs within Microsoft Azure cloud with over 10 million requests per day, and highlight key observations across workloads in different data center regions and across time. This is one of the first such public studies of Internet-scale LLM workloads. We use these insights to propose SageServe, a comprehensive LLM serving framework that dynamically adapts to workload demands using multi-timescale control knobs. It combines short-term request routing to data centers with long-term scaling of GPU VMs and model placement with higher lead times, and co-optimizes the routing and resource allocation problem using a traffic forecast model and an Integer Linear Programming (ILP) solution. We evaluate SageServe through real runs and realistic simulations on 10 million production requests across three regions and four open-source models. We achieve up to 25% savings in GPU-hours compared to the current baseline deployment and reduce GPU-hour wastage due to inefficient auto-scaling by 80%, resulting in a potential monthly cost savings of up to $2.5 million, while maintaining tail latency and meeting SLAs.
title SageServe: Optimizing LLM Serving on Cloud Data Centers with Forecast Aware Auto-Scaling
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2502.14617