1. 21 Jan, 2019 2 commits
    • Sridutt Bhalachandra's avatar
      [fix] Aggregative downstream & new msg layer · f3c53106
      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
      f3c53106
    • Sridutt Bhalachandra's avatar
      [refactor] Diff calculation without coolr changes · 5d292f9f
      Sridutt Bhalachandra authored
      Refactored diff calculation code to work without needing changes in
      coolr module (Patch for Commit 36401a84)
      5d292f9f
  2. 15 Aug, 2018 1 commit
  3. 20 Dec, 2017 2 commits
  4. 30 Aug, 2017 5 commits
    • Swann Perarnau's avatar
      [refactor] Use actual sensor info in control loop · 90efdac3
      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.
      90efdac3
    • Swann Perarnau's avatar
      [refactor] Remove json formatting from clr_hwmon · b4a68ae8
      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.
      b4a68ae8
    • Swann Perarnau's avatar
      [refactor] Remove json formatting from clr_rapl · 409efea2
      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.
      409efea2
    • Swann Perarnau's avatar
      Import coolr files into project, link to sensor · 48771c04
      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.
      48771c04
    • Swann Perarnau's avatar
      Move sensor management to separate module · c0b82b60
      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.
      c0b82b60