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

2014-08-26 Thread Ivan Shapovalov
On Tuesday 26 August 2014 at 02:48:04, Lennart Poettering wrote:
 On Tue, 26.08.14 02:02, Ivan Shapovalov (intelfx...@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.

That's pretty unfortunate. Is there any ETA for this or a checklist of what
has to be done?

-- 
Ivan Shapovalov / intelfx /

signature.asc
Description: This is a digitally signed message part.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2014-08-26 Thread Lennart Poettering
On Tue, 26.08.14 23:55, Ivan Shapovalov (intelfx...@gmail.com) wrote:

 On Tuesday 26 August 2014 at 02:48:04, Lennart Poettering wrote:  
  On Tue, 26.08.14 02:02, Ivan Shapovalov (intelfx...@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.
 
 That's pretty unfortunate. Is there any ETA for this or a checklist of what
 has to be done?

Tejun has been working on the kernel side to clean up the controllers
one-by-one to expose sane behaviour to userspace. There isn#t really an
ETA on that...

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2014-08-25 Thread Ivan Shapovalov
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?

-- 
Ivan Shapovalov / intelfx /

signature.asc
Description: This is a digitally signed message part.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel