You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config-linux: clarify the handling of ClosID RDT parameter
An attempt to make the spec easier to interpret by grouping all ClosID
related contraints in one place.
Signed-off-by: Markus Lehtonen <[email protected]>
Copy file name to clipboardExpand all lines: config-linux.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -530,7 +530,6 @@ If `intelRdt` is not set, the runtime MUST NOT manipulate any `resctrl` pseudo-f
530
530
The following parameters can be specified for the container:
531
531
532
532
***`closID`***(string, OPTIONAL)* - specifies the identity for RDT Class of Service (CLOS).
533
-
If `closID` is set, runtimes MUST create `closID` directory in a mounted `resctrl` pseudo-filesystem if it doesn't exist. If not set, runtimes MUST use the container ID from [`start`](runtime.md#start) and create the `<container-id>` directory.
534
533
535
534
***`l3CacheSchema`***(string, OPTIONAL)* - specifies the schema for L3 cache id and capacity bitmask (CBM).
536
535
The value SHOULD start with `L3:` and SHOULD NOT contain newlines.
@@ -547,7 +546,11 @@ The following rules on parameters MUST be applied:
547
546
548
547
* If neither `l3CacheSchema` nor `memBwSchema` is set, runtimes MUST NOT write to `schemata` files in any `resctrl` pseudo-filesystems.
549
548
550
-
* If `closID` is set, `l3CacheSchema` and/or `memBwSchema` is set, runtimes MUST compare `l3CacheSchema` and/or `memBwSchema` value with `schemata` file, and [generate an error](runtime.md#errors) if doesn't match.
549
+
* If `closID` is not set, runtimes MUST use the container ID from [`start`](runtime.md#start) and create the `<container-id>` directory.
550
+
551
+
* If `closID` is set, `l3CacheSchema` and/or `memBwSchema` is set
552
+
* if `closID` directory in a mounted `resctrl` pseudo-filesystem doesn't exist, the runtimes MUST create it.
553
+
* if `closID` directory in a mounted `resctrl` pseudo-filesystem exists, runtimes MUST compare `l3CacheSchema` and/or `memBwSchema` value with `schemata` file, and [generate an error](runtime.md#errors) if doesn't match.
551
554
552
555
* 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.
0 commit comments