Hi,

do keep in mind that more mechanisms are used like normal process
priorities,"real" time priorities for audio and cgroups to separate
foreground and background tasks so it is all not that simple.

You might want to check/fix
https://github.com/keesj/gomo/wiki/AndroidScheduling

Greetings

On Mon, Aug 27, 2012 at 6:08 PM, Glenn Kasten <gkas...@android.com> wrote:
> Yes, ordinary Android app threads use CFS.  To be pedantic:
> SCHED_NORMAL/SCHED_OTHER is the scheduler policy name in the API
> sched_setscheduler(2), and CFS is the name of the kernel implementation.
>
> On Friday, August 24, 2012 4:10:15 AM UTC-7, Jack Harvard wrote:
>>
>> But what's the default one, it's CFS?
>>
>> Jack Harvard
>>
>>
>> On Fri, Aug 24, 2012 at 5:29 AM, Glenn Kasten <gka...@android.com> wrote:
>> > Android OS mostly does not dictate which exact kernel version to use, as
>> > long as the kernel has the necessary Android-specific kernel extensions
>> > such
>> > as those for binder driver etc.  Android OS uses the generic primitives
>> > of
>> > the Linux kernel scheduler and builds on them at user level. That
>> > includes
>> > CFS (aka SCHED_NORMAL or SCHED_OTHER) and the other standard scheduling
>> > policies.
>> >
>> >
>> > On Wednesday, August 22, 2012 8:12:51 PM UTC-7, Ruijia Sun wrote:
>> >>
>> >> Hi all,
>> >> Does any one know the current ICS kernel  scheduler algorithm?  Is it
>> >> still CFS or  BFS now?
>> >
>> > --
>> > unsubscribe: android-kerne...@googlegroups.com
>> > website: http://groups.google.com/group/android-kernel
>
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to