Multi Core in Android

114 views
Skip to first unread message

Supriya Lal

unread,
Oct 1, 2014, 5:16:11 AM10/1/14
to android...@googlegroups.com
Hello,

Can you help me with this. How scheduling is done in multi core processors in android and which scheduling algorithm is used. I would also like to know  the disadvatages or advantages of using multicore processors in android. I would like to get some basic knowledge for my research project in android. Thank you

Damjan Velickovski

unread,
Oct 1, 2014, 6:32:26 PM10/1/14
to android...@googlegroups.com
TBH I never actually done any research about this until now and it made me curious, and from what I have found it seems that Android is using a modified CFS scheduler (it makes sense because CFS is the default scheduler of Linux Kernel and Android runs on top of it).

Top two answers from here should get you up and running for more details.

Hope this helps

On Wed, Oct 1, 2014 at 11:16 AM, Supriya Lal <supriy...@gmail.com> wrote:
Hello,

Can you help me with this. How scheduling is done in multi core processors in android and which scheduling algorithm is used. I would also like to know  the disadvatages or advantages of using multicore processors in android. I would like to get some basic knowledge for my research project in android. Thank you

--
--
unsubscribe: android-kerne...@googlegroups.com
website: http://groups.google.com/group/android-kernel
---
You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-kerne...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Glenn Kasten

unread,
Oct 1, 2014, 10:12:52 PM10/1/14
to android...@googlegroups.com
AFAIK Android is using generic Linux scheduler at the kernel level,
but possibly modified or configured by the SoC vendor who supplies the kernel tree and Kconfig files.
I'm not aware of any Android-specific kernel scheduler modifications that
are required to be applied in order for Android to work.
If you do have a reference to those "5 files" mentioned in the stack overflow article,
I would appreciate (I have not heard of them and wonder if that's old information).

At user mode, Android uses generic kernel mechanisms to implement policy.
As someone mentioned in a stack overflow comment, one of the answers
appeared to copy some of its text.  Here are links to originals from the developer site:
Reply all
Reply to author
Forward
0 new messages