hi...

assuming we have the config dir working, and packagers can create
cgroups by dumping a file into /etc/cgconfig.conf.d/

how should this work.

letme make the goal clear:
in current debian squeeze when i install the jackd package, i am asked
whether i want to enable RT scheduling for the audio group. if i answer
with yes, a file is dumped into /etc/security/limits.d

---------------------------------------------------------------------
#Provided by the jackd package.
#
# Changes to this file will be preserved.
#
# If you want to enable/disable realtime permissions, run
#
#    dpkg-reconfigure -p high jackd

@audio   -  rtprio     95
@audio   -  memlock    unlimited
#...@audio   -  nice      -19

---------------------------------------------------------------------

before the cgroups, this was sufficient to allow jack apps to access
sched_fifo. now i would like to enable a similar solution for libcgroup.

the problem however is that we can only create a single rtaudio cgroup
because we can not overcommit the bandwidth in several groups.

it seems like we need to advise packagers to create a package containing
the RT cgroup and make all apps needing RT depend on it.

seems a bit dumb to do this. but it probably boils down to this.
anybody got better ideas ?


-- 
torben Hohn

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to