LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 03-30-2013, 05:34 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..
 
Old 03-30-2013, 07:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


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
[SOLVED] Cgroup - cgrulesengd - Slackware 13.37 Kernel linuxxer Slackware 0 09-10-2012 08:20 AM
[SOLVED] Cannot move certain kernel threads from root cgroup avinash82 Linux - Kernel 1 07-24-2012 04:29 PM
libvirt qemu cgroup problem faicker Linux - Virtualization and Cloud 0 07-19-2012 07:45 AM
Cannot apply cgroup filters with tc command Centos5 edcorona Red Hat 0 02-29-2012 03:47 PM
cgroup olexandr.klymenko Linux - Server 0 12-13-2011 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:19 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