Enable support for resctrl kernel interface in containerd configuration

Bug #1988232 reported by Nikolay Vinogradov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Containerd Subordinate Charm
New
Undecided
Unassigned

Bug Description

Hi team. This is not a bug, but more like a feature request.

Please enable support for resctrl [1],[2] be enabled in containerd, as it might be desired for certain high-performance, latency-sensitive networking use-cases.

The support for it is available in the Ubuntu kernel ([2]), as it is built with CONFIG_X86_CPU_RESCTRL=y.

containerd also supports it via the config parameter called rdt_config_file [3].

Since containerd depends on runc [4], the support for it seems to be also implemented as part of spec [5].

Though I'm not 100% sure, it seems the only piece that is missing is containerd configuration file template in containerd charm and mounting resctrl to /sys/fs/resctrl. Also this bug [6] might be relevant, but it's current status is unclear.

[1] https://github.com/intel/intel-cmt-cat
[2] https://www.kernel.org/doc/Documentation/x86/resctrl.rst
[3] https://github.com/intel/goresctrl/blob/main/doc/rdt.md#configuration
[4] https://github.com/containerd/containerd/blob/main/docs/RUNC.md
[5] https://github.com/opencontainers/runtime-spec/pull/630
[6] https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1873126

summary: - Enaable support for resctrl kernel interface in containerd configuration
+ Enable support for resctrl kernel interface in containerd configuration
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.