On Tue, 23 Oct 2018 at 09:57, Michał Sawicz <firstname.lastname@example.org> wrote:
> Hey all,
> Is there a recommended way of setting up cgroups on Ubuntu? I see we
> don't have `cgrulesengd` set up as a service, so is just running
> `cgconfigparser` on boot and using `cgexec` the recommended approach?
> Or even dealing directly with the cgroups filesystem?
This is a very low-level question, which feels like one is jumping to
conclusions/solution without stating the problem/user-story/goal. Can
you elaborate and start from the beginning and what prompted you to
All system, user, and container processes on Ubuntu are segregated
into cgroups with a default equal balancing of resources. And one can
further adjust resource allocations using service, slice, scope
settings. Or use delegation for further management. There are examples
of using all of those things by various things in Ubuntu by default...
but it's hard to point you at something specific, without at all
knowing what is your actual use case.
Also, I'm not sure if you are trying to escape default allocation and
get a bigger slice, or on the contrary further sub-divide the
resources your process was given.
ubuntu-devel mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel