-
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
--cpu-rt-runtime option doesn't look to work #15666
Comments
what exactly is the issue you are seeing on cgroupv1? Are you using a realtime kernel? Also keep in mind that Podman doesn't change the system configuration, so you will need to manually set |
e.g., you may need something like |
Thank you for your reply. There is no On the other hand, my RHEL cgroupsV1 environment has
|
thanks for confirming it |
`--cpu-rt-period` and `--cpu-rt-runtime` options are only supported on cgroups V1 rootful systems. Therefore, podman prints an warning message and ignores these options when we use cgroups V2 systems. Related to: containers#15666 Signed-off-by: Toshiki Sonoda <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Steps to reproduce the issue:
According to the man page, this option isn't supported on cgroupsV2.
However, error messages are not printed if we use runc.
cgroupsV2
This option should be worked on cgroupsV1 rootful.
However, this option doesn't look to work.
cgroupsV1
Describe the results you received:
See above.
Describe the results you expected:
--cpu-rt-runtime
should be worked on cgroupsV1 rootful.In any other environment, podman should print warning or error message.
Output of
podman info
:cgroupsV2
cgroupsV1
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Fedora36, KVM
The text was updated successfully, but these errors were encountered: