[systemd-devel] Current status wrt. realtime services (aka jackd)

Lennart Poettering lennart at poettering.net
Mon Aug 25 17:48:04 PDT 2014


On Tue, 26.08.14 02:02, Ivan Shapovalov (intelfx100 at gmail.com) wrote:

> Hello all,
> 
> is there some replacement of the "ControlGroupAttribute=cpu.rt_runtime_us <somevalue>"
> tunable described at http://www.freedesktop.org/wiki/Software/systemd/MyServiceCantGetRealtime/
> for allowing services like `jackd -R` to run?

Currently there isn't the rt cgroup attrs still haven't been
implemented, because the kernel side interface is so awful, and is about
to get changed.

Best is probably to write these bits out from ExecStartPre= or so, and
use "%r" to get the cgroup path. But it's really nasty, since it isn't
clear what to write in there, and you'd have to iterate it up the tree, manually.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list