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 have some 
> doubt on scheduler's behavior. 
> The difference between Android scheduler and Linux scheduler 
> Scheduler 
> — 5 files — The Android kernel also contains slight changes to the 
> CPU 
> process scheduler and time-keeping algorithms. We don’t know the 
> history of these changes, and the impact was not evident based on a 
> cursory examination. 
> Do you know which are this files? 
> If I understand, Process.THREAD_PRIORITY_DEFAULT or 
> Process.THREAD_PRIORITY_BACKGROUND are 'nice' value. How does Android 
> convert 'nice' value in 'timeslice'? 
> What is the initial value of 'virtual runtime' in Android and how to 
> calculate? 
> In Android, is 'cgroups' use to define scheduling classes? The 
> following application states: (i) Foreground process - Critical 
> priority; (ii) Visible process and Service process - High priority; 
> (iii) Background process and Empty process - Low priority; are three 
> scheduling classes ? 
> Thanks in advance, 
> Deborah 
>

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 have some 
> doubt on scheduler's behavior. 
> The difference between Android scheduler and Linux scheduler 
> Scheduler 
> — 5 files — The Android kernel also contains slight changes to the 
> CPU 
> process scheduler and time-keeping algorithms. We don’t know the 
> history of these changes, and the impact was not evident based on a 
> cursory examination. 
> Do you know which are this files? 
> If I understand, Process.THREAD_PRIORITY_DEFAULT or 
> Process.THREAD_PRIORITY_BACKGROUND are 'nice' value. How does Android 
> convert 'nice' value in 'timeslice'? 
> What is the initial value of 'virtual runtime' in Android and how to 
> calculate? 
> In Android, is 'cgroups' use to define scheduling classes? The 
> following application states: (i) Foreground process - Critical 
> priority; (ii) Visible process and Service process - High priority; 
> (iii) Background process and Empty process - Low priority; are three 
> scheduling classes ? 
> Thanks in advance, 
> Deborah 
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to