Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@marquiz
Copy link
Contributor

@marquiz marquiz commented Feb 16, 2021

Functionality for associating CPUs with classes. Under the hood
goresctrl will write the given CPU ids to the "cpus_list" file of the
corresponding resctrl group.

The hierarchy between task and cpu lists is as follows (imposed by the
resctrl filesystem):

  1. If a process PID is in the tasks file of a non-root class then that
    class is in effect
  2. Else, if a process is running on a CPU that is associated with a class,
    then this class is in effect
  3. Else the root class is in effect

Functionality for associating CPUs with classes. Under the hood
goresctrl will write the given CPU ids to the "cpus_list" file of the
corresponding resctrl group.

The hierarchy between task and cpu lists is as follows (imposed by the
resctrl filesystem):
1. If a process PID is in the tasks file of a non-root class then that
   class is in effect
2. Else, if a process is running on a CPU that is associated with a class,
   then this class is in effect
3. Else the root class is in effect
@klihub
Copy link
Contributor

klihub commented Feb 17, 2021

Looks already pretty good to me in this draft...

@askervin
Copy link
Contributor

Looking good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants