[Thinlinc-technical] Using fair share scheduling on ThinLinc agent hosts
Björn Fischer
bf at CeBiTec.Uni-Bielefeld.DE
Wed Oct 24 14:05:24 CEST 2018
Dear subscribers, dear Karl,
>> https://github.com/bjorn-fischer/fss-tools
>>
>> Any feedback will be appreciated.
>
> This is great, thanks for sharing!
after some more research on systemd-cgroup interactions, I tend to
use the approach without the bloated systemd user-manager. The main
disadvantage of that method is that all user sessions remain in
the vsmagent.service tree and will be terminated as soon as the
vsmagent is restarted.
To prevent this, the tl-session process needs to be started as an
independend transient systemd service, e.g. like this:
systemd-run \
--no-ask-password \
--unit=user-$UID-$$ \
-p "Delegate=cpu cpuacct memory" \
-E "TLPREFIX=$TLPREFIX" \
[...]
--slice=system.slice \
/opt/thinlinc/libexec/tl-session <username> ...
So, how can this be done? Seems like there is no config option or
hook for this.
Cheers
Björn
--
Bioinformatics Resource Facility, CeBiTec, Bielefeld University
More information about the Thinlinc-technical
mailing list