LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


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

Rep: Reputation: Disabled
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..
 
  


Reply


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 07:28 AM
[SOLVED] Cgroup - cgrulesengd - Slackware 13.37 Kernel linuxxer Slackware 0 09-10-2012 08:20 AM
libvirt qemu cgroup problem faicker Linux - Virtualization and Cloud 0 07-19-2012 07:45 AM
cgroup socket(PF_NETLINK, SOCK_DGRAM, 11) = -1 EPROTONOSUPPORT olexandr.klymenko Linux - Kernel 2 12-14-2011 07:34 AM
cgroup olexandr.klymenko Linux - Server 0 12-13-2011 10:29 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:20 PM.

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