Apparently there are some works in progress to change the CGROUPS API in the kernel.

Accordingly to

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

they want to allow only 1 process to become a CGROUPS manager.

So systemd is a good candidate. In this case we have to find a way to use the systemd CGROUPS API in OAR:

- /etc/oar/job_resource_manager_cgroups.pl - oarsh_shell

I have seen only a D-BUS API in systemd (no command line) and I didn't find the way to restrict the used cores (cpuset).

Some docs:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/cgroups/unified-hierarchy.txt

http://lwn.net/Articles/601840/

wiki/handle_systemd_api_for_managing_oar_cgroups.txt · Last modified: 2014/08/07 13:32 by capitn
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki