You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to run rootless podman container processes outside of user.slice to use cpuset.cpus.partition=root for exclusive CPU isolation?
Background
I need to isolate specific CPUs so that no other processes can be scheduled on them except my container processes. In cgroup v2, this requires partition=root setting.
I also tried creating a slice inside user.slice with AllowedCPUs=0-3. Container processes run on those CPUs, but isolation is not exclusive and other processes can still be scheduled there via taskset -c 0-3.
Questions
Is there any way to run rootless container processes outside of user.slice?
Or is this an architectural limitation of rootless podman?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Is it possible to run rootless podman container processes outside of user.slice to use
cpuset.cpus.partition=rootfor exclusive CPU isolation?Background
I need to isolate specific CPUs so that no other processes can be scheduled on them except my container processes. In cgroup v2, this requires
partition=rootsetting.What I tried
Ran rootless podman with
--cgroup-parent=/isolated.sliceAlso tried with systemd service:
Result
/isolated.slice//user.slice/user-1024.slice/...I also tried creating a slice inside user.slice with
AllowedCPUs=0-3. Container processes run on those CPUs, but isolation is not exclusive and other processes can still be scheduled there viataskset -c 0-3.Questions
Environment
Beta Was this translation helpful? Give feedback.
All reactions