Kernel Power Management
TBD
Blueprint information
- Status:
- Complete
- Approver:
- Pete Graner
- Priority:
- High
- Drafter:
- Colin Ian King
- Direction:
- Approved
- Assignee:
- Colin Ian King
- Definition:
- Approved
- Series goal:
- Accepted for precise
- Implementation:
- Implemented
- Milestone target:
- ubuntu-12.04
- Started by
- Andy Whitcroft
- Completed by
- Colin Ian King
Whiteboard
Work items for ubuntu-12.04:
[colin-king] define a testing methodology: DONE
[colin-king] Write ACPI battery power measuring tool for laptop users (git://
[colin-king] Tools/Methodology to graph Fluke power readings: DONE
[colin-king] Client test framework + tests: DONE
[colin-king] Calibrate ACPI battery readings vs read power readings (http://
[colin-king] 32, 32-pae, 64 bit comparisons: DONE
[colin-king] Measure/validate all existing PM options: (http://
[colin-king] Crowd source PM power.d improvements: https:/
[colin-king] Look at power of BlueTooth off options when in S3 (http://
[colin-king] Measure power consumption of mouse events, should we bother to reduce them: see http://
[colin-king] Measure different backgrounds + i915 framebuffer compression: (http://
[colin-king] Measure black/white pixels on blanked screen: (http://
[colin-king] Measure CPU config tweaks: (http://
[colin-king] Investigate Intel power policy mode (aka MSR_IA32_
[colin-king] Look at power top recommendations, how much they save, are they reasonable to turn on by default: (http://
[colin-king] Compare UEFI vs BIOS (low priority) (http://
[colin-king] Identify rogue tasks (wakeups) on a default install (http://
[colin-king] Identify rogue tasks (CPU utilization) on a default install (http://
[colin-king] Measure Desktop power consumption, Unity 2D vs 3D, etc (http://
[colin-king] Sanity check HDD wakeups, when, how, frequency, etc: (http://
[colin-king] Crowd source + measure PCIe ASPM fixes (https:/
[colin-king] Investigate Phoronix Power tests: DONE
[colin-king] Measure power consumption over a range of releases (http://
[colin-king] Measure power consumption over Unity, Gnome Classic, Gnome Classic no-effects (http://
[colin-king] Investigate power consumed by backlight (http://
[colin-king] Compare Win7 to Ubuntu: (http://
[colin-king] Measure i915 and drm power saving options: (http://
[colin-king] Write documentation on how to find misbehaving applications: (https:/
[colin-king] Investigate LVDS down clocking (http://
[colin-king] hdparm spin down time setting (http://
[colin-king] IRQ balancing: POSTPONED
PM Braindump:
- policy
- policy AC/!AC does it still make sense for each option
- is that enough?
* accurately calibrate a set of battery power measurements via /proc/acpi/battery and see how reliably these are
* investigate Intel power policy mode
* identify rogue tasks
* crowd sourcing measurements + improvements
* mouse events - can they be reduced? (granularity)
* bluetooth turn off, and when in S3/S4
* flight mode - power nap
* HDD busy
identify - what's causing disk wakeups
why? frequency? what's doing that?
* powertop recommendations:
Look at dumb power top issues like PCI settings being off
e.g.power top reports we are in BAD mode.
Can we enable good w/o causing unreliability?
* Compare UEFI verses BIOS on like for like tests
* Measure black verses white pixels on screen blank
* 32, 32-pae vs 64 bit
Existing PM Options: (see /usr/lib/
- APM: enabled on all disks
- anacron: disabled
- wol: disabled
- allows PHY to be powered down
- hal: disable CD poll
- halsectomy ???
- intel audio power save
- is this enabled?
- is there a non intel equivalent?
- ext3 commit timeout
- is there a btrfs equivalent
- laptop-mode
- attempts to batch writes
- pcie_aspm
- more power conservative mode
- block device read ahead
- ???
- Sata link management
- ALPM can we turn that back on?
- scheduler placement
- wireless power savings
- reducing transmit power etc
- XFS buffering
Other options:
- audio power save, can we start using this
- USB power saving?
- video settings
- framebuffer compression 'boundaries'
- clock settings
- LCD set to white saves power over black
- can we measure this, use with? dpms
- off the shelf machines with issues
- review phoronix stuff
Powertop - broken?
Investigate:
- suspended not turning everything off
- idle power consumption
- natty/oneiric (virgin install, just kernel)
- daily iso comparisons
- hand off to QA for QQ
- identifying power suckers
- are there other things we can switch
- power policy in the processor (MSR)
- lesswatts.org recommendations
Work Items
Dependency tree
* Blueprints in grey have been implemented.