[systemd-devel] Is it possible to set CPUAffinity at runtime
Lennart Poettering
lennart at poettering.net
Mon Jan 22 12:45:52 UTC 2018
On So, 21.01.18 17:18, Cecil Westerhof (cldwesterhof at gmail.com) wrote:
> I would like to change the CPUaffinity of a service at runtime. Is this
> possible?
systemd does not expose this currently, even though we'd love to. This
depends on the cpuset cgroup controller in the kernel becoming usable
however, it currently is really broken conceptually on cgroupsv1, and
on cgroupsv2 currently doesn't exist at all...
So yeah, "taskset" is the only way right now.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list