From man systemd.resource_control
, it seems that there is no options for cpuset
controller. Then how to set it in a unit file?
My purpose is to have the values set during boot time.
I know how to do it after booting by directly writing numbers into the corresponding cpuset.cpus
file. But I'd like to have a way to persist the settings.
AllowedCPUs
mapped tocpuset.cpus
in the source code? If I want to set othercpuset
interface, how can I get the correct key name in the unit file? – doraemon Nov 17 '21 at 23:49cpuset_cpus
in the source code, but nocpuset_cpus_partition
– doraemon Nov 17 '21 at 23:55