-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Intel RDT support #20150
Add Intel RDT support #20150
Conversation
Ephemeral COPR build failed. @containers/packit-build please check. |
f87a160
to
4d7363c
Compare
Code LGTM |
Can you rebase? I think the system test failure is fixed upstream |
Add --rdt-class=COS to the create and run command to enable the assignment of a container to a Class of Service (COS). The COS represents a part of the cache based on the Cache Allocation Technology (CAT) feature that is part of Intel's Resource Director Technology (Intel RDT) feature set. By assigning a container to a COS, all PID's of the container have only access to the cache space defined for this COS. The COS has to be pre-configured based on the resctrl kernel driver. cat_l2 and cat_l3 flags in /proc/cpuinfo represent CAT support for cache level 2 and 3 respectively. Signed-off-by: Wolfgang Pross <[email protected]>
Signed-off-by: Wolfgang Pross <[email protected]>
Signed-off-by: Wolfgang Pross <[email protected]>
Signed-off-by: Wolfgang Pross <[email protected]>
Signed-off-by: Wolfgang Pross <[email protected]>
Co-authored-by: Tom Sweeney <[email protected]> Signed-off-by: wpross <[email protected]>
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, wpross The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks @mheon, @TomSweeneyRedHat & @flouthoc for the reviews! |
I've opened a PR to add support for Intel RDT to crun: containers/crun#1323 |
This PR closes #19922
Support for assigning a container to a Class Of Service (COS) based on
--rdt-class=COS
is added. The COS represents a part of the cache based on the Cache Allocation Technology (CAT) feature that is part of Intel's Resource Director Technology (Intel RDT) feature set. By assigning a container to a COS, all PID's of the container have only access to the cache space defined for this COS.The COS has to be pre-configured based on the resctrl kernel driver. This is only possible if the HW supports the CAT feature which can be checked based on the presence of the
cat_l2
andcat_l3
flags in/proc/cpuinfo
.So far, Intel RDT support is only integrated into runc and not in crun yet.
Does this PR introduce a user-facing change?
yes