Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Application for monitoring performance and energy consumption in a computing cluster.

License

Notifications You must be signed in to change notification settings

damianStrojek/Measuring-Performance-in-Computer-Cluster

Repository files navigation

Application for Monitoring Performance and Energy Consumption in a Computing Cluster

Aim

The aim of the project is to create an application in C++ that will allow you to run a given parallel application on a computing cluster and save the values of selected system metrics over time.

Design Assumptions

The metrics and the places from which they are taken are to be directly specified in the technical documentation of the project. Power measurement is to take place using Intel RAPL, NVIDIA NVML technology and an interface to a professional Yokogawa meter - with a specific frequency. The results should be written to the output of any command line. The results should be saved to text files (.txt, .csv, etc.), and the application should run on a specific distribution of the GNU Linux operating system.

Requirements

This application requires you to have following tools installed on each of the nodes:

  • ifstat
  • iostat
  • sar
  • powerstat
  • perf
  • vmstat
  • Intel RAPL
  • NVIDIA Management Library
  • mpirun

Compile

Compile using C++20:

# alternatively you can use g++ -std=c++20
mpicxx -std=c++2a measure-performance.cpp metrics.cpp metrics-display.cpp metrics-save.cpp node-synchronization.cpp -o measure-performance

Then start it with:

mpirun -mca orte_keep_fqdn_hostnames t -mca btl_tcp_if_exclude docker0,docker_gwbridge,lo -hostfile hostfile.des measure-performance

Make sure that the same version of measure-performance is available on every node that is listed in hostfile.des file.

Docker

How to run docker environment:

docker run -it --mount type=bind,source="$(pwd)",target=/app kask-env

Contributors

About

Application for monitoring performance and energy consumption in a computing cluster.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages