- 21 Jan, 2019 2 commits
-
-
Sridutt Bhalachandra authored
Made necesseary fixes required to make the aggregative downstream api integration to work with the new downstream messaging layer. Also,fixed the case where daemon crashed when an application message (from libnrm using pmpi) was received after container was killed run_policy on all containers removed as the controller no longer has application manager info Any other refactoring and fixes required (check merge request discussion) See Issues #13, #20 and Merge !41
-
Sridutt Bhalachandra authored
Refactored diff calculation code to work without needing changes in coolr module (Patch for Commit 36401a84)
-
- 15 Aug, 2018 1 commit
-
-
Sridutt Bhalachandra authored
Made changes in `SensorManager` to allow calculation of the difference in measured (stored) values using `rapl_reader` functions See Issue #12
-
- 20 Dec, 2017 2 commits
-
-
Swann Perarnau authored
Change the PowerActuator to be able to lower the power limit. Because RAPL doesn't provide an actual lower limit, we use 0 as the minimal power.
-
Swann Perarnau authored
This patch adds a poweractuator based on rapl settings available through the sensor manager. Adding this actuator forces us to use a list of actuators in the controller, changing a bit the structure of the code.
-
- 30 Aug, 2017 5 commits
-
-
Swann Perarnau authored
This patch is the last link between coolr and the daemon. We now create a dictionary of machine information inside the sensor manager, and give this dictionary back to the daemon. The daemon can then use the real data for control. We still need to receive the target power from somewhere, and that will come later.
-
Swann Perarnau authored
clr_hwmon was also merging sampling data generation and formatting that data into a json string. This patch removes the formatting, for the same reason than the previous patch. Also removes __main__ code from module.
-
Swann Perarnau authored
clr_rapl was merging sampling data generation and formatting that same data into a json string. This patch removes the json formatting, to let users of the module use the data in a python structure. The patch also removes __main__ code from clr_rapl, as it is unnecessary here. We might end up reusing some of this code in unit tests later, but not right now.
-
Swann Perarnau authored
This a partial import of github.com/coolr-hpc/pycoolr from master branch, commit id: 67e7aa4b89b67744922b5926cd1459adf650013b Coolr will provide us the capability to read power, topology and msr-based sensors. This patch links the sensor module with the coolr code as it is, which doesn't really work. The core issue is that the current coolr code is meant to be stand-alone, and the main functions to both sampling and formatting of the data in json, by hand. We will solve that in the next commit, removing the json-specific code from the sample function to create a dict of values instead.
-
Swann Perarnau authored
Create a `sensor` module that will handle the interaction with coolr and return updated machine information regularly. The code code is as dumb as the previous one, but the structure is improved, which should help for the next round of updates with coolr.
-