Re: Problem with using CPUSET along with preempt-rt patch on jetpack 4.6 linux kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

we have the same issue on a Nvidia Jetson Nano with kernel 4.9.337
(the latest from Nvidia). After applying PREMPT_RT patches, cgroups
cpuset.cpus cannot be set anymore:

# get parent mems and cpus:
> cat /sys/fs/cgroup/cpuset/cpuset.mems && cat /sys/fs/cgroup/cpuset/cpuset.cpus
0
0-3
# create child and gather inital mems and cpus
> mkdir /sys/fs/cgroup/cpuset/test
> cat /sys/fs/cgroup/cpuset/test/cpuset.mems && cat /sys/fs/cgroup/cpuset/test/cpuset.cpus
<empty>
<empty>

# set and read mems and cpus
> echo 0 > /sys/fs/cgroup/cpuset/test/cpuset.mems
> echo 0-3 > /sys/fs/cgroup/cpuset/test/cpuset.cpus
> cat /sys/fs/cgroup/cpuset/test/cpuset.mems && cat /sys/fs/cgroup/cpuset/test/cpuset.cpus
0
<empty>

This leads to the issue, that no process can be attached:

> echo $$ > /sys/fs/cgroup/cpuset/test/tasks
bash: echo: write error: No space left on device

Because docker uses this mechanism, we are not able to start any
container. I assume it's because no CPU can be assigned. Do you have
any idea what could be the reason for this and how this could be
solved? Unfortunately, upgrading the kernel is not really an option
because 4.9 is the latest supported kernel from Nvidia.

Best regards
Markus




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux