From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Â
LCE12: big.LITTLE Mini-Summit (session two) Blue Sky
1. Vincent Guittot
Linaro Power Management Working Group
Linaro Connect Q4'12
big.LITTLE mini-summit
Session 2 : Bluesky
What would the ideal power-aware kernel do?
2. Vincent Guittot
Linaro Power Management Working Group
3 Topics
â Correlate scheduler with C-state & P-state
â Scale invariance of a load
â How to differentiate user-space tasks
3. Vincent Guittot
Linaro Power Management Working Group
Correlate with C-state and P-state
â C-state can make the difference
â The migration on a powered down cluster is costly
900”s
off
migrate and
wake up task
on CPU0
schedule
task on
CPU0
wake up
4. Vincent Guittot
Linaro Power Management Working Group
Correlation with C-state and P-state
â C-State can make the difference
â The migration on a shallow C-state is efficient
off
76”s
migrate &
wake up task
on CPU0
schedule
task on
CPU0
wfi
5. Vincent Guittot
Linaro Power Management Working Group
Correlate with C-state and P-state
â Scheduler can break cpufreq statistic
â Migration moves the load
CPU0
CPU1
OnDemand CPU Load statistic
6. Vincent Guittot
Linaro Power Management Working Group
Scaling invariance
â Sysbench tests on TC2
â Linearity with P-State
â CPU test results are linear
â Memory test results are not linear (8% better)
â Linearity between micro-architecture
â CPU test results : A15 ~ 2 x A7
â Memory test results : A15 <= A7
7. Vincent Guittot
Linaro Power Management Working Group
Scaling invariance
Freq = x
Freq = 2x
Scale invariant load trackingWall clock based load tracking
Freq = 2x
Freq = x
Work achieved
Load
[1]
8. Vincent Guittot
Linaro Power Management Working Group
Differentiate user-space tasks
â Cgroup
â Cpuset
â Nice priority
â Foreground / Background
â Others âŠ
â Qualify a task with resource reservation
â ⊠like deadline scheduler
9. Vincent Guittot
Linaro Power Management Working Group
Reference
â [1] : big.LITTLE MP Scheduler/OSPM update on TC2