-
Couldn't load subscription status.
- Fork 2.2k
Open
Labels
Milestone
Description
Description
The cpu.weight value below has changed in runc v1.4.0-rc.1
v1.3.1
$ sudo nerdctl run --rm --cpu-shares 2000 busybox cat /sys/fs/cgroup/cpu.weight
77v1.4.0-rc.1
$ sudo nerdctl run --rm --cpu-shares 2000 busybox cat /sys/fs/cgroup/cpu.weight
170Steps to reproduce the issue
sudo nerdctl run --rm --cpu-shares 2000 busybox cat /sys/fs/cgroup/cpu.weight
Describe the results you received and expected
Received: 170
Expected: 77
What version of runc are you using?
runc version 1.4.0-rc.1
commit: v1.4.0-rc.1-0-gb2ec7f92
spec: 1.2.1+dev
go: go1.24.6
libseccomp: 2.5.5
Host OS information
PRETTY_NAME="Ubuntu 25.04"
Host kernel information
Linux vmubuntu 6.14.0-29-generic #29-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 7 18:15:08 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux