Re: Relationship between cgroup hierarchy and slice names

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

 



On Wed, May 11, 2022 at 07:34:14PM -0400, Yeongjin Kwon <yeongjinkwon@xxxxxxxxx> wrote:
> I was trying to override the cgroup hierarchy for the units made by
> the KDE plasma desktop environment to better implement resource
> control of the desktop environment and applications.

Just for the reference, there's the draft [1].
Ideally, most DE processes would end up under the user@$UID.service
subtree (there's some indefinity around what should remain under the
initial session-*.scope).

> I thought that by having all of these units under one
> slice that was reserved for the desktop environment, it would be
> easier to add resource protections (memory, cpu, etc.) to the desktop
> environment as a whole.

I don't know how far KDE advanced with cgrouping but since it's still
WIP, you may not see all DE processes under their intended cgroups. You
may pursue this with KDE.

Also, if you have a use case that cannot be mapped to the structure in
[1], feel free to suggest a modification, it's in the git repo [2] ;-)

HTH,
Michal

[1] https://systemd.io/DESKTOP_ENVIRONMENTS/
[2] https://github.com/systemd/systemd/blob/main/docs/DESKTOP_ENVIRONMENTS.md



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

  Powered by Linux