Skip to content

Commit 0ec20f4

Browse files
committed
config-linux: documentation change for Intel RDT/MBA Software Controller support
MBA Software Controller feature is introduced in Linux kernel v4.18. It is a software enhancement to mitigate some limitations in MBA which describes in kernel documentation. It also makes the interface more user friendly - we could specify memory bandwidth in "MBps" (Mega Bytes per second) as well as in "percentages". We could enable this feature through mount option "-o mba_MBps": mount -t resctrl resctrl -o mba_MBps /sys/fs/resctrl In runtime-spec, we handle both memory bandwidth schemata in unified format: "MB:<cache_id0>=bandwidth0;<cache_id1>=bandwidth1;..." The unit of memory bandwidth is specified in "percentages" by default, and in "MBps" if MBA Software Controller is enabled. For more information about Intel RDT and MBA Software Controller: https://www.kernel.org/doc/Documentation/x86/intel_rdt_ui.txt Signed-off-by: Xiaochen Shen <[email protected]>
1 parent 038448f commit 0ec20f4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

config-linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ The following parameters can be specified for the container:
500500

501501
* **`l3CacheSchema`** *(string, OPTIONAL)* - specifies the schema for L3 cache id and capacity bitmask (CBM).
502502
The value SHOULD start with `L3:` and SHOULD NOT contain newlines.
503-
* **`memBwSchema`** *(string, OPTIONAL)* - specifies the schema of memory bandwidth percentage per L3 cache id.
503+
* **`memBwSchema`** *(string, OPTIONAL)* - specifies the schema of memory bandwidth per L3 cache id.
504504
The value MUST start with `MB:` and MUST NOT contain newlines.
505505

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

specs-go/config.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,9 @@ type LinuxIntelRdt struct {
632632
// Format: "L3:<cache_id0>=<cbm0>;<cache_id1>=<cbm1>;..."
633633
L3CacheSchema string `json:"l3CacheSchema,omitempty"`
634634

635-
// The schema of memory bandwidth percentage per L3 cache id
635+
// The schema of memory bandwidth per L3 cache id
636636
// Format: "MB:<cache_id0>=bandwidth0;<cache_id1>=bandwidth1;..."
637+
// The unit of memory bandwidth is specified in "percentages" by
638+
// default, and in "MBps" if MBA Software Controller is enabled.
637639
MemBwSchema string `json:"memBwSchema,omitempty"`
638640
}

0 commit comments

Comments
 (0)