Support for Process/Task pinning
Need NRM to support Process/Task pinning 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.
For NRM to support process/task pinning within a container we need to
-
Add appropriate options in the manifest file -
Compute the correct bitmask in the ContainerManager
-
Use the computed bitmask in "hwloc-bind" to launch each process in the conatiner by prepending it as an argument to the command line e.g. as does in the case of "perf" ( ContainerManager
)