1. 22 May, 2019 1 commit
  2. 13 May, 2019 1 commit
    • Valentin Reis's avatar
      [feature] moves the message formats to json schema. · cd1d86b3
      Valentin Reis authored
      Adds the nrm/schemas repository which defines the communication schemas
      for the upstream and downstream APIs. The messaging.py file now uses
      decorators and two added python dependencies (jsonschema and warlock).
      This commits also adds the .envrc direnv configuration file for
      nix-based development.
  3. 03 May, 2019 3 commits
    • Swann Perarnau's avatar
      [refactor] use singularity instances · b3450523
      Swann Perarnau authored
      Instances in singularity are basically the same as being able to create
      an empty container and then run something in it, so we can have the same
      thing as with nodeos.
      One main issue with the code as is: we should probably refactor the
      container_manager code to modify the manifest on the fly according to
      the options listed in it. It would make it easy to pass along stuff like
      PWD, necessary binds and so on.
    • Swann Perarnau's avatar
      [fix] export downstream_event_uri in container · 0ad81e0b
      Swann Perarnau authored
      If monitoring is active, make sure to export the
      ARGO_NRM_DOWNSTREAM_EVENT_URI variable required by libnrm.
      Fix #49.
    • Florence Monna's avatar
      [feature] add nrmd-wide support for singularity · e0d0abb4
      Florence Monna authored
      The daemon can be configured to launch singularity containers. In such
      case, the manifest must contain an image section.
      Note that this doesn't support any resource management with singularity,
      since that stuff is only available as root. We will add a second
      container runtime option to support it later.
  4. 02 May, 2019 2 commits
  5. 01 May, 2019 1 commit
  6. 24 Apr, 2019 1 commit
  7. 19 Apr, 2019 1 commit
  8. 27 Feb, 2019 4 commits
  9. 26 Feb, 2019 1 commit
  10. 25 Feb, 2019 1 commit
  11. 15 Feb, 2019 1 commit
  12. 08 Feb, 2019 2 commits
  13. 07 Feb, 2019 1 commit
  14. 06 Feb, 2019 6 commits
  15. 05 Feb, 2019 4 commits
  16. 04 Feb, 2019 1 commit
  17. 28 Jan, 2019 1 commit
    • Valentin Reis's avatar
      [fix] Reverting API breakage from the last merge · 250198e4
      Valentin Reis authored
      The last merge changed the API visual style to increase readability.
      The manual merging was not done in a proper way however, and some of the
      changes from its previous merges were reverted. This commit fixes this.
  18. 23 Jan, 2019 1 commit
    • Valentin Reis's avatar
      [refactor] messaging style + cmd_listen application_uuid relaxing · 27a3fdec
      Valentin Reis authored
      This commit does two things:
      - re-indents the message schema to be more readable
      - lets `cmd listen --filter` print any incoming message, without
      discriminating on container_uuid. This makes cmd listen usable until
      a proper application_uuid management is written into nrm.
  19. 21 Jan, 2019 7 commits
    • Swann Perarnau's avatar
      [fix] stylecheck issues · 5c83d096
      Swann Perarnau authored
      Some inconsistencies in the CI let a merge request go through without
    • 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
      See Issues #13, #20 and Merge !41
    • Sridutt Bhalachandra's avatar
      [feature] Support for Process/Task pinning · 402a2524
      Sridutt Bhalachandra authored
      Added support for pinning process/task to a core. This is important for
      allowing the use of power policies that use contextual information from an
      application phase and use it for computing frequency levels for the next phase.
      In absence of process/task pinning, the contextual information obtained does
      not serve any value as it is not representative of application phase behavior
      on a core as the processes and task can migrate during the next phase.
      See Issue #20
    • Sridutt Bhalachandra's avatar
      [fix] Ensure that first N resources are always returned · 442d31f6
      Sridutt Bhalachandra authored
      Fixes NRM not returning the first N resources (cpu and memory). This
      is important for reproducibility and reducing variation
    • Sridutt Bhalachandra's avatar
      [fix] Multi-node support and msg layer interaction · 33316192
      Sridutt Bhalachandra authored
      Fixed the interaction of the multi-node support feature (#17) with the new
      messaging layer feature. Also, added any other fixes required to make the
      libnrm work with the Aggregative downstream API
    • Sridutt Bhalachandra's avatar
      [feature] Aggregative Downstream API integration · a501c976
      Sridutt Bhalachandra authored
      Adds support for aggregation of phase context information for an
      application. The damper value (in nanoseconds in the manifest file)
      decides the minimum phase length for which the phase context
      information is sent to the NRM (implemented in 'libnrm' repo
      [See Issue 2]). This will limit the number of msgs sent to the NRM.
      See Issue #13
    • 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)