Hello Alexey.

On Fri, Aug 30, 2019 at 01:21:50PM +0300, Alexey Perevalov 
<[email protected]> wrote:
> [...] 
> The question is: changing CPUAffinity property (cpuset.cpus) is not yet 
> allowed in systemd API, right? Is it planned?
Note that CPUAffinity= uses the mechanism of sched_setaffinity(2) which
is different from using cpuset controller restrictions (that's also why
you find it in `man systemd.exec` and not it `man
systemd.resource-control`).

IMO, systemd may eventually support the cpuset controller with a
different directive.

> [...] on the RHEL7 both libvirt & kubernetes handle its vm & pods in
> kubepods.slice and machine.slice sub cgroup respectively in
> appropriate cpuset mount point. [...]
The components that do CPU pinning via cpuset controller do that on
their own (relying on no collisions in the cpuset tree).

Michal

Attachment: signature.asc
Description: Digital signature

_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to