LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   cgroup scheduling (https://www.linuxquestions.org/questions/programming-9/cgroup-scheduling-4175456132/)

hello13 03-30-2013 05:36 AM

cgroup scheduling
 
Hello

I have a question:
I am using Ubuntu 10.04 with kernel version 2.6.34.14.
On this system I try to find out how the cgroup scheduling based on the cpu subsystem works.
I am using the default period and runtime values for both CFS and RT scheduling.
I have searched the whole kernel/scheduler for the place where cgroups are scheduled based on these values but I cannot find it.
I know that the values for CFS=shares and for RT=rt_runtime & rt_period are all stored in the task_group structure.
I want to know where for example rt_period is used to schedule cgroups on.
I have searched the whole interrupt system tick handler, but I can only find how the current task is scheduled by the CFS scheduler or RT scheduler.
Not how the cgroups are scheduled based on their cpu subsystem parameters.
Can you maybe tell me more about how this works and where to find this in which functions?

Thanks in advance..


All times are GMT -5. The time now is 12:44 AM.