We can also check the different behavior of cgroups on ppc64le and on amd64 by means of specifying the exact cgroups under which we execute 'make':
## ppc64le
make clean; sudo cgexec -g devices:/system.slice --sticky make -j500 ## Fails on ppc64le
make clean; sudo cgexec -g devices:/system.slice/ssh.service --sticky make -j500 ## Fails on ppc64le
make clean; sudo cgexec -g pids:/system.slice --sticky make -j500 ## Works on ppc64le
make clean; sudo cgexec -g pids:/system.slice/ssh.service --sticky make -j500 ## Fails on ppc64le
## amd64
make clean; sudo cgexec -g devices:/system.slice --sticky make -j500 ## Works on x64
make clean; sudo cgexec -g devices:/system.slice/ssh.service --sticky make -j500 ## Works on x64
make clean; sudo cgexec -g pids:/system.slice --sticky make -j500 Makefile Makefile Makefile ## Cgroup does not exist on x64
make clean; sudo cgexec -g pids:/system.slice/ssh.service --sticky make -j500 ## Cgroup does not exist on x64
We can also check the different behavior of cgroups on ppc64le and on amd64 by means of specifying the exact cgroups under which we execute 'make':
## ppc64le /system. slice --sticky make -j500 ## Fails on ppc64le /system. slice/ssh. service --sticky make -j500 ## Fails on ppc64le slice/ssh. service --sticky make -j500 ## Fails on ppc64le
make clean; sudo cgexec -g devices:
make clean; sudo cgexec -g devices:
make clean; sudo cgexec -g pids:/system.slice --sticky make -j500 ## Works on ppc64le
make clean; sudo cgexec -g pids:/system.
## amd64 /system. slice --sticky make -j500 ## Works on x64 /system. slice/ssh. service --sticky make -j500 ## Works on x64 slice/ssh. service --sticky make -j500 ## Cgroup does not exist on x64
make clean; sudo cgexec -g devices:
make clean; sudo cgexec -g devices:
make clean; sudo cgexec -g pids:/system.slice --sticky make -j500 Makefile Makefile Makefile ## Cgroup does not exist on x64
make clean; sudo cgexec -g pids:/system.