Summary

How can our laptop/mid/netbook survive for a whole day on a single charge? What can we optimize the power consumption of a data center running Ubuntu servers?

Moreever, how can we measure who is consuming all that power.

Also, what is acceptably good, i.e. the level at which chasing the last milli-watt is not worth the cost?

Release Note

Some of the proposed changes might cause regressions if the underlying HW cannot recover from the various power save modes that we might try to force it into.

Rationale

Battery life on Linux is still inferior to Windows running on the same HW. The reason is that there are a lot of use-case-driven optimizations that can be done, but aren't.

User stories

  1. Alice is attending a conference. Typical of conferences, there are very few power sockets. While listening to the sessions, Alice would like to take notes, check email and then close the lid and go back to listening. She repeats this many times during the day. In order to save battery, the machine should suspend/hibernate when the lid is closed and resume quickly when it is opened. The battery should last the whole day on a single charge.
  2. Charlie manages a 1000-seat Linux desktop installation. A majority of his users do not power-off their computer at night because they want an instant-on experience in the morning. Some of the more conscientious users suspend the machine, but it still draws some power.

Assumptions

Design

First, we need to measure what our various components are consuming.

How to measure?

Measuring in different Target states

There are four main states we expect to consider power consumption:

running

suspended

hibernated

power off

Implementation

Ideas to try in Karmic

Selective suspend

UI Changes

Perhaps a Policy Manager UI (a slider?) to allow user to select between Power and Performance. The more the slider is towards Power, the slower it will respond to 'activation'.

Test/Demo Plan

Bug report info

What should we request when a bug of this nature is reported?

This need not be added or completed until the specification is nearing beta.

Unresolved issues

This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.

BoF agenda and discussion


CategorySpec

specs/KernelKarmicImprovePowerMgt (last edited 2009-05-25 07:55:05 by 80)