Hi,
Is there a way to enable cpuset on Pi Zero on ClusterHAT?
(For Pi3 B using to host ClusterHAT, it is enabled.)
I have been trying to set up a kubernetes cluster on ClusterHAT for about two weeks.
Kubernetes requires cpuset to be enabled, but somehow adding it in cmdline.txt does not.
I am using the P1 Stretch Lite image for Zero P1 on the site.
$ uname -a
Linux p1 4.14.34+ #1110 Mon Apr 16 14:51:42 BST 2018 armv6l GNU/Linux
$ cat /proc/cgroups
#subsys_name hierarchy num_cgroups enabled
cpu 6 46 1
cpuacct 6 46 1
blkio 3 46 1
memory 4 70 1
devices 5 46 1
freezer 7 1 1
net_cls 2 1 1
$ ls -al /sys/fs/cgroup/
total 0
drwxr-xr-x 9 root root 220 Nov 3 2016 .
drwxr-xr-x 5 root root 0 Jan 1 1970 ..
dr-xr-xr-x 5 root root 0 Nov 3 2016 blkio
lrwxrwxrwx 1 root root 11 Nov 3 2016 cpu -> cpu,cpuacct
lrwxrwxrwx 1 root root 11 Nov 3 2016 cpuacct -> cpu,cpuacct
dr-xr-xr-x 5 root root 0 Nov 3 2016 cpu,cpuacct
dr-xr-xr-x 5 root root 0 Nov 3 2016 devices
dr-xr-xr-x 2 root root 0 Nov 3 2016 freezer
dr-xr-xr-x 5 root root 0 Nov 3 2016 memory
dr-xr-xr-x 2 root root 0 Nov 3 2016 net_cls
dr-xr-xr-x 5 root root 0 Nov 3 2016 systemd
$ dmesg | grep cpu
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Kernel command line: bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup_enable=memory cgroup_enable=cpuset elevator=deadline fsck.repair=yes rootwait g_cdc.host_addr=00:22:82:ff:fe:01 g_cdc.dev_addr=00:22:82:ff:ff:01 console=ttyGS0 modules-load=dwc2,g_cdc
[ 0.392912] bcm2835-cpufreq: min=700000 max=1000000
[ 0.407903] ledtrig-cpu: registered to indicate activity on CPUs
Regards,
Shin Hashitani