An Efficient Reducing Mechanismfor Energy Consumption in Cloud
An Efficient Reducing Mechanismfor Energy Consumption in Cloud
net/publication/377255456
CITATIONS READS
0 17
2 authors:
All content following this page was uploaded by Ezekiel Oyekanmi on 09 January 2024.
ABSTRACT
The rise in internet user demand is a major factor in the expansion of infrastructure and the upsurge in energy
use in cloud, colocation, and some business data centres. The advent of 5G has compounded the situation, as it
substantially gives room for many new types of digital services, resulting in a need for richer media formats and
higher resolution content which consume a lot of energy when no scaling method is applied. Services such as
email, data storage and retrieval and other cloud services also require a lot of high energy consumption which
eventually result into carbon(IV) oxide (CO2) emissions to the environment. This research therefore, focuses on
lowering the energy usage of a data centre with heterogeneous power awareness either in an idle server state or
high-performance state using a novel hybridized algorithm called “DyVoFesLoReMu”, comprising Dynamic
Voltage Frequency Scaling (Dvfs) and a modified Local Regression Minimum Utilization (LrMu). A real dataset
(workload) obtained online from PlanetLab consisting of hosts and Virtual Machines (VM) was simulated on a
data center in CloudSim 3.0.3. Tool kit with preset parameters consisting of VM Allocation Policy and VM
Selection Policy was used. The tool kit was utilised to create cloud infrastructure and simulate the essential
features of a cloud environment. The Cloudsim was installed on Eclipse Integrated Development Environment
(IDE) 2019 version on Windows 10 operating system. The hybridized algorithm was compared with other five
(5) existing energy reducing algorithms and it was found to be more efficient with a range of 41-90% reduction
in energy usage from the ten days workload traces and in comparison with the existing algorithms used for the
simulation.
Investigating and locating inefficiencies in order simulated to aid energy reduction in datacenter.
to enhance the capabilities of current facilities is
an alternative to constructing new data centres or In order to increase energy efficiency and lower
expanding existing ones. energy consumption of the facilities used in data
centres, this research developed a novel strategy
Data growth trends will continue to increase as the called DyVoFesLoReMu.
world consumes more and more data especially
now that pandemic is ravaging the world and there RELATED WORK
was a paradigm shift to the usage of cloud Many authors have contributed to knowledge in
services. Survey conducted by Bashroush (2020) the area of reducing energy consumption and
suggests that users of the internet, particularly their works span through placement of servers
those who use social media and cryptocurrencies and adjustment of power state of servers. It was
run by datacenters, require large-scale data centers suggested in (Abdelsamea et al., 2017) to improve
that need enormous amount of electric power to virtual machine consolidation using hybrid
provide good quality of service (Yadav and Garg, regression algorithms. This technique, called a
2019). According to US figures, data centres Hybrid Local Regression Host Overload
quadruple every five years and use around 3% of Detection algorithm (HLRHOD), was created to
the world's electrical generation (Rallo, 2014; reduce energy usage while assuring a high level of
Shaw, 2007). adherence to Service Level Agreements (SLA).
Instead of using just one utilisation parameter
One of the ways to ensure effective cloud (CPU usage), three were used: CPU, Memory, and
computing technology is to avoid wastage or loss Bandwidth. VM behaviour is rarely a function of
of data stored in the cloud. This can only be done one variable; rather, it should be a function of
when power is conserved. Hence, a novel several factors since the results from the
technique is presented to continue in the combined factors are better than the results from
conservation of energy usage on datacenter as a the single-factor methods. The outcome was
way of reducing energy consumption by its IT tested on a single PlanetLab workload with 800
infrastructure. hosts and 1033 virtual machines, however the
percentage reduction was between 20 and 24. This
Energy conservation methods have been study has motivated us to develop a hybrid
employed in data centres. These methods provide method that can improve energy efficiency in the
servers with fundamental energy management. cloud.
The methods include putting servers in sleep
mode, turning them on and off, using dynamic Zahedi et al. (2017) accomplished energy
voltage/frequency scaling (DVFS) to change the reduction, Quality of Service and temperature
power states of servers, and putting virtual balancing in the cloud data centre using a unique
migration strategy into practise. Despite all the virtual machine consolidation technique. The
methods for conserving energy in data centres, the authors used CloudSim tool to simulate the
intricate operations of cloud data centres suggested technique. The outcome of the
necessitate an upgrade to a high efficiency simulation certified that physical machine
management system so that servers can operate at temperature, SLA, and migration technique can
their peak efficiency. The energized processing together control the energy consumption and
power of data centers during the distribution, QoS in a cloud data center.
processing and storage of data also necessitate the
need for the establishment of an effective, As an alternative to Dynamic Voltage Frequency
efficient, reliable way that can withstand or Scaling and VM consolidation, a new algorithm
prevent any loss, wastage or reduction in energy dubbed Brownout was also proposed by Buyya
consumption during the idle or busy state of and Gill (2018). The combined brownout
servers. Leveraging on the earlier discussed issues, approach reduces energy consumption by
in this research, a hybridized scheme comprising selectively and dynamically deactivating
Dvfs and LrMu algorithms was designed and application optional components, and it can also
Oyekanmi and Adegoke: An Efficient Reducing Mechanism for Energy Consumption 429
be used with self-contained microservices. The Zhou et al. (2021) addresses the issue of load
findings demonstrate that their method can variation during VM allocation and placement, an
reduce energy use by more than 20%, albeit there energy-efficient VM allocation and deployment
are trade-offs between energy savings and user technique based on an adaptive energy-aware
discounts. It was discovered to be better than architecture for internet of thing (IOT)
DVFS at preventing overloading. In comparison applications was given and the experimental
to the outcome of our established hybrid analysis was carried out using PlanetLab virtual
approach, the reduction in percentage is still machines running a real-world workload with
modest. various safety parameter ranges between 0.5 and
3.0.
Ahmad et al. (2018) proposed a solution for the
energy saving problem by enabling dynamic A dynamic VM selection algorithm known as
voltage and frequency scaling technique for Minimum Size Utilisation (MSU) was devised by
gaming data centers. The dynamic voltage and Yadav et al (2021) to choose the VMs from an
frequency scaling technique was compared against overloaded host for VM consolidation. The goal
non-power aware and static threshold detection of this study was to improve cloud data centres'
techniques. This helps service providers to meet energy efficiency. In comparison to the other
the quality of service and quality of experience baseline schemes, the suggested algorithm was
constraints by meeting service level agreements. able to reduce energy usage and SLA violation by
Game traces were used as a workload for testing an average of 23% and 27.5%, respectively.
the technique. Selection of better techniques
helped gaming servers to save energy cost and The performance of energy consumption
maintain a better quality of service for users reduction using our suggested strategy was found
placed globally. This work provides an to be more effective than the state-of the-art
opportunity to investigate which technique based on our findings.
behaves better — dynamic, static or non-power
aware. The results demonstrate that less energy is SYSTEM MODEL ARCHITECTURE
consumed by implementing a dynamic voltage One way to reduce energy consumption is by way
and frequency approach in comparison with static of dynamically readjusting the VM. With this
threshold consolidation or non-power aware approach of consolidation, virtual machines are
technique. However, the work failed to carried out placed on all host as a form of initialization based
enhancement for energy saving technique in Big on the requirement of the host. This is referred to
Data (such as the one used in the experimentation as default placement of VMs. However, as the
of our study) and detailed analysis were not needs of the VMs evolve over time, readjustment
provided. (consolidation) of the VM happens dynamically.
As a result of this dynamic shift, periodic
LrMu algorithm was analysed and compared with provisioning of the underlying resources is
Non Power aware, Dvfs, ThRs, IqrMc,Madmmt required to adequately support the VMs while
algorithms (Nagpal et al., 2018). But, the work was minimising energy consumption and Service
carried out using a random workload and less VM Level Ag reement (SLA) violations. A
and host. complementary approach to VM consolidation
using DyVoFesLoReMU while finding suitable
Yavari et al. (2019) also improve the consolidation host for a VM is designed as shown in Figure 1.
problem of VMs by combining two novel During checking of Overloaded Host, a Mean
techniques which are heuristic energy and Size Utilization Scheme was also implemented
temperature aware based virtual machine towards reducing the energy consumption in a
consolidation (HET-VC) and Firefly energy and datacenter.
temperature aware based virtual machine
consolidation (FET-VC).
430 Oyekanmi and Adegoke: An Efficient Reducing Mechanism for Energy Consumption
the workload traces were gathered. You may find characteristics of the workload are shown in Table
more information about these traces at 1. More than 500 servers around the world's
https://github.com/beloglazov/planetlab- locations were used to gather data on CPU usage.
workload-traces. According to workload traces, The task involved thousands of VMs, and
the CPU utilization used during data collection measurements of CPU utilisation showed that it
was less than 50%, and during the simulation, the took 5 minutes (Beloglazov and Buyya, 2012).
VM assignment had been random. The
Table 1: CPU utilization of workload data (Beloglazov and Buyya, 2012).
Date Number Number Mean (SD) % Quartile1 (%) Median (%) Quartile3 (%)
of VMs of Host
03/03/2011 1052 800 12.31(17.09) 2 6 15
06/03/2011 898 800 11.44(16.83) 2 5 13
09/03/2011 1061 800 10.70(15.57) 2 4 13
22/03/2011 1516 800 9.26(12.78) 2 5 12
25/03/2011 1078 800 10.56(14.14) 2 6 14
03/04/2011 1463 800 12.39(16.55) 2 6 17
09/04/2011 1358 800 11.12(15.09) 2 6 15
11/04/2011 1233 800 11.56(15.07) 2 6 16
12/04/2011 1054 800 11.54(15.15) 2 6 16
20/04/2011 1033 800 10.43(15.21) 2 4 12
with a dual-core processor, 2 GB RAM, and 1 GB Java Eclipse. For example, regression calculations
storage using a Java Runtime Environment (JRE). performed in Local Regression Mean Utilisation
The CloudSim toolkit 3.0.3 was installed and set are addressed by this library of lightweight, self-
up for efficient operation using Java Eclipse as the contained mathematics and statistics components.
development environment, as indicated in Table 3. The Java Runtime Environment (JRE) was able to
The Apache Commons Math library, which execute the CloudSim source since once it has
addresses the most prevalent practical issues not been converted by the Java Development Kit
immediately addressed in the Java programming (JDK).
language or commons-lang, was imported into the
NUMBER OF VM MIGRATION
Workload
DyVoFesLoReMU dvfs lrmu thrmu madmu iqrmu
20110303 2458 0 29555 30188 30051 29901
20110306 2166 0 21915 23729 23566 23256
20110309 2657 0 25876 27194 26536 27177
20110322 3423 0 32710 33552 32035 33084
20110325 2536 0 27426 27939 27485 27754
20110403 3180 0 40277 40430 39815 39910
20110409 3041 0 32546 33047 32292 32502
20110411 2925 0 31007 32703 31336 32064
20110412 2528 0 27882 28813 27150 28026
20110420 2483 0 24998 26250 25890 26511
Oyekanmi and Adegoke: An Efficient Reducing Mechanism for Energy Consumption 435
Table 6 displays the number of hosts that were shut Figure 4 shows the graphical representation of the
down during the ten-day workload traces for the workload trace against the number of host shut down
proposed approach and the compared methods. during the simulation.
Figure 4: Graph of the number of host shut down against workload trace.
436 Oyekanmi and Adegoke: An Efficient Reducing Mechanism for Energy Consumption
Table 7 shows the execution total mean time for shown in Figure 5. The equation from the graph
both the proposed method for ten days workload shows that the performance of the method used is
traces from PlanetLab. The graph of the total 82% efficient.
mean time plotted against the number of VMS is
Table 7: Simulation result of total mean time using DyVoFesLoReMU.
Simulation Result with Adjustment of Safety following the MSU scheme earlier discussed in
Parameter section III. The MSU scheme was induced on all
In CloudSim 3.0.3, the standard policy used for the methods in Cloudsim 3.0.3 that uses median
VM allocation is median deviation VM power absolute deviation scheme with minimum
policy which is implemented in a file labelled as utilization and the safety parameter of the
“PowerVmAllocationPolicyMigrationMedianAbs methods were also adjusted. This section's results
oluteDeviation”. This file uses a VM selection demonstrate the high effectiveness of the
policy to choose the VM with the lowest CPU suggested induced MSU on all the approaches.
Utilisation for migration. This is checked The performance was measured by observing the
especially for overloaded host. However, we percentage of reduction on average using the
modified this file and a mean utilization was used report of March 3, 2011 from PlanetLab which is
Oyekanmi and Adegoke: An Efficient Reducing Mechanism for Energy Consumption 437
Table 8: Energy consumption under CPU mean (induced) and minimum utilization.
LRMU_1.2 THRMU_0.8 MAD_2.5 IQRMU_1.5
(kw/h) (kw/h) (kw/h) (kw/h)
With MSU Induced 102.79 102.41 100.12 100.7
normal 174.24 206.73 275.84 204.22
Reduction rate (%) 59 50 36 49
The safety parameter was adjusted and simulated but yet with the variant safety parameter. The
under the proposed CPU utilization scheme output was recorded on average scale as shown on
induced in all the related methods. Another Tables 9-12 and the graphs are represented on
simulation was run without the proposed scheme Figures 6-9.
Table 11: Energy consumption reduction under Inter Quartile Range selection method
Method
Induced
IqrMu MSU
Safety
POLICY
Coefficient
0.5 194.29 92.1
1 198.46 98.14
1.5 204.22 100.7
2 210.16 105.92
2.5 214.46 108.97
3 222.78 113.34
AVERAGE 207.40 103.20
% Average
50.24
Reduction Figure 8: Proposed MU policy on IqrMU.
Table 12: Energy consumption reduction under local regression selection method
Method
Induced
LrMu MSU
Safety
POLICY
Coefficient
0.5 92.96 54.49
1 142.73 91.21
1.5 199.99 117.65
2 236.23 131.13
2.5 268.77 133.61
3 304.35 133.81
AVERAGE 207.51 110.32
% Average
46.84
Reduction
Figure 9: Proposed MU policy on LrMU.
The report shown on Tables 9-12 reflect that the selection method with 51.21% and 50.24%,
implementation of mean size utilization of the respectively. Both Threshold Random and Local
CPU on Median Absolute Deviation selection Regression selection methods have same value of
method, has the highest reduction value on 46.84% reduction on average. The report of the
average, followed by Inter Quartile Range SLA violation is shown in Table 13 and Figure 10.
Jay, K. and Chuck, R., 2021. Improving data center Yadav, A. K., Garg, M. L., and Ritika, 2019. The
efficiency through Intel technologies and Issues of Energy Efficiency in Cloud
high ambient temperature operation. Computing Based Data Centers.
Retrieved September 2 0 2 1 , f r o m Bioscience Biotechnology Research
https://www.intel.com/content/dam/d Communications, 12(2).
oc/technolog y-brief/efficient- doi: 10.21786/bbrc/12.2/35
datacenter-high-ambient-temperature- Yadav, R., Zhang, W., Li, K., Liu, C., and Laghari,
operation-brief.pdf, 2021. A. A., 2021. Managing overloaded hosts
Leverich, J. B., 2014. Future scaling of datacenter for energy-efficiency in cloud data centers.
power-efficiency. Stanford University. Cluster Computing, 1-15.
Nagpal, S., Neeraj, D. and Surjeet D., 2018. doi.:10.1007/s10586-020-03182-3
Analysis of LrMu Power Algorithm in the Yavari, M., Ghaffarpour Rahbar, A., and Fathi, M.
Cloud Computing Environment using H., 2019. Temperature and energy-aware
CloudSim Toolkit. IJRECE, 6(3): 1175- consolidation algorithms in cloud
1177. computing. Journal of Cloud Computing,
Rallo, A., 2014. Industry outlook: Data center 8(1), 1-16.
energy efficiency. Retrieved September, doi: 10.1186/s13677-019-0136-9
24, 2018. Zahedi Fard, S. Y., Ahmadi, M. R., and Adabi, S.,
Shaw, D., 2005. EPA's 2007 report on the 2017. A dynamic VM consolidation
environment: Science report (SAB review technique for QoS and energ y
draft). consumption in cloud environment. The
Spengler, T., and Wilmsmeier, G., 2019. Journal of Supercomputing, 73(10), 4347-
Sustainable performance and 4368.
benchmarking in container doi: 10.1007/s11227-017-2016-8
terminals—The energy dimension. In Zhou, Z., Shojafar, M., Alazab, M., Abawajy, J.,
Green ports (pp. 125-154). and Li, F., 2021. AFED-EF: An energy-
doi: 10.1016/B978-0-12-814054- efficient VM allocation algorithm for IoT
3.00007-4 applications in a cloud data center. IEEE
Tang, L., Chen, Y., Li, F., Zhang, H., and Li, J., Transactions on Green Communications
2007. Empirical study on the evolution of and Networking, 5(2), 658-669.
planetlab. In Sixth International doi.org/10.1109/TGCN.2021.3067309
Conference on Networking (ICN'07) (pp.
64-64).
doi:10.1109/ICN.2007.40