Creating a bug report/issue
Required Information
-
DietPi version |
8.18
-
Distro version |
bullseye
-
Kernel version |
5.15.93-rockchip64
-
Architecture |
arm64
-
SBC model |
NanoPi R2S (aarch64)
-
Power supply used | ( 5V 3A RAVpower)
-
SD card used | (SanDisk ultra)
-
Bug report ID |
no way to use isolcpu
Steps to reproduce
-
nano /boot/boot.cmd
-
setenv bootargs “nohz_full=2-3 root=${rootdev} rootfstype=${rootfstype} rootwait …”
or
setenv bootargs “isolcpu 2,3 root=${rootdev} rootfstype=${rootfstype} rootwait …” -
mkimage -C none -A arm64 -T script -d /boot/boot.cmd /boot/boot.scr
-
reboot
-
Server:~# taskset -pc 2
pid 2’s current affinity list: 0-3
Expected behaviour
Server:~# taskset -pc 2
pid 2’s current affinity list: 0,1
Actual behaviour
Server:~# taskset -pc 2
pid 2’s current affinity list: 0-3
Extra details
The process I can’t change the affinity are those that are at the kernel level.
I can change in a loop some process affinity as per the following
pid 689’s current affinity list: 0-3
pid 689’s new affinity list: 1
What can I do to make sure all processes/threads including kernel’s one start in Core 1 at boot time ?
Thank you for your support.
Best regards,
Jean