[android-kernel] Re: How CFS work in Android? Difference from Linux

2012-03-23 Thread Deborah
Thanks Gaggery! On Mar 20, 2:58 am, Tsai Gaggery wrote: > I think the chapter 2 of Professional Linux Kernel Architecture will > be helpful to understand the CFS. It not only describes the concept > but source code exploring. > > 2012/3/20 Glenn Kasten : > > > > > > > > > > > I'm sorry but generi

Re: [android-kernel] Re: How CFS work in Android? Difference from Linux

2012-03-20 Thread Tsai Gaggery
I think the chapter 2 of Professional Linux Kernel Architecture will be helpful to understand the CFS. It not only describes the concept but source code exploring. 2012/3/20 Glenn Kasten : > I'm sorry but generic Linux is beyond the scope of this group. I suggest > doing a web search for the speci

Re: [android-kernel] Re: How CFS work in Android? Difference from Linux

2012-03-20 Thread David Ahern
On 3/19/12 11:22 AM, Deborah wrote: Glenn thanks for your reply! I'm really confused. Could you explain how the CFS work? Does it divide the CPU time into epochs? In a single epoch, has every process a specified time quantum that is computed at the beginning of each epoch? If yes, is 'virtual ru

Re: [android-kernel] Re: How CFS work in Android? Difference from Linux

2012-03-20 Thread San Mehat
On Tue, Mar 20, 2012 at 5:46 AM, Deborah wrote: > Thanks, but maybe the only solution is to read the source code!!! > Careful you don't fall in... > Regards, > Deborah > > On Mar 20, 2:43 am, Glenn Kasten wrote: > > I'm sorry but generic Linux is beyond the scope of this group. I suggest > >

[android-kernel] Re: How CFS work in Android? Difference from Linux

2012-03-20 Thread Deborah
Thanks, but maybe the only solution is to read the source code!!! Regards, Deborah On Mar 20, 2:43 am, Glenn Kasten wrote: > I'm sorry but generic Linux is beyond the scope of this group. I suggest > doing a web search for the specific topics you're interested in.  However, > here are a few links

[android-kernel] Re: How CFS work in Android? Difference from Linux

2012-03-19 Thread Glenn Kasten
I'm sorry but generic Linux is beyond the scope of this group. I suggest doing a web search for the specific topics you're interested in. However, here are a few links to help you get started: http://en.wikipedia.org/wiki/Completely_Fair_Scheduler http://www.ibm.com/developerworks/linux/libr

[android-kernel] Re: How CFS work in Android? Difference from Linux

2012-03-19 Thread Deborah
Glenn thanks for your reply! I'm really confused. Could you explain how the CFS work? Does it divide the CPU time into epochs? In a single epoch, has every process a specified time quantum that is computed at the beginning of each epoch? If yes, is 'virtual runtime' set to zero in each epoch or is

[android-kernel] Re: How CFS work in Android? Difference from Linux

2012-03-19 Thread Glenn Kasten
Threads voluntarily assign themselves a nice priority within the permitted range, and activity manager assigns threads of an app process to an appropriate cpuctl cgroup. On Friday, March 16, 2012 6:38:57 AM UTC-7, Deborah wrote: > > I am trying to get a better understanding on ANDROID CFS. I ha