tasks: add Linux rdt support

Add support for configuring the Linux resctrl pseudo-filesystem with
goresctrl library. The functionality is integrated in the
"io.containerd.service.v1.tasks-service" plugin.

Signed-off-by: Markus Lehtonen <markus.lehtonen@intel.com>
This commit is contained in:
Markus Lehtonen
2021-04-08 13:24:45 +03:00
parent 9e755d12e2
commit eae14688c6
4 changed files with 95 additions and 0 deletions

View File

@@ -104,6 +104,12 @@ documentation.
- **sched_core** Core scheduling is a feature that allows only trusted tasks
to run concurrently on cpus sharing compute resources (eg: hyperthreads on
a core). (Default: **false**)
- **[plugins."io.containerd.service.v1.tasks-service"]** has one option:
- **rdt_config_file** (Linux only) specifies path to a configuration used for
configuring RDT (Default: **""**). Enables support for Intel RDT, a
technology for cache and memory bandwidth management.
See https://github.com/intel/goresctrl/blob/v0.2.0/doc/rdt.md#configuration
for details of the configuration file format.
**oom_score**
: The out of memory (OOM) score applied to the containerd daemon process (Default: 0)
@@ -193,6 +199,8 @@ imports = ["/etc/containerd/runtime_*.toml", "./debug.toml"]
[plugins."io.containerd.runtime-shim.v2.shim"]
platforms = ["linux/amd64"]
sched_core = true
[plugins."io.containerd.service.v1.tasks-service"]
rdt_config_file = "/etc/rdt-config.yaml"
```
## BUGS