-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Intel RDT does not work with L2 cache #3550
Comments
I've run the test with the latest release 1.1. 3 in my above test. When I've started debugging the issue and thus compiled from source, it suddenly worked. I guess that one of the following commits solved the issue: | * | 2022-07-28 ea0bd782 libct/intelrdt: check if available iff configured (Cory Snider)
| * | 2022-07-28 56daf36b libct/intelrdt: skip remove unless configured (Cory Snider)
| * | 2022-07-28 c156bde7 libct/intelrdt: elide parsing mountinfo (Cory Snider)
| * | 2022-07-28 9f107489 libct/intelrdt: skip reading /proc/cpuinfo (Cory Snider)
| * | 2022-07-28 13674f43 libct/intelrdt: delete IsMBAScEnabled() (Cory Snider) Thanks @corhere ! |
So, this is still not working in release-1.1 branch. I figured out why and fixed it. |
This was referenced Aug 9, 2023
Merged
Fixed by #3978 in runc 1.1.9. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a host with CAT support for L2 cache. I've created two classes in
/sys/fs/resctrl
,c0
andc1
:I've now created a basic example following the description in Section Creating an OCI Bundle, created the spec with
runc spec
and just addedto the
linux
section, then started the container withsudo runc run rdttest
. Within the container shell I didsleep 1m
and checked for the PID outside the container with$ ps aux | grep sleep root 469581 0.0 0.0 1320 4 pts/0 S+ 18:53 0:00 sleep 1m
then checked the
tasks
files for this PID withand found it within the default root group. However, I would expect it to show up in
/sys/fs/resctrl/c0/tasks
instead.I did exactly the same test on another machine that supports L3 cache for CAT and it worked like expected.
The text was updated successfully, but these errors were encountered: