Presentation is loading. Please wait.

Presentation is loading. Please wait.

Energy-efficient Virtual Machine Provision Algorithms for Cloud System Ching-Chi Lin Institute of Information Science, Academia Sinica Department of Computer.

Similar presentations


Presentation on theme: "Energy-efficient Virtual Machine Provision Algorithms for Cloud System Ching-Chi Lin Institute of Information Science, Academia Sinica Department of Computer."— Presentation transcript:

1 Energy-efficient Virtual Machine Provision Algorithms for Cloud System Ching-Chi Lin Institute of Information Science, Academia Sinica Department of Computer Science and Information Engineering, Nation Taiwan University Pangfeng Liu Department of Computer Science and Information Engineering, Nation Taiwan University Graduate Institute of Networking and Multimedia, Nation Taiwan University Jan-Jan Wu Institute of Information Science, Academia Sinica

2 Introduction Datacenters consume tremendous amount of energy. To reduce the power consumption in a datacenter ◦ Virtual machine consolidation. ◦ Reduce the number of power-on idle servers.

3 VM consolidation Definition: ◦ Virtual machines with different hardware requirements must be deployed using the minimum number of physical servers. VM consolidation is an NP-hard problem. ◦ Can be reduced by bin-packing problem.

4 Heuristic Solutions for VM Consolidation First-Fit ◦ Deploy VMs to the fist server that can accommodates this VM. ◦ Load imbalance for power-on servers. Round-Robin ◦ Deploy VM to the servers in circular order.  Balancing the load between servers. ◦ Hard for physical servers to become idle.

5 Dynamic Round-Robin Minimize the number of physical server used to run all virtual machines. Extension from Round-Robin Add two rules to reduce the number of physical server in use.

6 Rule 1 Physical server become “retiring”, i.e., not accepting new VMs, after one of its hosting VM finishes. ABC DE G F HH

7 Rule 2 If a retiring server stay active for too long, migrates its hosting VMs and power off this server. ◦ Retirement threshold: the waiting time before migrating hosting VMs. AC DE G F

8 A Hybrid Method Hybrid method chooses from these two strategies depending on incoming traffic. ◦ During rush hours, Dynamic Round-Robin may not perform better than First-Fit.  Rush hour: a period of time with high VM incoming rate. ◦ Rush hour, use First-Fit. ◦ Otherwise, use Dynamic Round-Robin.

9 System Models Power consumption model ◦ The power consumption of a physical server is a linear function of its CPU load.[1][2] ◦ The idle power is about 50% of the peak power.[1][2] Migration model ◦ Live migration [1]:Xiaobo Fan, Wolf-Dietrich Weber, and Luiz Andre Barroso. Power provisioning for a warehouse- sized computer. [2]:Gong Chen, Wenbo He, Jie Liu, Suman Nath, Leonidas Rigas, Lin Xiao, and Feng Zhao. Energy-aware server provisioning and load dispatching for connection-intensive internet services.

10 Verification Number of threads(cores )

11 Power Model The assumption of linear power model with 50% idle power is reasonable. The power consumption P of a physical server:  α : the percentage of idle power versus the peak power.  c: the total number of cores required. c ≦ C  C: the total number of cores on a physical machine.  c/C: the load of a physical machine.  P p : peak power.

12 Live Migration Move a running VM to a different physical server without interrupting the VM. ◦ Does not lengthen the execution time of a VM. ◦ But slightly increase power consumption of source and destination server.  An extra load caused by migration increases about 20% load to the destination server.

13 Migration Model Energy consumption on migrating VM:  t M : time migration takes.  L: extra load caused by the migration process.  E s, E d : energy consumption on source and destination physical machine.  c/C, c’/C: the load of physical machines. c, c’ ≦ C  α : the percentage of idle power versus the peak power.  P p : peak power.

14 Experimental Setting Physical server: ◦ Intel(R) Xeon(R) E5620 CPUs 2.40GHz, each CPU has four cores. ◦ 24GB memory. Virtual machine: ◦ Small: 1v-core, 1.7 GB of memory. ◦ Large: 2 v-cores, 7.5 GB of memory. ◦ Extra large: 4 v-cores, 15 GB of memory.

15 Experimental Setting(Cont.) Test cases ◦ 2,000 virtual machines. ◦ Arrival time follows normal distribution, ranging from 0:00 to 23:59, to simulate the workload of a day.  Rush hour: 10:00~14:00 ◦ Execution time is generated from uniform distribution, ranging from 2 to 12 hours.

16 Experiment 1 – Different Retirement Threshold Retirement threshold ◦ Time as threshold:0, 5, 10, 30 minutes ◦ Physical server load as threshold: ≦ 50% Baseline: First-Fit

17 Result 1 Using physical server load as threshold consume the least power.

18 Experiment 2 – Performance Comparison Dynamic Round-Robin ◦ Use physical server load as retirement threshold. Baseline: First-Fit

19 Result 2 The Hybrid method consume about 3% less average power than First-Fit.

20 Experiment 3 – Comparison with Eucalyptus Eucalyptus strategies ◦ Greedy & Round-Robin  Does not power off idle physical servers. ◦ Power-Save  Power off idle physical servers. Baseline: Eucalyptus Round-Robin

21 Result 3 Dynamic Round-Robin and Hybrid consume about 40% lesser compare to Eucalyptus default strategy.

22 Conclusion We propose Dynamic Round-Robin and Hybrid, to deploy the virtual machines for power saving purpose. Both experiment and simulation results show that Dynamic Round-Robin and Hybrid we propose can reduce the average power consumption compared to other deployment algorithms with power- saving.

23 Thank you


Download ppt "Energy-efficient Virtual Machine Provision Algorithms for Cloud System Ching-Chi Lin Institute of Information Science, Academia Sinica Department of Computer."

Similar presentations


Ads by Google