73,932 research outputs found

    Inferring Energy Bounds via Static Program Analysis and Evolutionary Modeling of Basic Blocks

    Full text link
    The ever increasing number and complexity of energy-bound devices (such as the ones used in Internet of Things applications, smart phones, and mission critical systems) pose an important challenge on techniques to optimize their energy consumption and to verify that they will perform their function within the available energy budget. In this work we address this challenge from the software point of view and propose a novel parametric approach to estimating tight bounds on the energy consumed by program executions that are practical for their application to energy verification and optimization. Our approach divides a program into basic (branchless) blocks and estimates the maximal and minimal energy consumption for each block using an evolutionary algorithm. Then it combines the obtained values according to the program control flow, using static analysis, to infer functions that give both upper and lower bounds on the energy consumption of the whole program and its procedures as functions on input data sizes. We have tested our approach on (C-like) embedded programs running on the XMOS hardware platform. However, our method is general enough to be applied to other microprocessor architectures and programming languages. The bounds obtained by our prototype implementation can be tight while remaining on the safe side of budgets in practice, as shown by our experimental evaluation.Comment: Pre-proceedings paper presented at the 27th International Symposium on Logic-Based Program Synthesis and Transformation (LOPSTR 2017), Namur, Belgium, 10-12 October 2017 (arXiv:1708.07854). Improved version of the one presented at the HIP3ES 2016 workshop (v1): more experimental results (added benchmark to Table 1, added figure for new benchmark, added Table 3), improved Fig. 1, added Fig.

    Data dependent energy modelling for worst case energy consumption analysis

    Get PDF
    Safely meeting Worst Case Energy Consumption (WCEC) criteria requires accurate energy modeling of software. We investigate the impact of instruction operand values upon energy consumption in cacheless embedded processors. Existing instruction-level energy models typically use measurements from random input data, providing estimates unsuitable for safe WCEC analysis. We examine probabilistic energy distributions of instructions and propose a model for composing instruction sequences using distributions, enabling WCEC analysis on program basic blocks. The worst case is predicted with statistical analysis. Further, we verify that the energy of embedded benchmarks can be characterised as a distribution, and compare our proposed technique with other methods of estimating energy consumption

    Static analysis of energy consumption for LLVM IR programs

    Get PDF
    Energy models can be constructed by characterizing the energy consumed by executing each instruction in a processor's instruction set. This can be used to determine how much energy is required to execute a sequence of assembly instructions, without the need to instrument or measure hardware. However, statically analyzing low-level program structures is hard, and the gap between the high-level program structure and the low-level energy models needs to be bridged. We have developed techniques for performing a static analysis on the intermediate compiler representations of a program. Specifically, we target LLVM IR, a representation used by modern compilers, including Clang. Using these techniques we can automatically infer an estimate of the energy consumed when running a function under different platforms, using different compilers. One of the challenges in doing so is that of determining an energy cost of executing LLVM IR program segments, for which we have developed two different approaches. When this information is used in conjunction with our analysis, we are able to infer energy formulae that characterize the energy consumption for a particular program. This approach can be applied to any languages targeting the LLVM toolchain, including C and XC or architectures such as ARM Cortex-M or XMOS xCORE, with a focus towards embedded platforms. Our techniques are validated on these platforms by comparing the static analysis results to the physical measurements taken from the hardware. Static energy consumption estimation enables energy-aware software development, without requiring hardware knowledge

    Techno-economic analysis of residential thermal flexibility for demand side management

    Get PDF
    The continuing rise in solar and wind production leads to an increasing demand of flexibility to stabilize the electricity grid. Furthermore, we can assume a gradual but intensive rise in the use of electrical heatpumps for household spatial heating, for different reasons. Therefore, this paper investigates the feasibility and viability of entering the flexibility market by aggregating residential thermal loads. For this research, a dataset of 200 dwellings in the Netherlands, equipped with a heatpump and smart metering infrastructure, is analysed. By means of a greybox modeling approach, a thermal model and control framework have been set up for every house, in order to identify the load shift potential and the accompanying cost of providing flexibility for the houses. We find that thermal flexibility is asymmetric: downwards flexibility is, apart from much more dependent on outdoor temperature than upwards flexibility, strictly lower than upwards flexibility. The cost for downwards flexibility is strictly negative in terms of the prosumer. Concerning upwards flexibility, the cost is most of the time positive. Moreover, it can be concluded that there is a potentially viable business case for the flexibility aggregator

    Modelling Energy Consumption based on Resource Utilization

    Full text link
    Power management is an expensive and important issue for large computational infrastructures such as datacenters, large clusters, and computational grids. However, measuring energy consumption of scalable systems may be impractical due to both cost and complexity for deploying power metering devices on a large number of machines. In this paper, we propose the use of information about resource utilization (e.g. processor, memory, disk operations, and network traffic) as proxies for estimating power consumption. We employ machine learning techniques to estimate power consumption using such information which are provided by common operating systems. Experiments with linear regression, regression tree, and multilayer perceptron on data from different hardware resulted into a model with 99.94\% of accuracy and 6.32 watts of error in the best case.Comment: Submitted to Journal of Supercomputing on 14th June, 201

    Cool Roof Impact on Building Energy Need: The Role of Thermal Insulation with Varying Climate Conditions

    Get PDF
    Cool roof effectiveness in improving building thermal-energy performance is affected by different variables. In particular, roof insulation level and climate conditions are key parameters influencing cool roofs benefits and whole building energy performance. This work aims at assessing the role of cool roof in the optimum roof configuration, i.e., combination of solar reflectance capability and thermal insulation level, in terms of building energy performance in different climate conditions worldwide. To this aim, coupled dynamic thermal-energy simulation and optimization analysis is carried out. In detail, multi-dimensional optimization of combined building roof thermal insulation and solar reflectance is developed to minimize building annual energy consumption for heating-cooling. Results highlight how a high reflectance roof minimizes annual energy need for a small standard office building in the majority of considered climates. Moreover, building energy performance is more sensitive to roof solar reflectance than thermal insulation level, except for the coldest conditions. Therefore, for the selected building, the optimum roof typology presents high solar reflectance capability (0.8) and no/low insulation level (0.00-0.03 m), except for extremely hot or cold climate zones. Accordingly, this research shows how the classic approach of super-insulated buildings should be reframed for the office case toward truly environmentally friendly buildings.The work was partially funded by the Spanish government (RTI2018-093849-B-C31). This work was partially supported by ICREA under the ICREA Academia programme. Dr. Alvaro de Gracia has received funding from the European Union's Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie grant agreement No 712949 (TECNIOspring PLUS) and from the Agency for Business Competitiveness of the Government of Catalonia. This publication has emanated from research supported (in part) by Science Foundation Ireland (SFI) under the SFI Strategic Partnership Programme Grant Number SFI/15/SPP/E3125
    • …
    corecore