Attention:The NSF Public Access Repository (PAR) system and access will be unavailable from 11:00 PM ET on Thursday, November 12th until 12:00 AM ET on Friday, November 13th due to maintenance. We apologize for the inconvenience.


This content will become publicly available on July 13, 2027

Title: Regime-Aware Resource Demand Forecasting for Cloud Scheduling: When History Beats ML and When ML Matters
Efficient cluster scheduling requires reliable forecasts of resource demand, yet production workloads are heterogeneous, bursty, and strongly time-dependent. Using the Google Cluster-Usage Traces v3, we study leakage-safe prediction of three scheduling-relevant metrics: mean CPU demand, normalized memory pressure (average memory relative to assigned memory), and tail CPU demand (p95) as a burst-risk indicator. We develop a preprocessing and evaluation protocol that explicitly addresses two common threats to validity in trace-based learning: post-execution feature leakage (e.g., usage-derived fields) and identity leakage from random splits when recurring workloads appear in both training and test sets. Under time-ordered and gap-based splits, we compare gradient-boosted tree models (LightGBM) against strong history-only baselines (LastSeen and EMA) and perform a cold-start analysis by evaluating the first K occurrences of each workload entity. Results reveal a clear regime shift: for warm, recurring workloads, simple entity-history predictors achieve near-optimal accuracy and consistently outperform learned models; however, in cold-start settings where history is unavailable, LightGBM substantially improves CPU mean and tail forecasts (e.g., large gains in R^2 for first-occurrence entities). These findings support a practical scheduling strategy: a hybrid, regime-aware policy that uses machine learning (ML) as a cold-start fallback and switches to lightweight history-based prediction as observations accumulate.  more » « less
Award ID(s):
2400459 2417643
PAR ID:
10706588
Author(s) / Creator(s):
;
Publisher / Repository:
IEEE
Date Published:
Subject(s) / Keyword(s):
resource demand forecasting scheduling cloud machine learning leakage regime shift
Location:
Sydney, Australia
Sponsoring Org:
National Science Foundation
More Like this
  1. Efficient resource scheduling in cloud computing requires accurate and interpretable forecasts of virtual machine resource demand. Production cloud workloads are often heterogeneous, bursty, and time-dependent, making resource allocation difficult under changing workload conditions. Over-provisioning wastes infrastructure resources, while under-provisioning may degrade performance and cause service level agreement violations. This thesis presents an explainable, leakage-safe, and regime-aware machine learning framework for predicting virtual machine resource demand to support high resource utilization in cloud environments. Using real-world workload traces from the Google Cluster Workload/Usage Trace dataset, this study first develops an explainable machine learning approach based on gradient-boosted regression models for predicting CPU demand from historical workload behavior. SHAP explainability is applied to interpret model predictions and identify the most influential features affecting resource demand. The work is then extended to a leakage-safe forecasting setting using Google Cluster-Usage Traces v3, where scheduling-time feature sets are constructed to avoid post-execution feature leakage and time-ordered evaluation protocols are used to reduce identity leakage from recurring workloads. Three scheduling-relevant targets are examined: mean CPU demand, normalized memory pressure, and p95 CPU demand as an indicator of burst risk. LightGBM is compared with strong history-based baselines, including LastSeen and exponential moving average, across time-ordered, gap-based, cold-start, and warm recurring workload regimes. The results show that simple history-based predictors often achieve the strongest performance for warm recurring workloads, while machine learning provides its clearest benefit in cold-start or sparse-history settings where prior workload observations are limited. To further explain these regime differences, this research introduces causal-regime maps using PCMCI+ to identify regime-specific dependency structures among request variables, scheduling metadata, historical statistics, and resource-demand outcomes. Strict directed causal parent maps are used for causal-regime interpretation, while broader PCMCI+-guided structural feature maps are evaluated through graph-guided LightGBM forecasting models. Overall, this research advances resource demand prediction from a purely accuracy-focused task toward an explainable, leakage-safe, and mechanism-aware framework for cloud scheduling. The findings support hybrid scheduling policies that combine machine learning for cold-start workloads with lightweight history-based forecasting for recurring workloads, while using causal-regime structure to improve interpretability and guide future resource management decisions. 
    more » « less
  2. Efficient resource scheduling in cloud computing is crucial for maintaining service quality while optimizing infrastructure costs. However, dynamic workloads and varying user demands make virtual machine (VM) placement and resource management highly complex. Efficient resource scheduling remains a significant challenge. Over-provisioning leads to wastage, while under-provisioning can cause performance degradation and service level agreement (SLA) violations. In this paper, we propose an explainable machine learning (ML)-based approach to predict VM resource demand to enhance placement decisions and achieve high resource utilization in clouds. We train an XGBoost regression model to predict CPU demand based on historical usage data. Also, we employ SHAP (SHapley Additive exPlanations) to interpret the model's predictions and uncover key decision-driving features. To evaluate our approach, we experimented with a real-world workload from the Google Cluster Workload Trace. Experimental results demonstrate improved prediction accuracy and model transparency, offering a practical and interpretable solution for intelligent VM scheduling in real-world cloud environments. 
    more » « less
  3. Virtual switches, used for end-host networking, drop packets when the receiving application is not fast enough to consume them. This is called the slow receiver problem, and it is important because packet loss hurts tail communication latency and wastes CPU cycles, resulting in application-level performance degradation. Further, solving this problem is challenging because application throughput is highly variable over short timescales as it depends on workload, memory contention, and OS thread scheduling. This paper presents Backdraft, a new lossless virtual switch that addresses the slow receiver problem by combining three new components: (1) Dynamic Per-Flow Queuing (DPFQ) to prevent HOL blocking and provide on-demand memory usage; (2) Doorbell queues to reduce CPU overheads; (3) A new overlay network to avoid congestion spreading. We implemented Backdraft on top of BESS and conducted experiments with real applications on a 100 Gbps cluster with both DCTCP and Homa, a state-of-the-art congestion control scheme. We show that an application with Backdraft can achieve up to 20x lower tail latency at the 99th percentile. 
    more » « less
  4. Serverless computing promises an efficient, low-cost compute capability in cloud environments. However, existing solutions, epitomized by open-source platforms such as Knative, include heavyweight components that undermine this goal of serverless computing. Additionally, such serverless platforms lack dataplane optimizations to achieve efficient, high-performance function chains that facilitate the popular microservices development paradigm. Their use of unnecessarily complex and duplicate capabilities for building function chains severely degrades performance. 'Cold-start' latency is another deterrent. We describe SPRIGHT, a lightweight, high-performance, responsive serverless framework. SPRIGHT exploits shared memory processing and dramatically improves the scalability of the dataplane by avoiding unnecessary protocol processing and serialization-deserialization overheads. SPRIGHT extensively leverages event-driven processing with the extended Berkeley Packet Filter (eBPF). We creatively use eBPF's socket message mechanism to support shared memory processing, with overheads being strictly load-proportional. Compared to constantly-running, polling-based DPDK, SPRIGHT achieves the same dataplane performance with 10× less CPU usage under realistic workloads. Additionally, eBPF benefits SPRIGHT, by replacing heavyweight serverless components, allowing us to keep functions 'warm' with negligible penalty. Our preliminary experimental results show that SPRIGHT achieves an order of magnitude improvement in throughput and latency compared to Knative, while substantially reducing CPU usage, and obviates the need for 'cold-start'. 
    more » « less
  5. Serverless computing promises an efficient, low-cost compute capability in cloud environments. However, existing solutions, epitomized by open-source platforms such as Knative, include heavyweight components that undermine this goal of serverless computing. Additionally, such serverless platforms lack dataplane optimizations to achieve efficient, high-performance function chains that facilitate the popular microservices development paradigm. Their use of unnecessarily complex and duplicate capabilities for building function chains severely degrades performance. ‘Cold-start’ latency is another deterrent. We describe SPRIGHT, a lightweight, high-performance, responsive serverless framework. SPRIGHT exploits shared memory processing and dramatically improves the scalability of the dataplane by avoiding unnecessary protocol processing and serialization-deserialization overheads. SPRIGHT extensively leverages event-driven processing with the extended Berkeley Packet Filter (eBPF). We creatively use eBPF’s socket message mechanism to support shared memory processing, with overheads being strictly load-proportional. Compared to constantly-running, polling-based DPDK, SPRIGHT achieves the same dataplane performance with 10× less CPU usage under realistic workloads. Additionally, eBPF benefits SPRIGHT, by replacing heavyweight serverless components, allowing us to keep functions ‘warm’ with negligible penalty. Our preliminary experimental results show that SPRIGHT achieves an order of magnitude improvement in throughput and latency compared to Knative, while substantially reducing CPU usage, and obviates the need for ‘cold-start’. 
    more » « less