This project is a simple experiment that stresses a server to certain fixed loads to measure energy consumption. Later, the obtained results are compared against the predictions from the DEF (Digital Environmental Formulas) from SDIA for that particular server.
The aim of this experiment is to independently verify the validity of DEF formulas to model real systems.
You can find here the slides. More detailed info about the experiment details can be found in the appendix section of the presentation.
The experiment aims to measure the energy consumption of a server under different loads. The server is subjected to fixed loads using a set of Linux tools. The energy consumption data is obtained via WattsupPro, while the CPU data is obtained via 'lm-sensors' and 'mpstat'. The obtained data is then preprocessed using Python and analysed using Excel.
The experiment workflow consists of the following steps:
- The bash scripts are used to subject the server to different fixed loads.
- The energy consumption data is collected via WattsupPro.
- The CPU data is collected via 'lm-sensors' and 'mpstat'.
- The collected data is preprocessed using Python.
- The cleaned data is analysed using Excel
These are the followed steps to run the experiment:
- Clone the repository.
- Install the necessary dependencies (e.g., stress-ng, WattsupPro, lm-sensors, mpstat).
- Run stress-ng to subject the server to different loads.
- Collect the energy consumption and CPU data using mpstat and lm-sensors tools.
The repository contains the following files and directories:
bash_scripts/
: contains the bash scripts used to subject the server to different loads.preprocessing/
: contains the Python scripts used to preprocess the obtained data.experiment.log
: info about the experiment.README.md
: this file.
Feel free to contact me for further requests and to adapt this README file to suit your project's specific needs.