Skip to content

Commit 9be9595

Browse files
committed
Clarify case with pre-configured Intel RDT closID
System administrators can pre-configure set of closIDs that can be assigned to containers. If closID is specified and present, runtime can just assign container to it. Signed-off-by: Alexander Kanevskiy <[email protected]>
1 parent 39c287c commit 9be9595

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config-linux.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,9 @@ The following parameters can be specified for the container:
522522

523523
* 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.
524524

525+
* 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.
526+
527+
525528
### Example
526529

527530
Consider a two-socket machine with two L3 caches where the default CBM is 0x7ff and the max CBM length is 11 bits,

0 commit comments

Comments
 (0)