• Swann Perarnau's avatar
    [feature] Implement simple RM for containers · 1c4645cc
    Swann Perarnau authored
    This patch refactor the resource management and hwloc code into a
    working, albeit very simple scheduling policy. Indeed, the previous code
    contained strong assumptions about the output of hwloc matching an Argo
    NodeOS configuration used during the previous phase of the project, that
    always contained enough CPUs and Mems to perform exclusive scheduling.
    
    The current version is simpler, but should work on more regular systems.
    The patch also improves code organization so that introducing more
    complex scheduling algorithms will be simpler.
    
    The testing of this code resulted in the discovery of simple bugs in the
    daemon children handling code, which should work now.
    1c4645cc
subprograms.py 7.73 KB