big.LITTLE Support in Android at Linux Plumbers conference

115 views
Skip to first unread message

Tim Ansell

unread,
Sep 22, 2015, 7:16:35 AM9/22/15
to schedu...@chromium.org
Hi,

LWN had a write up on the Linux Plumbers Android microconference that was held in Seattle on August 20th at http://lwn.net/Articles/657139/

There was a talk by Todd Kjos & Tim Murray from Google about the "big.LITTLE Support in Android" that is interesting. The slides are below;
http://www.linuxplumbersconf.org/2015/ocw//system/presentations/3399/original/LPC-tkjos.pdf

One interesting slide says;
ActivityManager and cpusets 
* ActivityManager keeps track of foreground and background apps 
* Any app that is considered foreground gets put in foreground cpuset, similar for background

Tim 'mithro' Ansell

Sami Kyostila

unread,
Sep 22, 2015, 8:30:00 AM9/22/15
to Tim Ansell, scheduler-dev
Thanks for sharing. I wonder if that means that all threads of an app will always run on either on big or little cores but never a mix of both?

- Sami

--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAHLUNMzsVMVhP_4cBuCHmCjNMD1NP-HN%3DhZ8FO%2ByAmVZYL-%3DVg%40mail.gmail.com.

Tim Ansell

unread,
Sep 24, 2015, 6:49:05 AM9/24/15
to Sami Kyostila, scheduler-dev
The slides explain;

cpusets in Android 
● Two cpusets set up at init: foreground and background 
● Foreground should contain all cores, background contains a small subset (generally one little core) 
● cpuset configuration is in device-specific init.rc files

Which seems to indicate that background stuff will only run on the little cores and foreground stuff will run on either.

Tim



Yoshi

unread,
Jan 11, 2016, 3:54:05 AM1/11/16
to scheduler-dev, skyo...@chromium.org, mit...@mithis.com
Is the cpuset designed specially for android?
I found that there are only two files (/dev/cpuset/background & /dev/cpuset/foreground/) in Android M which is different from Vanilla's cpuset cgroup.

Yoshi
Reply all
Reply to author
Forward
0 new messages