Resources Utilization and Allocation – Final Report
Total Page:16
File Type:pdf, Size:1020Kb
Ref. Ares(2019)1458230 - 04/03/2019 Resources Utilization and Allocation – Final Report Co-funded by the Horizon 2020 Framework Programme of the European Union DELIVERABLE NUMBER D5.9 DELIVERABLE TITLE Resources Utilization and Allocation – Final Report RESPONSIBLE AUTHOR Scionti A. (ISMB) OPERA: LOw Power Heterogeneous Architecture for Next Generation of SmaRt Infrastructure and Platform in Industrial and Societal Applications GRANT AGREEMENT N. 688386 PROJECT REF. NO H2020- 688386 PROJECT ACRONYM OPERA LOw Power Heterogeneous Architecture for Next Generation of SmaRt PROJECT FULL NAME Infrastructure and Platform in Industrial and Societal Applications STARTING DATE (DUR.) 01/12/2015 ENDING DATE 30/11/2018 PROJECT WEBSITE www.operaproject.eu WORKPACKAGE N. | TITLE WP5 | Optimized Workload Management on Heterogeneous Architecture WORKPACKAGE LEADER IBM DELIVERABLE N. | TITLE D5.9 | Resources Utilization and Allocation – Final Report RESPONSIBLE AUTHOR Scionti A. (ISMB) DATE OF DELIVERY (CONTRACTUAL) 30/09/2018 (M34) DATE OF DELIVERY (SUBMITTED) 15/02/2019 (Resubmission) VERSION | STATUS V2.0 | Update NATURE R(Report) DISSEMINATION LEVEL PU(Public) Scionti A. (ISMB ); Lubrano F. (ISMB ); Nider J. (IBM) ; Rapoport M. (IBM) , AUTHORS (PARTNER) Gallig R. (HPE) D5.9 | Resources Utilization and Allocation – Final Report 1 OPERA: LOw Power Heterogeneous Architecture for Next Generation of SmaRt Infrastructure and Platform in Industrial and Societal Applications VERSION MODIFICATION(S) DATE AUTHOR(S) Scionti A. (ISMB), 0.1 Initial structure and TOC 28/08/2018 Lubrano F. (ISMB) Scionti A. (ISMB), Lubrano F. (ISMB), 0.2 First draft 29/08/2018 Nider J. (IBM), Rapoport M. (IBM) Scionti A. (ISMB), Lubrano F. (ISMB), 0.3 Second draft 17/09/2018 Nider J. (IBM), Rapoport M. (IBM) Scionti A. (ISMB), Received comments Lubrano F. (ISMB), 0.4 19/09/2018 and feedbacks from HPE Nider J. (IBM), Rapoport M. (IBM), Gallig R. (HPE) Addressed comments Scionti A. (ISMB), 0.5 24/09/2018 from HPE Lubrano F. (ISMB) Addressed comments Scionti A. (ISMB), Nider 0.6 26/09/2018 from IBM J. (IBM) Final version of the 1.0 26/09/2018 Scionti A. (ISMB) document This version includes additional material 1.1 30/01/2019 Scionti A. (ISMB) covering reviewers’ comments Nider J. (IBM), Scionti A. Adding contribution 1.2 31/01/2019 (ISMB), Lubrano F. from IBM (ISMB) 2.0 Final rev iew 15/02/2019 Giulio Urlini (ST) D5.9 | Resources Utilization and Allocation – Final Report 2 OPERA: LOw Power Heterogeneous Architecture for Next Generation of SmaRt Infrastructure and Platform in Industrial and Societal Applications PARTICIPANTS CONTACT Giulio Urlini STMICROELECTRONICS SRL Email : [email protected] IBM ISRAEL Joel Nider SCIENCE AND TECHNOLOGY LTD Email: [email protected] HEWLETT PACKARD Renaud Gallig CENTRE DE COMPETENCES Email: [email protected] (FRANCE) Craig Petrie NALLATECH LTD Email: [email protected] ISTITUTO SUPERIORE Olivier Terzo MARIO BOELLA Email: [email protected] TECHNION ISRAEL Dan Tsafrir INSTITUTE OF TECHNOLOGY Email: [email protected] Vittorio Vallero CSI PIEMONTE Email: [email protected] Stéphane Gervais NEAVIA TECHNOLOGIES Email: [email protected] Frank Verhagen CERIOS GREEN BV Email: [email protected] Stefano Serra TESEO SPA Email: [email protected] DEPARTEMENT DE Olivier Latouille L'ISERE Email: [email protected] D5.9 | Resources Utilization and Allocation – Final Report 3 OPERA: LOw Power Heterogeneous Architecture for Next Generation of SmaRt Infrastructure and Platform in Industrial and Societal Applications ACRONYMS LIST DC Data Center LOA Local Optimization Algorithm GOA Global Optimization Algorithm ECRAE Efficient Cloud Resources Allocation Engine DVFS Dynamic Voltage Frequency Scaling VM Virtual Machine LC Linux Container MILP Mixed Integer Linear Programming PSO Particle Swarm Optimization ES Evolutionary Strategy GA Genetic Algorithm ISA Instruction Set Architecture Table 1 - Acronym list. LIST OF FIGURES Figure 1 - Functional view of the DC orchestrator. .................................................................................... 9 Figure 2 - OPERA orchestrator (ECRAE): logical overview of the system (see D7.7, D7.8 for OpenStack testbed installation). ............................................................................................................................... 10 Figure 3 - FPGA (Intel Arria10) linearized power model. .......................................................................... 13 Figure 4 - General structure of population and the effect of discretization. ............................................ 21 Figure 5 - Fitness trend (normalized to that of First-Fit heuristic) for the PSO-based heuristic solving a small instance of the optimisation problem (lower is better). .......................................................................... 22 Figure 6 - Flow chart representing the main steps of the proposed ES. ................................................... 23 Figure 7 - Data structure for the proposed ES heuristic. .......................................................................... 24 Figure 8 - Graphical representation of the TSWP operator. ..................................................................... 25 Figure 9 – Graphical representation of the TFFC operator. ..................................................................... 26 Figure 10 - Heuristic parallelization using the island model. .................................................................... 28 Figure 11 - Memory consumption trace for the small problem instance. ................................................ 29 Figure 12 - Memory consumption trace for the large problem instance. ................................................. 30 Figure 13 - Execution of the ES for the large instance problem. .............................................................. 30 Figure 14 - Overall power reduction of the DC (1000 hosts). ................................................................... 37 LIST OF TABLES Table 1 - Acronym list. .............................................................................................................................. 4 Table 2 - List of used variables constants in the workload optimization problem formulation. ............... 19 D5.9 | Resources Utilization and Allocation – Final Report 4 OPERA: LOw Power Heterogeneous Architecture for Next Generation of SmaRt Infrastructure and Platform in Industrial and Societal Applications EXECUTIVE SUMMARY Work Package 5 (WP5) aims at providing a mechanism to efficiently deploy applications on the data centre resources. The “efficiency” expected from the proposed mechanism concerns the energy consumed by the hardware resources and the relative performance of the various tasks composing applications running on the data center machines. Providing such a mechanism requires to consider of several elements that influence the runtime execution of such tasks. For instance, and to mention few, a model to evaluate the best mapping of tasks with specific host architectures, a mechanism to select the best host among various with the same architecture where to run the tasks, and a way of optimizing the whole data center workload should be integrated. Among the objectives, the aim of task T5.4 is to design a software component capable of deploying application tasks on the most energy-efficient hosts using an energy-aware policy, as well as to provide a way to interact with other components of a Cloud orchestrator (e.g., OpenStack modules). Also, the aim of such software component is to periodically (dynamically) optimize the whole data center workload (i.e., the optimization process aims at consolidating the workload in such way to reduce energy consumption), by reducing the energy(power) consumption. In addition, interactions with other tasks carried out in this WP is necessary to ensure the effectiveness of the whole resource allocation mechanism. Position of the deliverable in the whole project context The activities carried out within task T5.4, whose main results are described in this document, are framed in the WP5 – Optimized Workload Management on Heterogeneous Architecture. Specifically, this deliverable provides an overview of the results of the research activity and investigation done by OPERA partners, aiming at developing a software system (ECRAE) to be integrated in the OpenStack orchestration toolchain, which is responsible for the mapping of cloud application components (virtual machines – VM, and Linux Containers – LCs) on heterogeneous data center resources. The deliverable is in connection with the work done in the WP5, specifically with activities reported in D5.8, D5.7 and D5.6, as well as previous deliverables D5.4, D5.3 and D5.1. Regarding the connection with D5.8, this deliverable specifies the algorithms employed by such software system while D5.8 provides an insight of the integration with OpenStack framework, with a focus on the mechanism used to describe the application structure and all its components. D5.6 provides the analysis of the TOSCA application descriptor format used by ECRAE to allocate each application components on the most suitable hardware, with a focus on three applications that have been successfully ported on the OPERA platform (ECRAE + OpenStack) and which are described using TOSCA descriptors. Deliverable D5.7 contains a detailed description of simulation results which validate the ECRAE algorithms. This document is also in connection with other deliverables