Re: set-property CPUAffinity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Di, 03.09.19 19:49, Alexey Perevalov (a.perevalov@xxxxxxxxxxx) wrote:

> Hello Michal,
>
> Thank you for response!
>
> On 9/3/19 6:03 PM, Michal Koutný wrote:
> > Hello Alexey.
> >
> > On Fri, Aug 30, 2019 at 01:21:50PM +0300, Alexey Perevalov <a.perevalov@xxxxxxxxxxx> 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.
>
> Does it mean community open for enhancement in this direction?
>
> Looks like current work on issues and enhancements are doing in github,
> so I can create a RFE.

Old cgroupsv1 cpuset was a horrible, broken interface which is why we
are not supporting it. On cgroupsv2 things are better, and since
047f5d63d7a1ab75073f8485e2f9b550d25b0772 we now have support for it in
systemd.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux