Introduction
In cloud computing, the efficiency of a data center is largely determined by how effectively virtual machines (VMs) are packed onto physical machines (PMs). This task, often likened to a multi-dimensional version of Tetris, is complicated by the inherent heterogeneity of cloud workloads. Different users request varying ratios of resources; for instance, one VM may require high CPU capacity with minimal RAM, while another requires massive memory with negligible processing power.
Standard scheduling algorithms, such as First-Fit (FF) or Best-Fit (BF), frequently struggle with this diversity. Their inability to balance these competing demands often leads to "resource stranding"—a scenario where a server might have 70% of its CPU idle but cannot host more VMs because its RAM is entirely exhausted. This imbalance forces providers to underutilize hardware and invest in unnecessary infrastructure. This paper introduces REASSIGNER, a plug-and-play framework designed to intensify the performance of existing schedulers by dynamically partitioning resources into specialized virtual clusters.
The Problem: Resource Stranding and Heterogeneity
The core challenge in VM scheduling is the mismatch between the resource ratios of incoming requests and the available capacity of physical hardware. When a scheduler ignores these ratios, it tends to consume one resource type much faster than others.
The authors identify that the ratio of CPU-to-Memory is a more critical factor in scheduling inefficiency than the absolute size of the requests. To quantify this, the paper introduces a new metric: At Least Waste (ALW). ALW measures the minimum possible waste remaining on a PM that cannot be filled by any available VM specification in the system's catalog. Minimizing ALW is the primary objective of the REASSIGNER framework.
The REASSIGNER Framework
REASSIGNER is designed as an "intensifier" that sits atop existing production schedulers. Rather than replacing the underlying algorithm, it restricts the search space to ensure more balanced packing. The framework operates through four key stages:
1. Categorization
Incoming VM requests are labeled based on their resource requirements relative to the PM's total capacity. Requests are generally categorized as either "CPU-Intensive" or "MEM-Intensive."
2. Role Assignment
REASSIGNER solves an optimization problem (utilizing solvers like Gurobi) to determine the optimal amount of CPU and RAM to reserve for each role within a physical machine. By pre-assigning these roles, the system ensures that resources are reserved for the specific types of VMs that will best balance the machine's total utilization.
3. Virtual Clustering
Once roles are assigned, the physical cluster is treated as a set of specialized Virtual Clusters. The underlying scheduler is then restricted: it can only place CPU-intensive VMs into CPU-reserved partitions and memory-intensive VMs into memory-reserved partitions. This intentional restriction prevents the "free-for-all" approach that typically leads to stranding.
4. Adaptive Unassigning
To maintain system flexibility, REASSIGNER includes an adaptive mechanism. If a specific virtual cluster reaches capacity while the physical machine still has available resources, or if the incoming workload distribution shifts significantly, the system can "unassign" roles. This returns the resources to a general pool, preventing the framework from becoming a bottleneck during unexpected traffic spikes.
Experimental Evaluation
The framework was evaluated using the Huawei-East-1 dataset, a real-world trace from Huawei Cloud containing one month of interaction data across 12 different VM specifications. To ensure robustness, the authors sampled 60 different starting points from the trace.
Key Results
REASSIGNER demonstrated significant improvements over baseline schedulers, including First-Fit (FF), Best-Fit (BF), and Huawei’s internal production scheduler (IB):
- Increased Capacity: In a 100-PM cluster, REASSIGNER increased the number of successfully placed VMs by 14.7% for the First-Fit algorithm and 6.19% for the internal production baseline.
- Waste Reduction: The framework achieved drastic reductions in resource stranding. CPU waste was reduced by up to 75.8%, while memory waste saw reductions of up to 54.7%.
- Scalability: The performance gains remained consistent across various cluster sizes (50, 100, and 150 PMs), suggesting that the framework is well-suited for large-scale data center operations.
Conclusion and Future Work
REASSIGNER proves that by intentionally restricting the scheduling space through virtual clustering, global efficiency can be significantly improved. Its plug-and-play nature allows cloud providers to enhance their existing infrastructure without a total overhaul of their scheduling logic.
Future research directions include expanding the framework to handle more than two resource dimensions (such as Disk I/O, network bandwidth, and GPU requirements) and implementing machine learning models to predict incoming request distributions for even more proactive resource partitioning.
Summary updated