-
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 #19922
Comments
care to submit a PR? |
I can take a look from the crun side, but I lack the hardware to test it (and that is the main reason why crun doesn't implement it yet). Is it possible to enable the feature under qemu? |
@wpross Care to open a PR to add support? |
@rhatdan I will add a PR for Podman soon. |
I could test it on my side if I get access to the changes |
unfortunately I can't set the "In Progress" label myself. Can someone help with it? |
Feature request description
When running a container, I would love be able to use the Cache Allocation Technology (CAT) feature that is part of the Intel Resource Director Technology (RDT) feature set. It is already integrated into the OCI runtime spec and runc and is based on the resctrl kernel driver.
Resctrl
enables a user to interact with registers that specify the RDT behaviour based on a pseudo-file system mounted at/sys/fs/resctrl
. By e.g. writing the PID of a container to a subfolders'tasks
file,runc
enables the container to use the cache-ways defined within thebitmask
within theschemata
file in this subfolder. the subfolder's name is the name of theClass of service (CLOS)
.runc
gets the CLOS name (orclosID
) from theintelRDT
section within the Linux Container specification, for examplemyClos
would be the name of the CLOS, so a subfolder within/sys/fs/resctrl
.Suggest potential solution
Add a flag, similar to the one in nerdctrl or ctr, e.g.
--rdt-class=myClos
that is then added to the OCI spec'slinux
section to look like in the above example.Additional context
Intel RDT is only supported in
runc
so far. So the default runtimecrun
does not support it so far. However, I will also open an issue to support RDT incrun
.The text was updated successfully, but these errors were encountered: