ocaml-cgroups icon indicating copy to clipboard operation
ocaml-cgroups copied to clipboard

Unified Hierarchy

Open bobot opened this issue 9 years ago • 1 comments

What is the plan for ocaml-cgroups concerning the unified hierarchy? Systemd cgroup API?

https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/

bobot avatar May 18 '16 09:05 bobot

From what I understand the new API exposed by systemd comes from a rework of cgroups at the kernel level, which would only allow a single application to handle cgroups (which would usually be systemd). However I can't seem to find documentation of the proposed kernel changes, and wether a 'standard' cgroups handler would be provided (apart from systemd).

So a first question would be are there a lot of people who would want to use cgroups but not go through systemd to do so ? In which case it could make sense for ocaml-cgroups to (more or less) do the job of handling all cgroups (instead of systemd). If not, i.e for most people, cgroups management go through systemd (which I suspect is probably the case), then does it make more sens to have a separate package to access the cgroup API of systemd, or would it be better to have it in a systemd package (for instance https://github.com/juergenhoetzel/ocaml-systemd) ?

Gbury avatar May 18 '16 10:05 Gbury