Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cgroups and jack-audio-connection-kit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Sun Feb 03, 2013 3:52 pm    Post subject: cgroups and jack-audio-connection-kit Reply with quote

Hi, I want to use RT_GROUP_SCHED with jack-audio-connection-kit.

From the crashed jack wiki, I done this configuration:

Code:
#namespace {
#   cpu = /;
#}

group rtaudio {
   perm {
      task {
         uid = root;
         gid = audio;
      }
      admin {
         uid = root;
         gid = root;
      }
   }
   cpu {
      cpu.rt_runtime_us = 900000;
   }
}


CONFIG_CGROUPS, CONFIG_CGROUPS_SCHED and CONFIG_RT_GROUP_SCHED are the only cgroups enabled options in my kernel for now.

As this machine is also a desktop and I use it with portage, this seam to be a good idea to also enable CONFIG_SCHED_AUTOGROUP. Will it work together with my cgroups config?

And do I have to change something to my cgroups config?
_________________
"Confirm You are a robot." - the singularity
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Sun Feb 03, 2013 5:16 pm    Post subject: Reply with quote

I should look into what you're trying to do to further educate myself, but in the meantime, maybe the link in my sig to Gentoo Studio, and this page in particular, might be helpful.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Sun Feb 03, 2013 6:29 pm    Post subject: Reply with quote

Thanks for the link. The setting described on Gentoo Studio will work with the rt-sources.

What I want to do is to use the gentoo-sources to archive about the same result, and for that I need CONFIG_RT_GROUP_SCHED into the kernel. I wrote something about this on the pro-audio overlay wiki, but I want to know if I can ameliorate my setting.
_________________
"Confirm You are a robot." - the singularity
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum