Android App for sched_mc Parameter Tuning

Registered by Tony Mansson

Create an app for manipulating the sched_mc power management parameters.

[zpfeffer, 2011/9/20] Need to find some docs on sched_mc.

Amit Kucheria <email address hidden>
Vincent Guittot <email address hidden>

/sys/devices/system/cpu/sched_mc_power_savings
/sys/devices/system/cpu/sched_smt_power_savings

See Documentation/ABI/testing/sysfs-devices-system-cpu for the sysfs
file details. We're mainly interested in value 2 at the moment.

See also Vincent's wiki page about the gory details if you wish:
https://wiki.linaro.org/WorkingGroups/PowerManagement/Specs/sched_mc

Vincent also has some patches to get savings in the dual-core, single
cluster case (which we don't save in the default configuration). We'll
publish that when it is done.

As a result from Linaro Connect 11.q4 the backlog item regarding a powertop Android App was modified to take advantage of the Open Source app "PowerTutor".

Blueprint information

Status:
Started
Approver:
Zach Pfeffer
Priority:
Medium
Drafter:
Tony Mansson
Direction:
Needs approval
Assignee:
Tony Mansson
Definition:
New
Series goal:
Accepted for 2011q2
Implementation:
Good progress
Milestone target:
milestone icon nearterm
Started by
Tony Mansson

Related branches

Sprints

Whiteboard

[mansson 2011-11-25] Moving forward to 11.12

Headline:
An Android App is available for tuning sched_mc parameters

Acceptance:
An Android app that can update the sched_mc sys nodes is integrated in Android builds

(?)

Work Items

Work items:
Get PowerTop sources mirrored at android.git.linaro.org: DONE
Verify PowerTutor running on a supported board: DONE
Extend Powertutor to have an additional screen with a sched_mc selector: DONE
Verify that the kernel sched_mc is set from the UI on a supported board: TODO
Verify new functionality and no regression on Nexus S: TODO
Add to all manifests: TODO

This blueprint contains Public information 
Everyone can see this information.