Comparative Analysis of Energy Efficiency in Adatacenter using DVFS with a Non-Power Aware Datacenter

DOI : 10.17577/IJERTV4IS020319

Download Full-Text PDF Cite this Publication

Text Only Version

Comparative Analysis of Energy Efficiency in Adatacenter using DVFS with a Non-Power Aware Datacenter

Kritika Sharma1,

1M.Tech Student, Department of Computer Engineering,

Punjabi University, Patiala, Punjab (India)

Raman Maini2

2Professor,

Department of Computer Engineering, Punjabi University, Patiala,

Punjab (India)

Abstract- The advancement in information technology has led to many environmental overheads like CO2emissions. Thus, the focus of IT is now shifting towards the green computing. Cloud Computing technology can be used to increase efficiency as well as utilization of computing resources and thus can help in providing green computing. In this paper, the datacenterenergy consumption is simulated for a datacenterthat is non power aware.The DVFS technique has been implemented on the same datacentre and the result of simulations are then compared. It is concluded that the energy consumption of the datacenter reduces by approximately 67% for given configuration of the datacenter.

Keywords-Cloud computing, scheduling algorithms, virtualization, simulation, Datacenters, Dynamic Voltage Frequency Scheduling.

  1. INTRODUCTION

    Cloud Computing technology is used to provide resources over an internet connection. These resources can be any kind of applications (like email, video conferencing applications etc.), platforms (like java platform to develop applications), or infrastructure facilities (like physical server or any number of virtual server instances). The concept of cloud computing has been explained in the following figure (Fig 1).

    Fig 1. Concept of Cloud [26]

    National Institute of Standards and Technology (which is the Unites. States Department of Commerce) [4] defines three service models for Clouds .i.e. SaaS, PaaS and IaaS. SaaS (or Software as a Service) model provides applications to the cloud users over the internet. PaaS (or Platform as a Service model) provides platform to developers to develop their applications. IaaS (or Infrastructure as a Service), also known as Hardware as a Service provides infrastructure facilities to the customers.

    NIST also defines five essential characteristics and four deployment models of Cloud Computing[4]. Characteristics of Cloud Computing- On-demand service, Infinite network access, Location independence and resource pooling, Scalable resources, Service is measured. And the three models of deployment are: public model, private model, community model, and hybrid model.

    Thus establishing a Cloud requires installation of a large number of computing resources in a single datacenter. These computing resources may be thousands in number and may compute an enormous amount of power or electric energy. Based on the reports by American Society of Heating, Refrigerating and Air Conditioning Engineers (ASHRAE), it is estimated that by 2014 the cost of energy as well as infrastructure would contribute 75% whereas Information Technology would contribute just 25% of the overall coast of operating a datacenter[22].

    The main reason why such an enormous amount of energy is consumed is not just the quantity of resources used or the inefficiency on the part of the hardware, but rather it is because the resources are not utilized properly. It has been found that most of the resources are not utilized fully .i.e. their utilization rarely approaches 100%. When the data was collected from over five thousand computing servers for their utilization for six months, it was found that although the computing servers were not idle but the utilization was very rarely hundred percent [22]. Even most of the servers operated at around ten to fifty percent of their full capacity. This leads to even more expenses because when servers operate at a lower level of utilization they consumed more power than when they are utilized at hundred percent.

    Also, if the servers are completely idle, they consume around seventy percent power of their highest level of power. Thus, for energy efficient computing the focus must be on utilizing the servers at their full capacity and they should also not be kept completely idle.

    Along with the direct energy consumption by the resources, there is an additional expense of energy through the cooling systems that are required in each datacenter to keep all the systems cool. For every single watt of power consumed, it requires around 0.5 to 1 watt of power by the cooling systems [22]. Additionally the more the number of computing resources used, the higher is the carbon dioxide emissions. This carbon dioxide leads to greenhouse effect.

    There are many ways to achieve energy efficiency in clouds, some of them are stated below:

    • Use the virtualization technology: by using the virtualization technology, we are able to create virtual instances of a single physical node. Each of these virtual instances is capable to act as a separate host for the cloud jobs. This helps to reduce the number of physical hosts required to execute the tasks as well as it helps to increase the utilization of the physical server.

    • Switch the idle hosts to other low power consuming modes: The hosts that are idle can be either switched off or they can be changed to some lower power consuming modes like sleep or hibernate. This helps to reduce a lot of power consumption.

    • Allowing the live migration of VMs: The Vms can be allowed to migrate from one virtual machine to the other. This can be done to make the utilization of one host to maximum level and to make an underutilized host completely idle so that we could turn it off or change it to some low power mode.

    But it must be noted that the efficient management of resources in clouds is a very tough job because the workload of clouds can never be predicted in advance. It is dynamic and changes from time to time. And if the requirement of the tasks given by the cloud users is not fulfilled, then it may lead to SLA violations. SLA is the Service Level Agreement that is signed between the Cloud providers and the Cloud users for the quality of service to be delivered. If the SLA violation occurs then it may lead to extra expenses on the part of the Cloud service provider.

    In this paper we will implement DVFS technique which uses the second approach discussed above .i.e. the idle hosts are changed to lower power modes.

  2. RELATED WORK

    In [15], a three-phase energy-saving strategy is proposed. The proposed strategy includes algorithm for replica management, algorithm for cluster reconfiguration and algorithm for state transition. This enables flexible energy management. Simulations are performed and the results of the simulations show that the algorithm is fine for saving energy. But this method is theoretical one.

    In [16], Adaptive Power-Aware Virtual Machine Provisioner (APA-VMP) is proposed.This policy schedules the workload such that the incremental sum of the power which is drawn by all the servers is minimised. This approach does not compromise with the systems performance.

    [18] describes the tools which are needed to be implemented in a simulator for the energy-aware experimentation. The paper emphasises on DVFS simulation.

    In [20],a new dynamic VM allocation policy is introduced. The policy takes VM`s according to user requirement and allocate them in cluster form to the available datacentersThis approach helps to improve the performance of CPU and memory.

    In [21], the authors present an overview of Cloud and Services offered by the Clouds. It also gives a review of various VM Migration policies.

    [24],uses two host selection olicies and four First-Fit mapping heuristics for the power aware allocation for VMs. Simulations performed showed that the four power aware algos help to lower the energy consumption on the hosts.

    In [27], the Maximum and Minimum Frequencies DFVS (MMFDVFS)algorithm is presented. The algorithm helps toreduce the energy consumed by the processors. An optimal energy consumption formula is modelled in this paper. The linear combination of themin processor frequency and max processor frequencyis used to find out theoptimal consumption of energy. But, this method can beused only in homogeneous systems and not in heterogeneous systems.

  3. DVFS TECHNIQUE

    DVFS or Dynamic Voltage Frequency Scaling technique can be used in the cloud datacenters to reduce the power consumption of the physical hosts. DVFS enables the processors to run at different combinations of frequency as well as voltage. This is mainly done to reduce the power consumption of the processor. DVFS technique is very commonly used by the researchers to reduce the consumption of energy in the distributed systems.

    DVFS is a dynamic technique that changes voltage and frequency of processor of a host dynamically. This is done according to the load on the host. The frequency has direct impact on the energy consumption by a host. A lower frequency implies that weaker voltage will be required and this results in low power consumption by the processor. But this has one shortcoming that this slows down CPU computation capacity.

    DVFS can have different implementations in different operating systems. Especially in Linux operating system DVFS can have five different modes of implementing. These modes are Performance mode, PowerSaver mode, UserSpace mode, Conservative mode, and OnDemand mode [18]. With each mode there is an associated governor which is to decide whether there should be an increase or a decrease in the frequency of the processor.

    Out of these five modes in Linux operating system three modes operate at the fixed frequency value while the other two modes have the dynamic operation. In the first mode that is the Performance Mode implies the processor functions at the highest frequency. In the second mode, PowerSave mode, the processor functions at the lowest frequency. In the UserSpace mode the user is allowed to choose between any one of the available CPU frequencies. The remaining two modes .i.e. Conservative mode and OnDemand mode operate dynamically using the threshold values. In these modes the governors use these threshold values to check whether the load of the processor is under or over these threshold values. Then accordingly the frequency of the hosts is adjusted [18].

    The Conservative mode governor has two thresholds:

    up_threshold and a low_threshold [18]. If the load of processor is above the up_threshold the frequency is increased. And if the load of processor is below the low_threshold the frequency of the processor is then decreased [18]. The OnDemand mode on the other hand uses only a single threshold value. The governors of this

    mode checks the load and if it is above this threshold then it choses one of the fastest frequency for the CPU to work at.

  4. CLOUDSIM SIMULATOR

    Since using the actual cloud infrastructure to implement any of our new proposed policies is a very tedious and costly job so we use a cloud simulator called CloudSim for this purpose. CloudSim toolkit is coded in java programming language. It is a package that is used to simulate a cloud infrastructure on a single computing node.

    Various classes are used to create various clouds entities. Classes are available to create datacenter, host, processing cores, virtual machines, brokers and cloudlets. For implementing the scheduling policies for cloudlets and virtual machines, classes like CloudletSchedulerTimeShared, CloudletSchedulerSpaceShared, VmSchedulerTimeShared, and VmSchedulerSpaceShared are available. Along with all these CloudSim also includes the functionalities for provisioning of bandwidth and ram of the hosts.

    CloudSim architecture involves four layers: SimJava, GridSim, CloudSim and UserCode layer [11]. CloudSim can be used to model network behaviour, model federations, model cloud market and model cloud power consumption. CloudSim includes an abstract class called PowerModel. This class is used for modelling the power consumption on the clouds. The PowerModel class includes a function getPower(). This function getPower() can be overwritten to fulfil our objective of modelling the power consumption in clouds. This helps to evaluate the power consumed and efficiency of the proposed power aware policy [26].

  5. DVFS IMPLEMENTAION

    The CloudSim toolkit to simulate the cloud infrastructure. The CloudSim package is deployed on the NetBeans IDE. NetBeans IDE is an Integrated Development environment which is an open source environment. It provides various tools all integrated together at the same platform to develop and run various java applications [26].

    The steps in DVFS Implementation are stated below:

    • Create Datacenter: The Datacenter class is used to create a datacenter. It is the second step in the simulation of a cloud infrastructure. The first being initiating the CloudSim package. To create datacenter we needto create hosts. The number of hosts can vary with the simulations.

    • Create hosts in datacenter: Host class defined in the CloudSim package is used to create the hosts in the datacenter. For each host we need to define the number of processors and their MIPS rating.i.e. Millions of instructions processed per second.

    • Create virtual machines: Virtual machines are created by using the inbuilt class Vm. Vm class accepts a list of Vms. Each Vm has specifications like, MIPS, size, ram, bandwidth, number of processing elements and the Cloudlet scheduling policy.

    • Allocate hosts to the virtual machines: Once the virtual machines and the hosts have been created, the next step is to allocate the virtual machines to the host. The scheduling policy of virtual machines is specified while creating the host. The scheduling of virtual machines on the hosts can be either time shared or space shared depending on the policy we are implementing.

    • Allocate cloudlets to the virtual machines: Next the cloud tasks .i.e. cloudlets are allocated to the virtual machines.

    • Start simulation: once all the allocations have been done, we can then finally start the simulation. CloudSim provides a method startSimulation() for this purpose. We also provide a simulation limit (the time limit until when simulation is carried out).

    • Calculate utilization and energy consumed at the end of each time frame: The time frames or time slots are defined before starting the simulations. After each time frame

    • Switch off the hosts with 0% utilization:The power aware policy that we are implementing here is DVFS. This policy checks after each time frame whether any host has utilization equal to 0%. If any such host is found the power of that host is turned off to save the energy.

    • At the end of simulation, calculate the net energy consumption of the datacenter and number of host shutdowns.

    The simulation is carried with one datacenter. The number of hosts created in the datacenter is 25. And 25 virtual machines are created. The hosts can have either 1860 or 2660 MIPS. The MIPS for Vms can be 2500, 2000, 1000

    or 500.

  6. RESULTS AND CONCLUSION

The simulation of the above defined configuration of datacenter hosts and virtual machines on the NetBeans IDE for a non-power aware cloud gives the total energy consumption as 43.45kWh. The result of simulating a non- power aware datacenter is shown in Fig 2. When the simulation was done for the same configuration of datacenter that implemented DVFS, the total energy consumption was 16.02kWh. This is shown in Fig 3.

Thus, the overall energy consumption of the datacentr is decreased by 63 %( approx.) for the given configuration of the datacenter.

Hence, DVFS is an energy saving technique. It is used to reduce the power consumption by the hosts. This is done by turning off the hosts that have utilization below a predefined value. This technique is proved as an efficient technique to reduce the power consumption of the datacenter, as it reduces the energy consumption by approximately 63%. Although this technique reduces the energy consumption but it also leads to lower performance.

Fig 2. Simulation results of a non-power aware datacenter

Fig 3. Simulation results of a datacenter with DVFS

REFERENCES

  1. Cyril Onwubiko, Security Issues to Cloud Computing, in Cloud Computing: Principles, Systems and Applications, Computer Communications and Networks, DOI 10.1007/978-1-84996-241- 4_16, © Springer-Verlag London Limited 2010

  2. Kevin Curran et.al., Security Issues in Cloud Computing, Copyright © 2012, IGI Global.

  3. Michael Armbrustet.al. Above the Clouds: A Berkeley View of Cloud Computing, Electrical Engineering and Computer Sciences University of California at Berkeley, Technical Report No. UCB/EECS-2009-28, February 10, 2009.

  4. Peter Mell,Timothy Grance, The NIST Definition of Cloud Computing (Draft), Computer Security Division, Information Technology Laboratory, National Institute of Standards and Technology ,Gaithersburg, January 2011.

  5. Kevin Hamlen et.al., Security Issues for Cloud Computing, International Journal of Information Security and Privacy, April- June 2010.

  6. Abhishek Goel, Shikha Goel, Security Issues in Cloud Computing, International Journal of Application or Innovation in Engineering & Management (IJAIEM), vol 1, Issue 4, December 2012.

  7. Introduction to Cloud Computing Office of Privacy Commissioner of Canada, 1989.

  8. Zoran Panti and Muhammad Ali Babar, Guidelines for Building a Private Cloud Infrastructure, IT University of Copenhagen, Technical Report No. TR-2012-153, 2012.

  9. Wikipedia, Cloud computing, http://en.wikipedia.org/wiki/Cloud_computing.

  10. Rodrigo N. Calheiros,. Rajiv Ranjan, Anton Beloglazov, C´esar A.

    F. De Rose and Rajkumar Buyya CloudSim: a toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms, CLOUDS Laboratory, Department of Computer Science and Software Engineering, The University of Melbourne, Australia ,DOI: 10.1002/spe.995.

  11. Buyya R, Yeo CS, Venugopal S, Broberg J, Brandic I. Cloud computing and emerging IT platforms: Vision, hype, and reality for delivering computing as the 5th utility. Future Generation Computer Systems 2009; 25(6):599616

  12. NetBeans IDE Features[Online]. Available:https://netbeans.org/features/index.html.

  13. cloudsim 3.0 API[Online]. Available: http://www.cloudbus.org/cloudsim/doc/api/overview-summary.html

  14. Anton Beloglazov, Jemal Abawajy, Rajkumar Buyya, Energy-aware resource allocation heuristics for efficient management of data centers for Cloud computing, Future Generation Computer Systems 28 (5) (2012) 755768.

  15. Saiqin Long, Yuelong Zhao, Wei ChenSchool, A three-phase energy-saving strategy for cloud storage systems, The Journal of Systems and Software 87 (2014) 38 47

  16. R. Jeyarani a, N. Nagaveni , R. Vasanth Ram, Design and implementation of adaptive power-aware virtual machine provisioner (APA-VMP) using swarm intelligence, Future Generation Computer Systems 28 (2012) 811821

  17. Rajkumar Buyya, Anton Beloglazov, and Jemal Abawajy, Energy- Efficient Management of Data Center Resources for Cloud Computing: A Vision, Architectural Elements, and Open Challenges, 2010, CSREA Press

  18. Tom Guérout, Thierry Monteil, Georges Da Costa, Rodrigo Neves Calheiros, Rajkumar Buyya, Mihai Alexandru, Energy-aware simulation with DVFS, Simulation Modelling Practice and Theory 39 (2013) 769

  19. Liang Luo, Wenjun Wua, W.T. Tsai, Dichen Di, Fei Zhang, Simulation of power consumption of cloud data centers, Simulation Modelling Practice and Theory 39 (2013) 152171

  20. Bhupendra Panchal, Prof. R. K. Kapoor, Dynamic VM Allocation Algorithm using Clustering in Cloud Computing, International Journal of Advanced Research in Computer Science and Software Engineering Volume 3, Issue 9, September 2013 ISSN: 2277 128X

  21. Amritpal Singh, Supriya Kinger, Virtual Machine Migration Policies in Cloud, International Journal of Science and Research (IJSR),

    India Online ISSN: 2319-7064 Volume 2 Issue 5, May 2013

  22. Anton Beloglazov_ and Rajkumar Buyya, Optimal Online Deterministic Algorithms and Adaptive Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in Cloud Data Centers , CONCURRENCY AND COMPUTATION: PRACTICE AND EXPERIENCE Concurrency Computat.: Pract.

    Exper. 2012; 24:13971420

  23. Hetal Joshiyara, Energy Efficient Provisioning of Virtual Machines in Cloud System using DVFS, INDIAN JOURNAL OF RESEARCH Volume : 3 | Issue : 4 | May 2013

  24. Nguyen Quang Hung, Nam Thoai, Nguyen Thanh Son, PERFORMANCE CONSTRAINT AND POWER-AWARE ALLOCATION FOR USER REQUESTS IN VIRTUAL COMPUTING LAB,

  25. Bahman Javadi, Jemal Abawajy, Rajkumar Buyya, Failure-aware resource provisioning for hybrid Cloud infrastructure, J. Parallel Distrib. Comput. 72 (2012) 13181331

  26. Kritika Sharma, Raman Maini, Cloud Computing and the Cloud Simulation, International Journal of Engineering Research & Technology (IJERT) ISSN: 2278-0181 Vol. 3 Issue 5, May 2014.

  27. Nikzad Babaii Rizvandi, Javid Taheri, Albert Y. Zomaya, Young Choon Lee, Linear combinations of DVFS-enabled processor frequencies to modify the energy-aware scheduling algorithms, in: Proc. of the 2010 10th IEEE/ACM International Conference on Cluster, Cloud and Grid Computing, 2010, pp. 388397.

Leave a Reply