A wrapper using Likwid tool to calculate the dynamic energy consumption of CPU and DRAM using RAPL within a given statistical confidence interval for any given application.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AUTHORS
COPYING
README.md
VERSION
calc_mean.py
chk_var.py
extract.sh
get_base.py
get_dynamic_energy.py
get_total_energy.py
mean_time.py
read_energy_pmcs.py
run_application.py

README.md

DE-METER: Calculate Dynamic Energy Consumption Using RAPL Meter

DE-METER is a wrapper using Likwid tool to calculate the dynamic energy
consumption of CPU and DRAM using RAPL within a given statistical
confidence interval for any given application.

Arsalan Shahid and Muhammad Fahad
e-mail: arsalan.shahid@ucdconnect.ie

Required Software


  1. Likwid tool
  2. Pyhton compiler
  3. Linux Debian or Cent OS

How to Use


For getting dynamic energy consumption of any given application using default
settings, specify the application in 'run_application.py' script and run
using following command:

python ./get_dynamic_energy <application>

Get base power of server using:

python get_base.py <desired_varience (1-100)> <max_iterations> <verbosity (1 || 2)>
python get_base.py 5 100 1 1

Get total power of server running an application using:

python ./get_total_energy.py <desired_varience (1-100)> <max_iterations> <desired_std (e.g. 10)> <verbosity (1 || 2)> <application>

python ./get_total_energy.py 5 100 10 1 ./app

License


Copyright 2001-2018 Heterogeneous Computing Laboratory,
School of Computer Science, University College Dublin

Redistribution and use in source and binary forms,
with or without modification, are permitted provided
that the following conditions are met:

  1. Redistributions of source code must retain the
    above copyright notice, this list of conditions
    and the following disclaimer.

  2. Redistributions in binary form must reproduce the
    above copyright notice, this list of conditions and
    the following disclaimer in the documentation and/or
    other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names
    of its contributors may be used to endorse or promote
    products derived from this software without specific
    prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.

NOTE


This software depends on other packages that may be licensed under different open source licenses.