config-linux: Add Intel RDT CMT and MBM Linux support#1076
config-linux: Add Intel RDT CMT and MBM Linux support#1076vbatts merged 1 commit intoopencontainers:masterfrom
Conversation
@Creatone |
50cfd29 to
b8343bc
Compare
|
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
|
|
||
| * 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.
Brief description about RDT, CMT, and MBM would be appreciated
There was a problem hiding this comment.
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
tianon
left a comment
There was a problem hiding this comment.
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]>
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 |
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]