<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Eco-Efficient Cloud Resource Monitoring and Analysis An approach for saving energy and reducing the carbon footprint of cloud infrastructures</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Axel</forename><surname>Tenschert</surname></persName>
							<email>tenschert@hlrs.de</email>
						</author>
						<author>
							<persName><forename type="first">Pavel</forename><surname>Skvortsov</surname></persName>
							<email>skvortsov@hlrs.de</email>
						</author>
						<author>
							<persName><forename type="first">Michael</forename><surname>Gienger</surname></persName>
							<email>gienger@hlrs.de</email>
						</author>
						<author>
							<affiliation key="aff0">
								<orgName type="institution">HLRS -High Performance Computing Center</orgName>
							</affiliation>
						</author>
						<author>
							<affiliation key="aff1">
								<orgName type="institution">University of Stuttgart Stuttgart</orgName>
								<address>
									<country key="DE">Germany</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Eco-Efficient Cloud Resource Monitoring and Analysis An approach for saving energy and reducing the carbon footprint of cloud infrastructures</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">F4710EA896F45DFE2D5EA5EAF117BD13</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-25T02:36+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>Cloud computing</term>
					<term>Monitoring</term>
					<term>Data Mining</term>
					<term>Eco-efficiency</term>
					<term>Carbon footprint</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>This paper presents an approach for monitoring cloud computing resources by using customized monitoring metrics. In addition, based on the monitoring results, this approach includes a data mining analysis for making assumptions regarding consumed power of infrastructure and virtual machines (VMs) aiming at a reduced carbon footprint.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>This work presents an enhanced monitoring approach considering the infrastructure of providers' sites and the virtual machines (VMs) hosted on physical nodes. It considers the GAMES <ref type="bibr" target="#b0">[1]</ref> and the OPTIMIS <ref type="bibr" target="#b1">[2]</ref> projects, that were both developing methods for energy-aware resource usage. As the monitoring infrastructure (figure <ref type="figure" target="#fig_0">1</ref>) is based on standardized software, customization is the goal for ensuring the relevant values to reduce the power consumption and in addition, the eco-efficiency of the infrastructure providers and the overall carbon footprint. The presented monitoring approach demonstrates a monitoring system making use of a Zabbix <ref type="bibr" target="#b2">[3]</ref> monitoring server being connected to Zabbix client agents installed on each physical node. Additionally, a data mining analysis is performed on the monitored data set.</p><p>The developed and implemented concept for monitoring cloud resources makes use of the European funded BonFIRE <ref type="bibr" target="#b3">[4]</ref> project that was extended by the ECO 2 Clouds <ref type="bibr" target="#b4">[5]</ref> project. ECO 2 Clouds adapts and extends the already provided monitoring capabilities by the providers EPCC, INRIA and HLRS with the aim to reduce the power consumption and improve the carbon footprint through monitoring and analyzing required data. One major step of the overall approach is to elaborate the power consumption of VMs.</p><p>This paper is structured as follows: (1) Introduction, (2) Monitoring and Metrics, (3) Data Mining Analysis and (4) Conclusions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. MONITORING AND METRICS</head><p>The ECO 2 Clouds monitoring system is a layered approach distinguishing mainly between the physical infrastructure and the virtualization layer. Additionally, applications can be monitored as well but as this information is highly dependent on the application, this paper won't target the specific application monitoring. For those three layers, a Zabbix client agent is gathering monitoring information and sends it to the Zabbix server in order to provide a monitoring information repository to assist in optimization decision making. To enable power measurements for all three layers, power distribution units are attached to the physical servers. The monitored parameters are derived as defined by customized monitoring metrics based on standard programming languages like Python, Ruby or even Bash.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. The infrastructure and virtualization layer</head><p>The infrastructure layer is represented by the physical infrastructure of a cloud provider, including physical nodes, storages or network devices. Thus, the developed monitoring approach needs to measure parameters of those physical components in order to enable a data analysis based on the current state of the infrastructure for making assumptions regarding the overall system behavior. Besides the Copyright © papers' authors. Copying permitted only for private and academic purposes. This volume is published and copyrighted by its editors. infrastructure layer, especially the virtualization layer is a crucial part as more or less the virtualization defines a completely separated environment for applications. Thus, it is essentially important to monitor those two layers in a fine grained manner. Furthermore, for providing accurate information for an optimized power consumption, both layers have to be linked together by the creation of calculated metric as presented in figure <ref type="figure" target="#fig_1">2</ref>. It presents structure of the layered approach by presenting the virtual machines (VMs), the infrastructure and the power distribution units (PDUs) for measuring the power consumption of physical nodes and showing the connection of those three via Zabbix to the three layers. To perform all necessary calculations being defined in the set of monitoring metrics the Zabbix server (infrastructure) and the aggregator (Zabbix at VM level) need to be able to communicate to each other.</p><p>Coming back to the infrastructure layer, it refers to the characteristics of the sites and the resources available in each of them. Thus a set of metrics was defined for measuring relevant infrastructure parameters and calculate them for enabling data analysis.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. The virtualization layer</head><p>The virtualization layer contains the underlying hypervisor including the virtual machines (VMs) hosting the applications (or part of applications) that are used to manage the cloud infrastructure (e.g., the monitoring system) or that are offered to the users (e.g., user specific business applications). In order to create separated environments, the virtualization layer can be freely configured: the amount of CPU, memory and disk space can be aligned to the used application hosted inside.</p><p>Metrics at the virtualization layer aim to characterize the VMs on which the applications are running. They are analyzed to evaluate if the current deployment can be further improved and thus optimized. The analysis of the VM energy consumption aims to understand how the energy consumed by the host is distributed among the deployed VMs. Moreover, new metrics were defined inspired by the data center metrics (infrastructure) proposed in the last years, especially by The Green Grid Consortium (GreenGrid). The idea is to redefine the classical infrastructural metrics, like PUE and Data Centre Energy Productivity (DCeP), at virtualization level to measure the impact of the application tasks in terms of energy consumption and carbon emissions.</p><p>As already stated, the applications inside a VM can also be monitored in particular. But due to the application character, the metrics are highly specialized and cannot be regarded in a generic fashion.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. The monitoring metrics</head><p>This subsection will describe some of the most important metrics to improve the energy consumption as well as the carbon footprint for the infrastructure providers as well as for the users.</p><p>For improving the carbon footprint of an infrastructure provider, metrics like "Carbon Usage Effectiveness of the Provider", "Green Efficiency Coefficient of the Electrical Supplier" or the "Site Infrastructure Efficiency" are considered. They are dealing with the amount of energy consumed and in particular, on which basis the requested energy was generated. As presented in the Data Mining section, there are big differences in the amount of CO 2 created to power the machines at different days or even times. For infrastructure providers, the mandatory metrics are global: monitoring a single host is not sufficient. In order to understand the infrastructure load, metrics like "Service Availability" as well as "Storage and CPU as well as Memory Utilization" are also of interest and have to be considered.</p><p>The power consumption of VMs depends on the size of a VM defined through the used memory, the data I/O identified through the send and receive activities, the disk activity identified through the read and write operations and the consumed CPU seconds. Thus, the infrastructure and the virtualization layer are involved to derive the information for this important metric (figure <ref type="figure" target="#fig_2">3</ref>). Finally, the power information of a VM can be correlated with the "Green Efficiency Coefficient of the Electrical Supplier" resulting in additional metrics. But the results are impressive: the calculation of the virtual machine power consumption is possible and even more, the produced carbon can be observed as well. Especially for distributed computing and data centers, there are differences for the location and timeslot hosting the virtual instances.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. DATA MINING ANALYSIS</head><p>The monitoring infrastructure described before is producing large amounts of data in a short period of time. This data is being collected into Accounting DB by the Accounting Service, which runs on a separate host. During our experiments, we have observed that the size of the collected Copyright © papers' authors. Copying permitted only for private and academic purposes. This volume is published and copyrighted by its editors. metrics data varies between 10 and 20 Mb per day. As the result, the fast-growing SQL database of the Accounting Service host may shortly reach the storage capacity limits of the Accounting node. This would trigger the automatic deletion of the old data by Zabbix. In order to avoid the loss of historical raw data and to allow for its statistical analysis, we have developed the ECO 2 Clouds Data Mining service (DM Service). Next, we present architecture, concepts and analysis principles of the DM Service in more detail.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Architecture</head><p>DM Service consists of two major components (figure <ref type="figure" target="#fig_3">4</ref>). The first component is running on the Accounting Service to perform transfer of non-reduced metrics data to a remote data storage (DM Storage), and to generate a reduced data set.</p><p>The second component is DM Storage, which gathers the non-reduced metrics data and performs statistical analysis over them, e.g., correlation analysis over a large enough portion of data. The resulting stable parameters of this analysis are inserted into the Accounting DB as a separate table. The initial non-reduced data are deleted -thus, each time the Accounting Service has to perform operations over a metrics data set which was produced only during the last 24 hours</p><p>The resulting loss of data at the Accounting DB does not affect the Scheduler functionality, because it does not use the historical data for physical hosts, while for experiments we only reduce the data of finished (non-active) experiments only.</p><p>On the DM Storage side, the statistical analysis of the data is performed. The results are inserted into Accounting DB.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Implementation</head><p>On the Accounting VM, we install a bash script which performs the following operations: (1) Creates a temporary SQL-dump of the current non-reduced "e2c_collector" database. (2) Imports the generated SQL-dump into DM Storage by inserting the rows incrementally to the previously stored there data. (3) Removes the temporary SQL-dump from the Accounting VM. (4) Calls the reduction service implemented as a Java program, which performs the data reduction and inserts its results into a separate database on the same VM.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Data Analysis</head><p>On the DM Storage side, the metrics data analysis is being performed. The aim of statistical data analysis is to find correlation patterns, which may help to define the deployment strategies depending, for instance, on the time of the day.</p><p>One example a pattern of the power consumption and emissions depending on the time of the day is shown in Fig. <ref type="figure">5</ref>. 0 :0 0 # 1 :0 0 # 2 :0 0 # 3 :0 0 # 4 :0 0 # 5 :0 0 # 6 :0 0 # 7 :0 0 # 8 :0 0 # 9 :0 0 # 1 0 :0 0 # 1 1 :0 0 # 1 2 :0 0 # 1 3 :0 0 # 1 4 :0 0 # 1 5 :0 0 # 1 6 :0 0 # 1 7 :0 0 # 1 8 :0 0 # 1 9 :0 0 # 2 0 :0 0 # 2 1 :0 0 # 2 2 :0 0 # 2 3 :0 0 # Week#day#average# Weekend#day#average# Fig. <ref type="figure">5</ref>: Emissions during the week and weekend days <ref type="bibr" target="#b5">[6]</ref> (see ECO2Clouds project publications of WP3 for detailed analysis methods)</p><p>IV. CONCLUSIONS</p><p>The presented monitoring architecture uses customized monitoring metrics and enables a data analysis providing result data regarding a cloud system behavior. The focus of the approach is the monitoring and analysis of data related to the used energy mix and consumed power on infrastructure and virtualization level.</p><p>Thus, it becomes possible to align the VM scheduling to the workload of the physical infrastructure by considering the power consumption and the carbon footprint through knowing about the energy mix. Herewith, costs for consumed power and CO 2 emissions are reduced for a cloud infrastructure. Future work will be using the presented monitoring infrastructure and the implemented metrics as basis for running experiments and supporting the deployment of use cases.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: The monitoring infrastructure</figDesc><graphic coords="1,59.04,478.08,238.80,186.00" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Fig. 2 :</head><label>2</label><figDesc>Fig. 2: The layered monitoring approach</figDesc><graphic coords="2,44.64,146.40,251.76,104.16" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Fig. 3 :</head><label>3</label><figDesc>Fig. 3: Power consumption per VM</figDesc><graphic coords="2,329.52,408.96,216.72,103.68" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>Fig. 4 :</head><label>4</label><figDesc>Fig. 4: Data Mining Architecture B. Concept The Data Mining workflow consists of the following steps. (1) Triggered daily, the Accounting Service inserts the new non-reduced data into the database of DM Storage. (2) Triggered daily, the Accounting Service performs the reduction of the metrics data; the results of data reduction are inserted into a separate database on the Accounting VM. (3)The initial non-reduced data are deleted -thus, each time the Accounting Service has to perform operations over a metrics data set which was produced only during the last 24 hoursThe resulting loss of data at the Accounting DB does not affect the Scheduler functionality, because it does not use the historical data for physical hosts, while for experiments we only reduce the data of finished (non-active) experiments only.On the DM Storage side, the statistical analysis of the data is performed. The results are inserted into Accounting DB.</figDesc></figure>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ACKNOWLEDGMENT</head><p>This work has been supported by the ECO 2 Clouds project (http://eco2clouds.eu/) and has been partly funded by the European Commission's IST activity of the 7th Framework Programme under contract number 318048. This paper expresses the opinions of the authors and not necessarily those of the European Commission. The European Commission is not liable for any use that may be made of the information contained in this paper.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">GAMES: Green Active Management of Energy in IT Service Centres</title>
		<author>
			<persName><forename type="first">M</forename><surname>Bertoncini</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Pernici</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><surname>Salomie</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Wesner</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">CAiSE Forum</title>
		<imprint>
			<biblScope unit="page" from="238" to="252" />
			<date type="published" when="2010">2010</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">A service framework for energy-aware monitoring and VM management in Clouds</title>
		<author>
			<persName><forename type="first">G</forename><surname>Katsaros</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Subirats</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">O</forename><surname>Fitó</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Guitart</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Gilet</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Espling</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Future Generation Computer Systems</title>
		<imprint>
			<biblScope unit="volume">29</biblScope>
			<biblScope unit="issue">8</biblScope>
			<date type="published" when="2013-10">October 2013</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<monogr>
		<ptr target="https://www.zabbix.com" />
		<title level="m">The Zabbix website documentation</title>
				<imprint>
			<date type="published" when="2014-06-27">27.06.2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<ptr target="http://www.bonfire-project.eu/" />
		<title level="m">The BonFIRE Project Website</title>
				<imprint>
			<date type="published" when="2014-06-27">27.06.2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<monogr>
		<ptr target="visited:27." />
		<title level="m">The ECO 2 Clouds Project Website</title>
				<imprint>
			<date type="published" when="2014-06">06.2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Sustainable choices for cloud applications: a focus on CO2 emissions</title>
		<author>
			<persName><forename type="first">C</forename><surname>Cappiello</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Melià</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Pernici</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Plebani</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Vitali</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the ICT4S</title>
				<meeting>the ICT4S</meeting>
		<imprint>
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
