-
Notifications
You must be signed in to change notification settings - Fork 554
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
config-linux: Add Intel RDT CMT and MBM Linux support #1076
Conversation
@Creatone |
50cfd29
to
b8343bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
RFC @opencontainers/runtime-spec-maintainers |
…l RDT CMT and MBM Linux support Signed-off-by: Paweł Szulik <[email protected]>
…l RDT CMT and MBM Linux support Signed-off-by: Paweł Szulik <[email protected]>
config-linux.md
Outdated
@@ -549,6 +549,7 @@ The following parameters can be specified for the container: | |||
|
|||
* If `closID` is set, and neither of `l3CacheSchema` and `memBwSchema` are set, runtime MUST check if corresponding pre-configured directory `closID` is present in mounted `resctrl`. If such pre-configured directory `closID` exists, runtime MUST assign container to this `closID` and [generate an error](runtime.md#errors) if directory does not exist. | |||
|
|||
* **`monitoring`** *(boolean OPTIONAL)* - specifies if Intel RDT monitoring features (CMT and MBM) should be enabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brief description about RDT, CMT, and MBM would be appreciated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description of IntelRDT is above. Added CMT and MBM information.
…l RDT CMT and MBM Linux support Signed-off-by: Paweł Szulik <[email protected]>
LGTM (apart from the nitpicking). |
6ad12c8
to
ef65e37
Compare
LGTM |
ef65e37
to
5175c3e
Compare
Do you foresee any reason for this to need to be more than just a simple boolean in the future? As an example, can each of the monitoring features mentioned be enabled separately, and is there a use case for doing so? |
@tianon Good point. It would be a good thing that the user can choose which features want to use. |
@tianon @Creatone |
Generally speaking, is this a per container feature? reading the docs looks like it is a kernel global, so does this really only apply for kata-containers that will boot a container/pod into its own kernel that this could apply? Also, it looks like commit 8f6cf10 has dangling whitespace issues. |
@vbatts Yes, this is a per container feature which depends on Intel RDT kernel support on host.
This is not targeted for VM or VM based container (e.g., Kata containers). |
8f6cf10
to
9f85c94
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(but I'd love to get at least one more @opencontainers/runtime-spec-maintainers member to take a look 🙏 ❤️)
…l RDT CMT and MBM Linux support Signed-off-by: Paweł Szulik <[email protected]>
…l RDT CMT and MBM Linux support Signed-off-by: Paweł Szulik <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commits need to be squashed. It _usually) does not make sense to introduce something and then replace it with something else in the same PR.
Left some minor comments as well. PTAL @Creatone
9f85c94
to
b367dba
Compare
@kolyshkin PTAL |
@Creatone the example in the commit message no longer reflects reality -- please update. |
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]>
b367dba
to
cc7f6ec
Compare
@kolyshkin PTAL |
…l RDT CMT and MBM Linux support Signed-off-by: Paweł Szulik <[email protected]>
@caniszczyk @crosbymichael @cyphar @dqminh @giuseppe @hqhq @mrunalp @tianon @vbatts @vishh PTAL, it's waiting from Nov 2020 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry for the delay.
LGTM
Add support for Intel Resource Director Technology (RDT) /
Cache Monitoring Technology (CMT) and Memory Bandwidth Monitoring (MBM).
Example:
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]