Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resctrl: Add mon group support. #2519

Open
Creatone opened this issue Jul 16, 2020 · 0 comments
Open

Resctrl: Add mon group support. #2519

Creatone opened this issue Jul 16, 2020 · 0 comments

Comments

@Creatone
Copy link
Contributor

Creatone commented Jul 16, 2020

RDT Monitoring features:

  • CMT ( Cache Monitoring Technology ) supports monitoring of the last-level cache (LLC) occupancy
    for each running thread simultaneously.
  • MBM ( Memory Bandwidth Monitoring ) supports monitoring of total and local memory bandwidth
    for each running thread simultaneously.

On a system with RDT monitoring features, the root directory, and other top levels
directories contain a folder named "mon_groups" in which additional
"MON" groups can be created to monitor subsets of tasks from a "CTRL_MON" group that is their ancestor.

There is a limitation of the number of "CTRL_MON" groups.
So in case when there are so many containers and as a user, you only want to use monitoring features, it's easy to reach this limit.
That's why "MON" groups are introduced.

This enhancement should add:

  • Basic "MON" groups support - Add mon groups for resctrl. #2523
    Support creating a container with only RDT monitoring features (the "MON" group).

  • Dynamically switching between group types ("MON" and "CTRL_MON") after runc update.
    For example:
    In case when as a user, you want to update a container which only uses monitoring features, with other RDT features,
    dynamically switch from "MON" to "CTRL_MON" group (create new group, move tasks, clean). And the other way.

Creatone pushed a commit to Creatone/runtime-spec that referenced this issue Nov 6, 2020
Add support for Intel Resource Director Technology (RDT) /
Cache Monitoring Technology (CMT) and Memory Bandwidth Monitoring (MBM).

Example:

"linux": {
    "intelRdt": {
        "monitoring": true
    }
}

This is the prerequisite of this runc proposal:
opencontainers/runc#2519

For more information about Intel RDT CMT and MBM, please refer to:
opencontainers/runc#2519

Signed-off-by: Paweł Szulik <[email protected]>
Creatone pushed a commit to Creatone/runtime-spec that referenced this issue Nov 7, 2020
Add support for Intel Resource Director Technology (RDT) /
Cache Monitoring Technology (CMT) and Memory Bandwidth Monitoring (MBM).

Example:

"linux": {
    "intelRdt": {
        "monitoring": true
    }
}

This is the prerequisite of this runc proposal:
opencontainers/runc#2519

For more information about Intel RDT CMT and MBM, please refer to:
opencontainers/runc#2519

Signed-off-by: Paweł Szulik <[email protected]>
Creatone pushed a commit to Creatone/runtime-spec that referenced this issue Jun 29, 2021
Add support for Intel Resource Director Technology (RDT) /
Cache Monitoring Technology (CMT) and Memory Bandwidth Monitoring (MBM).

Example:

"linux": {
    "intelRdt": {
        "monitoring": true
    }
}

This is the prerequisite of this runc proposal:
opencontainers/runc#2519

For more information about Intel RDT CMT and MBM, please refer to:
opencontainers/runc#2519

Signed-off-by: Paweł Szulik <[email protected]>
Creatone pushed a commit to Creatone/runtime-spec that referenced this issue Jul 13, 2021
Add support for Intel Resource Director Technology (RDT) /
Cache Monitoring Technology (CMT) and Memory Bandwidth Monitoring (MBM).

Example:

"linux": {
    "intelRdt": {
        "enableCMT": true,
        "enableMBM": true
    }
}

This is the prerequisite of this runc proposal:
opencontainers/runc#2519

For more information about Intel RDT CMT and MBM, please refer to:
opencontainers/runc#2519

Signed-off-by: Paweł Szulik <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants