Skip to content

Commit 5e89a5d

Browse files
authored
Merge pull request #1196 from ipuustin/rdt-clarifications
Clarify Intel RDT configuration
2 parents 62106c1 + a6c310a commit 5e89a5d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

config-linux.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -756,9 +756,7 @@ The following parameters can be specified for the container:
756756

757757
The following rules on parameters MUST be applied:
758758

759-
* If both `l3CacheSchema` and `memBwSchema` are set, runtimes MUST write the combined value to the `schemata` file in that sub-directory discussed in `closID`.
760-
761-
* If `l3CacheSchema` contains a line beginning with `MB:`, the value written to `schemata` file MUST be the non-`MB:` line(s) from `l3CacheSchema` and the line from `memBWSchema`.
759+
* If both `l3CacheSchema` and `memBwSchema` are set, runtimes MUST write the values to the `schemata` file in that sub-directory discussed in `closID`. The runtimes MUST write `l3CacheSchema` first and `memBwSchema` last.
762760

763761
* If either `l3CacheSchema` or `memBwSchema` is set, runtimes MUST write the value to the `schemata` file in the that sub-directory discussed in `closID`.
764762

@@ -774,6 +772,10 @@ The following rules on parameters MUST be applied:
774772

775773
* If `closID` is set, and none of `l3CacheSchema`, `memBwSchema` or `schemata` 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.
776774

775+
* If `closID` is not set and the runtime has created the sub-directory, the runtime MUST remove the sub-directory when the container is deleted.
776+
777+
* If `closID` is set or the runtime has not created the sub-directory, the runtime MUST NOT remove the sub-directory when the container is deleted.
778+
777779
* If `enableMonitoring` is set, the runtime MUST create a dedicated MON group
778780
for the container. The runtime MUST use the container ID from
779781
[`start`](runtime.md#start) as the name of the MON group, i.e. create

0 commit comments

Comments
 (0)