[slurm-users] Submitting jobs via SystemD

Ondrej Valousek ondrej.valousek at gmail.com
Thu Sep 16 11:31:09 UTC 2021


Well nothing, but I think we sometimes just reinventing wheel.
Some duties can be offloaded to a service which is designed to do this (and
possibly better).

Another benefit is the Cgroups v2 support which we curenly lack.
Ondrej

On Thu, Sep 16, 2021 at 12:02 AM Sid Young <sid.young at gmail.com> wrote:

> Whats wrong with just using the tools as is?
>
>
> Sid Young
>
>
> On Thu, Sep 16, 2021 at 5:54 AM Ondrej Valousek <ondrej.valousek at gmail.com>
> wrote:
>
>> Hi list,
>> I am wondering if there is a plugin allowing to submit jobs via SystemD
>> (I.e. using systemd-run) on exec nodes.
>>
>> I have actually modified SGE sources to offer this option (available at
>> https://github.com/daimh/sge) and it works quite well.
>>
>> The advantages are:
>> - we let systemd to track and manage job (jobs are started as services)
>> so do not have to do it ourselves.
>> - we use systemd to get job stats (cpu/mem usage etc)
>> - we let systemd to manage cgroups for us (which means cgroups v2 can be
>> nicely supported this way)
>>
>> Disadvantages:
>> - it expects SystemD (I.e. Linux only) is installed on all exec clients
>> - minimal version we can live with is SystemD 230, for best results 240
>> or newer.
>>
>> Anyone interested?
>> Cheers,
>> Ondrej
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210916/ae2f7f64/attachment.htm>


More information about the slurm-users mailing list