Dedicate a specific task for specific core, isolcpus

This instruction is incomplete.
# make sure the isolcpus is there
grep isolcpus /boot/cmdline.txt
# dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=47113974-02 rootfstype=ext4 elevator=deadline fsck.repair=yes isolcpus=1,2,3 rootwait

reboot

cat /sys/devices/system/cpu/isolated
# 1-3

cat /sys/devices/system/cpu/kernel_max
# 3

# see if all CPU goes on first (0) core
htop

No comments: