Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-30-2013, 06:36 AM   #1
LQ Newbie
Registered: Mar 2013
Posts: 5

Rep: Reputation: Disabled
cgroup scheduling


I have a question:
I am using Ubuntu 10.04 with kernel version
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..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cgroup scheduling hello13 Linux - Newbie 1 03-30-2013 08:28 AM
[SOLVED] Cgroup - cgrulesengd - Slackware 13.37 Kernel linuxxer Slackware 0 09-10-2012 09:20 AM
libvirt qemu cgroup problem faicker Linux - Virtualization and Cloud 0 07-19-2012 08:45 AM
cgroup socket(PF_NETLINK, SOCK_DGRAM, 11) = -1 EPROTONOSUPPORT olexandr.klymenko Linux - Kernel 2 12-14-2011 08:34 AM
cgroup olexandr.klymenko Linux - Server 0 12-13-2011 11:29 AM > Forums > Non-*NIX Forums > Programming

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration