The Energy Optimization Based on Virtual Machine Placement

Shoujin Wang, Xiaotong Cheng, Jingang Shi2017

Abstract

In order to solve the problem of huge energy consumption in data centers, this paper delivers a new virtual machine placement framework, including profiles and task classification. The first part of this framework is profiling phase. This phase intent to build virtual machine profiles, to identify each virtual machines run-time, resource requests, and previous utilization. The profiles are based on past virtual machine logs and coming virtual machine plans. According to these profiles, the system related to this framework will make better decisions for virtual machine placements. The second part is virtual machine classification phase. Based on some typical characteristics of virtual machines in the profiles built in last phase, the system will apart virtual machines into some given sorts. Each sort of virtual machines will have differential placement methodologies. The third part is virtual machine placement phase. All information of virtual machines, including profiles and sorts, will come to this phase. Then, the system will, accordingly, conduct typical first-fit-decrease algorithm to build a virtual machine placement plan, to enhance the power efficiency.

Introduction

Data centers are notorious energy consumers, driven not just by hardware but by how that hardware is managed. When virtual machines (VMs) are placed inefficiently across physical servers (PMs), it leads to "electricity outflow" without productive output. This results in high operating costs, cooling challenges, and significant carbon footprints.

The authors identify a specific gap: many existing management methods don't account for the type of task being run. A short-lived "tiny" task shouldn't be treated the same as a "permanent" job that runs for days. Without this distinction, systems suffer from excessive VM migrations and poor resource utilization, both of which drain power.

Methodology

The proposed framework optimizes placement based on task behavior through three distinct phases.

Flowchart of the proposed virtual machine placement framework.

1. Profiling Phase

The system builds profiles for each VM using historical logs and upcoming plans. It tracks runtime, resource requests (primarily CPU), and past utilization. These profiles allow the system to make predictive decisions rather than reactive ones.

2. Classification Phase

Tasks are sorted into three categories based on the profiles:

  • Permanent Jobs: Long-term tasks requiring high stability.
  • Normal Jobs: Standard workloads.
  • Tiny Tasks: Very short-lived tasks where the overhead of creating or killing a VM might exceed the task's actual lifetime.

3. Placement Phase

The system applies an advanced First-Fit-Decrease (FFD) algorithm. Permanent tasks are placed first into the most power-efficient physical machines to minimize future migrations. Normal tasks are then filled in using standard FFD. Finally, "Tiny Tasks" are packed into existing VMs rather than being given dedicated resources. This fills "utilization gaps"—the space between a task's request and the VM's actual size—preventing the need to boot additional physical servers.

Experimental Evaluation

The researchers utilized the Google Cluster-Usage Traces, an industry-standard dataset covering 12,500 PMs. Due to the scale of the data, a 24-hour window was sampled (parts 10 to 27 of the trace) at a rate of one out of every two hundred records to create a manageable daily profile for testing. The energy model focused on CPU power consumption, as it represents the most dynamic variable controllable by software placement strategies.

Results and Discussion

The framework was evaluated against the standard First-Fit-Decrease (FFD) algorithm:

  • Energy Efficiency: The new framework achieved over 10% energy savings compared to the standard FFD baseline.
  • Resource Density: By packing tiny tasks and prioritizing permanent jobs, the system achieved higher PM utilization and required fewer active servers.
  • Operational Stability: The approach resulted in fewer VM migrations, which is critical for maintaining Service Level Agreements (SLAs) and reducing system wear.

Conclusion

This paper demonstrates that energy optimization in data centers can be significantly improved by considering task characteristics. By classifying workloads and applying a tiered placement strategy, the proposed framework offers a path toward more sustainable cloud infrastructure. Future work will involve integrating this framework into live hypervisors and expanding the energy model to include memory and storage power dynamics.

Summary updated

BibTeX
@misc{wang2017energy,
  author = {Shoujin Wang and Xiaotong Cheng and Jingang Shi},
  title = {{The Energy Optimization Based on Virtual Machine Placement}},
  year = {2017},
  doi = {10.2991/emim-17.2017.356},
}
Figure