Skip to content

Commit

Permalink
config-linux: clarify the "MB:"-line filtering in RDT.
Browse files Browse the repository at this point in the history
The thinking is that the runtimes should not do the filtering of values,
but instead just apply the values in order. This way the possible
MB-lines in l3CacheSchema will become overwritten by memBwSchema values
(if the domains overlap).

Note that we can't just concatenate the values because kernel will error
out if the same domain is attempted to be set multiple times within one
write() call.

Signed-off-by: Ismo Puustinen <[email protected]>
  • Loading branch information
ipuustin committed Jun 2, 2023
1 parent 720792f commit da3b517
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,9 +648,7 @@ The following parameters can be specified for the container:

The following rules on parameters MUST be applied:

* If both `l3CacheSchema` and `memBwSchema` are set, runtimes MUST write the combined value to the `schemata` file in that sub-directory discussed in `closID`.

* 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`.
* 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.

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

Expand Down

0 comments on commit da3b517

Please sign in to comment.