Skip to main content

SmartWatts is a formula for a self-adaptive software-defined power meter based on the PowerAPI framework.

Project description

SmartWatts is a software-defined power meter based on the PowerAPI toolkit. SmartWatts is a configurable software that can estimate the power consumption of software in real-time. SmartWatts need to receive several metrics provided by [hwpc-sensor](https://github.com/powerapi-ng/hwpc-sensor) :

  • The Running Average Power Limit (RAPL)

  • TSC

  • APERF

  • MPERF

  • CPU_CLK_THREAD_UNHALTED:REF_P

  • CPU_CLK_THREAD_UNHALTED:THREAD_P

  • LLC_MISSES

  • INSTRUCTIONS_RETIRED

The reasons of those metrics are described in [SmartWatts: Self-Calibrating Software-Defined Power Meter for Containers](https://hal.inria.fr/hal-02470128)

# About

SmartWatts is an open-source project developed by the [Spirals research group](https://team.inria.fr/spirals) (University of Lille 1 and Inria).

The documentation is available [here](http://powerapi.org).

## Contributing

If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request. You should start by reading the [contribution guide](https://github.com/powerapi-ng/smartwatts-formula/blob/master/contributing.md)

When submitting code, please check that it is conform by using pylint and flake8 with the configurations files at the root of the project.

## Publications

  • [SmartWatts: Self-Calibrating Software-Defined Power Meter for Containers](https://hal.inria.fr/hal-02470128): G. Fieni, R. Rouvoy, L. Seinturier. _IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGrid). May 2020, Melbourne, Australia

## Acknowledgments

SmartWatts is written in [Python](https://www.python.org/) (under [PSF license](https://docs.python.org/3/license.html)) and built on top of [PowerAPI](https://github.com/powerapi-ng/powerapi)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smartwatts-0.8.5.tar.gz (12.2 kB view hashes)

Uploaded Source

Built Distribution

smartwatts-0.8.5-py3-none-any.whl (28.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page